TFLite Micro - Target ESP32

Skip to first unread message

mono app

May 14, 2022, 11:22:44 AM5/14/22
to SIG Micro
Hello all,

I would like to run following example

based on current Tensorflow Lite github project.
I was able to find that the project was moved to a standalone one under:

I see the project is tested for ESP32 devices, but I am not able to find ESP Makefile in the project. 
Could somebody please guide me here?

Thanks in advance.

Sunil Bobbala

Mar 2, 2023, 12:29:08 AM3/2/23
to SIG Micro,
Hi Mono, 

I am doing the same project using ESp-EYE platform. However, having trouble in compiling the program 

pls see below errors. Could you help me on this? Thanks in advance. 

o$ make -f tensorflow/lite/micro/tools/make/Makefile  OPTIMIZED_KERNEL_DIR="portable_o
ptimized" generate_non_kernel_projects
tensorflow/lite/micro/tools/make/downloads/flatbuffers already exists, skipping the download.
tensorflow/lite/micro/tools/make/downloads/kissfft already exists, skipping the download.
tensorflow/lite/micro/tools/make/downloads/pigweed already exists, skipping the download.
tensorflow/lite/micro/tools/make/ line 35: [: tensorflow/lite/micro/kernels/portable_o: binary operator expected
tensorflow/lite/micro/tools/make/Makefile:537: tensorflow/lite/micro/tools/make/ext_libs/portable_o No such file or directory
make: *** No rule to make target 'tensorflow/lite/micro/tools/make/ext_libs/portable_o'.  Stop.

Måns Nilsson

Mar 2, 2023, 3:02:59 AM3/2/23
to Sunil Bobbala, SIG Micro,
Hi all,

I see no portable_optimized directory under tensorflow/lite/micro/kernel. Is that something new?

I see the following directories, where testdata and test_data_generation are no optimized kernel dirs.
arc_mli/              cmsis_nn/             testdata/             vexriscv/            
ceva/                 ethos_u/              test_data_generation/ xtensa/

OPTIMIZED_KERNEL_DIR should point to one of these directories, for example OPTIMIZED_KERNEL_DIR=cmsis_nn.


Från: Sunil Bobbala <>
Skickat: den 2 mars 2023 06:29
Till: SIG Micro <>
Kopia: <>
Ämne: Re: TFLite Micro - Target ESP32
You received this message because you are subscribed to the Google Groups "SIG Micro" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
Reply all
Reply to author
0 new messages