STM32 Tensorflow Lite Micro Library Compilation

I am trying to use the tensorflow lite micro repository for an STM32 project but I am getting many errors for these two files and cannot find them. I am unsure why they are not included, or are there other steps to generate them? I specifically added the library path shown below.

I’ve looked for other tutorials but they are already deprecated, even after 3-4 years, so it is difficult to find updated documentation.

Any help is welcome.

fatal error: fixedpoint/fixedpoint.h: No such file or directory
fatal error: flatbuffers/flatbuffers.h: No such file or directory

Hi @tomz0840

Which tutorial are you following now exactly?

Have you downloaded the X-CUBE-AI package? After a quick search, I found:

X-CUBE-AI\10.0.0\Middlewares\tensorflow\third_party\gemmlowp\fixedpoint\fixedpoint.h

and

X-CUBE-AI\10.0.0\Middlewares\tensorflow\third_party\flatbuffers\include\flatbuffers\flatbuffers.h

1 Like

I downloaded X-CUBE-AI and it seems like a better way for embedded AI development, so I deleted the TFlite library.

I’ll read the documentation and learn how to use this library instead.

Thank you.

1 Like