From bc1d26dc2190434b7080f0a20cc9930c42aa4798 Mon Sep 17 00:00:00 2001 From: chao an Date: Thu, 19 Dec 2024 00:12:36 +0800 Subject: [PATCH] mlearning/tflite-micro: fix build break if enable cmsis-nn and neon Signed-off-by: chao an --- mlearning/tflite-micro/CMakeLists.txt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/mlearning/tflite-micro/CMakeLists.txt b/mlearning/tflite-micro/CMakeLists.txt index eb5221ec4ef..0c072a88a07 100644 --- a/mlearning/tflite-micro/CMakeLists.txt +++ b/mlearning/tflite-micro/CMakeLists.txt @@ -136,10 +136,10 @@ if(CONFIG_TFLITEMICRO) list( APPEND TFLITE_MICRO_SRCS - ${TFLITE_MICRO_DIR}/operators/neon/arm_convolve_s8.c - ${TFLITE_MICRO_DIR}/operators/neon/arm_nn_mat_mult_kernel_s8_s16.c - ${TFLITE_MICRO_DIR}/operators/neon/arm_q7_to_q15_with_offset.c - ${TFLITE_MICRO_DIR}/operators/neon/arm_elementwise_add_s8.c) + ${CMAKE_CURRENT_LIST_DIR}/operators/neon/arm_convolve_s8.c + ${CMAKE_CURRENT_LIST_DIR}/operators/neon/arm_nn_mat_mult_kernel_s8_s16.c + ${CMAKE_CURRENT_LIST_DIR}/operators/neon/arm_q7_to_q15_with_offset.c + ${CMAKE_CURRENT_LIST_DIR}/operators/neon/arm_elementwise_add_s8.c) endif() endif() @@ -157,6 +157,7 @@ if(CONFIG_TFLITEMICRO) if(CONFIG_MLEARNING_CMSIS_NN) list(APPEND INCDIR ${NUTTX_APPS_DIR}/mlearning/cmsis-nn/cmsis-nn) + list(APPEND INCDIR ${NUTTX_APPS_DIR}/mlearning/cmsis-nn/cmsis-nn/Include) endif() # ############################################################################