Skip to content

Commit

Permalink
mlearning/tflite-micro: fix build break if enable cmsis-nn and neon
Browse files Browse the repository at this point in the history
Signed-off-by: chao an <[email protected]>
  • Loading branch information
anchao authored and xiaoxiang781216 committed Dec 18, 2024
1 parent 231827e commit d6f6f5c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions mlearning/tflite-micro/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand All @@ -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()

# ############################################################################
Expand Down

0 comments on commit d6f6f5c

Please sign in to comment.