Skip to content

Commit ae2d1e4

Browse files
committed
fix: add missing source in DSP for handsup
1 parent 7171d59 commit ae2d1e4

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

Firmware/Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,10 +170,13 @@ C_SOURCES += $(wildcard $(DSP_LIB_PATH)/Source/BasicMathFunctions/arm_*.c) \
170170
$(wildcard $(DSP_LIB_PATH)/Source/FastMathFunctions/arm_*.c) \
171171
$(wildcard $(DSP_LIB_PATH)/Source/FilteringFunctions/arm_*.c) \
172172
$(wildcard $(DSP_LIB_PATH)/Source/ControllerFunctions/arm_*.c) \
173-
$(wildcard $(DSP_LIB_PATH)/Source/InterpolationFunctions/arm_*.c)
173+
$(wildcard $(DSP_LIB_PATH)/Source/InterpolationFunctions/arm_*.c) \
174+
$(wildcard $(DSP_LIB_PATH)/Source/StatisticsFunctions/arm_*.c)
174175

175176
# Filter out unnecessary or incompatible files
176177
C_SOURCES := $(filter-out %_f16.c %_f64.c %_mve.c, $(C_SOURCES))
178+
179+
177180
endif
178181

179182
# compile gcc flags
@@ -203,7 +206,6 @@ endif
203206

204207
# libraries
205208
LIBS = -lc -lm -lnosys
206-
LIBDIR =
207209
LDFLAGS = $(MCU) --specs=standard_c_nano_cpp.specs -u _printf_float -Wl,--start-group -lc -lm -lstdc++ -lsupc++ -Wl,--end-group -T$(LDSCRIPT) $(LIBDIR) $(LIBS) -Wl,-Map=$(BUILD_DIR)/$(TARGET).map,--cref -Wl,--gc-sections -static
208210
# -mcpu=cortex-m4 -T"C:\Users\zhouli\Desktop\my-openffb\OpenFFBoard\Firmware\Targets\F407VG\STM32F407VGTX_FLASH.ld" --specs=nosys.specs -Wl,-Map="OpenFFBoard_F407VG.map" -Wl,--cref -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -u _printf_float -Wl,--start-group -lc -lm -lstdc++ -lsupc++ -Wl,--end-group
209211

0 commit comments

Comments
 (0)