Skip to content

Commit d99bfe1

Browse files
committed
Fix build issues in micro_speech project
* Remove non-existant `arm_cmplx_mag_squared_q10p6.c/h` from "tensorflow/lite/micro/examples/micro_speech/CMSIS/Makefile.inc", which cause the build of micro_speech project to fail. See also: tensorflow#36444 * Remove unnecessary `third_party/CMSIS_ext/README.md` from `CMSIS_PREPROCESSOR_HDRS` in "tensorflow/lite/micro/examples/micro_speech/CMSIS/Makefile.inc", which cause the build of micro_speech project to fail. * Update MBED version to mbed-os-6.0.0-alpha-3: this fixes the issues related to `arm_mult_q15.c` in the ARM math library when building the micro_speech project. See also: 1. tensorflow#37930 2. ARMmbed/mbed-os#12055
1 parent 0b4f915 commit d99bfe1

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

tensorflow/lite/micro/examples/micro_speech/CMSIS/Makefile.inc

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,11 @@ ifneq ($(filter CMSIS,$(ALL_TAGS)),)
1212

1313
CMSIS_PREPROCESSOR_SRCS := \
1414
tensorflow/lite/micro/examples/micro_speech/CMSIS/hanning.cc \
15-
tensorflow/lite/micro/examples/micro_speech/CMSIS/sin_1k.cc \
15+
tensorflow/lite/micro/examples/micro_speech/CMSIS/sin_1k.cc
1616

1717
CMSIS_PREPROCESSOR_HDRS := \
1818
tensorflow/lite/micro/examples/micro_speech/CMSIS/hanning.h \
19-
tensorflow/lite/micro/examples/micro_speech/CMSIS/sin_1k.h \
20-
third_party/CMSIS_ext/README.md \
21-
third_party/CMSIS_ext/arm_cmplx_mag_squared_q10p6.h
19+
tensorflow/lite/micro/examples/micro_speech/CMSIS/sin_1k.h
2220

2321
PREPROCESSOR_TEST_SRCS += $(CMSIS_PREPROCESSOR_SRCS)
2422
PREPROCESSOR_TEST_HDRS += $(CMSIS_PREPROCESSOR_HDRS)
@@ -33,7 +31,6 @@ ifneq ($(filter CMSIS,$(ALL_TAGS)),)
3331
MICRO_SPEECH_HDRS += $(CMSIS_PREPROCESSOR_HDRS)
3432

3533
THIRD_PARTY_CC_SRCS += \
36-
$(MAKEFILE_DIR)/downloads/CMSIS_ext/arm_cmplx_mag_squared_q10p6.c \
3734
$(MAKEFILE_DIR)/downloads/cmsis/CMSIS/DSP/Source/BasicMathFunctions/arm_mult_q15.c \
3835
$(MAKEFILE_DIR)/downloads/cmsis/CMSIS/DSP/Source/TransformFunctions/arm_bitreversal.c \
3936
$(MAKEFILE_DIR)/downloads/cmsis/CMSIS/DSP/Source/TransformFunctions/arm_rfft_init_q15.c \
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
https://github.com/ARMmbed/mbed-os/#8ef742a49c1682f9ef3ba50148b871e38c3866cc
1+
https://github.com/ARMmbed/mbed-os/#532654ebb31c7bf79601042a6fa976b85532ef47

0 commit comments

Comments
 (0)