Tensor Lite Micro Package Build issue

Created at 2025-03-10 18:39:15

Hi @ QingChuanWS,

I am currently working on the RT-Thread Vision Board(cortex M85) Camera project. We are trying to run an open-source ML model ( MTTS-CAN) using the TensorFlow Lite Micro (TFLM) package on this board.

We have added the latest TFLM package to our project and tried building with both:

  • (✔) Using TensorFlow Lite reference operations
  • (✔) Using TensorFlow Lite CMSIS NN operations

However, during the build process, we are facing the following errors:

../packages/TensorflowLiteMicro-latest/tensorflow/lite/micro/tools/make/downloads/cmsis/CMSIS/NN/Source/BasicMathFunctions/arm_elementwise_add_s8.c:35:10: fatal error: arm_helium_utils.h: No such file or directory
   35 | #include "arm_helium_utils.h"
      |          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [packages/TensorflowLiteMicro-latest/tensorflow/lite/micro/tools/make/downloads/cmsis/CMSIS/NN/Source/BasicMathFunctions/subdir.mk:21: packages/TensorflowLiteMicro-latest/tensorflow/lite/micro/tools/make/downloads/cmsis/CMSIS/NN/Source/BasicMathFunctions/arm_elementwise_add_s8.o] Error 1
make: *** Waiting for unfinished jobs....
"make -j8 all" terminated with exit code 2. Build might be incomplete.

System Details

  • Board: RT-Thread Vision Board
  • Processor: (Specify whether Cortex-M85)
  • RT-Thread Version: (Run pkgs --list to get the version)
  • TFLM Version: (Latest from RT-Thread package manager)

    Steps We've Tried

  1. Verified CMSIS-NN is installed (pkgs --update)
  2. Tested with older versions(v1.0.1, v1.0.0.0) of TFLM but build got failed for those also.

Despite these, we are still getting errors. Could you please provide any insights or suggest a fix?

Thanks!

更多

Follower
0
Views
38
0 Answer
There is no answer, come and add the answer

Write Your Answer

Log in to publish your answer,Click here to log in.

Create
Post

Share