Search code examples
ccompiler-errorsmicrocontrollertensorflow-litekeil

Tensorflow Lite Micro package in Keil custom MCU platform


I have tried to use tflite default package in Keil MDK environment, but I am facing some compiling problems.

project code

My Device: Armv8-M Mainline based device

My TFlite runtime environment:

runtime environment

There are hundreds of errors existed.

error type1

error: use of undeclared identifier 'EAFNOSUPPORT'/.../...

error type2

error: use of undeclared identifier 'errno'

What's maybe going wrong?

I tried to compile the package in an empty project with the same environment settings, and it could be compiled instead of such as errors.


Solution

  • I solved the problem by disabling the redefined symbol in ROM.lib file.