From 5cb1cc7ac7acdda010fd55da03ca02849575b9b7 Mon Sep 17 00:00:00 2001 From: chao an Date: Fri, 29 Nov 2024 14:46:23 +0800 Subject: [PATCH] mlearning/tflite-micro: correct include patch of support library 1. correct include patch of support library 2. add flatbuffers include path Signed-off-by: chao an --- mlearning/tflite-micro/CMakeLists.txt | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/mlearning/tflite-micro/CMakeLists.txt b/mlearning/tflite-micro/CMakeLists.txt index c5da0ea2d..474f165d6 100644 --- a/mlearning/tflite-micro/CMakeLists.txt +++ b/mlearning/tflite-micro/CMakeLists.txt @@ -136,13 +136,15 @@ if(CONFIG_TFLITEMICRO) # ############################################################################ set(INCDIR - ${CMAKE_BINARY_DIR}/apps/math/gemmlowp/gemmlowp - ${CMAKE_BINARY_DIR}/apps/math/ruy/ruy - ${CMAKE_BINARY_DIR}/apps/math/kissfft/kissfft - ${CMAKE_BINARY_DIR}/apps/math/tflite-micro/tflite-micro) + ${NUTTX_APPS_DIR}/math/gemmlowp/gemmlowp + ${NUTTX_APPS_DIR}/math/ruy/ruy + ${NUTTX_APPS_DIR}/math/kissfft/kissfft + ${NUTTX_APPS_DIR}/math/kissfft/kissfft + ${NUTTX_APPS_DIR}/mlearning/tflite-micro/tflite-micro + ${NUTTX_APPS_DIR}/system/flatbuffers/flatbuffers/include) if(CONFIG_MLEARNING_CMSIS_NN) - list(APPEND INCDIR ${CMAKE_BINARY_DIR}/apps/mlearning/cmsis-nn/cmsis-nn) + list(APPEND INCDIR ${NUTTX_APPS_DIR}/apps/mlearning/cmsis-nn/cmsis-nn) endif() # ############################################################################