mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-16 22:21:21 +00:00
stm32-f4discovery-cc256x: switch to float-abi=softfp and link to PDM filter
This commit is contained in:
parent
4e871e86c3
commit
524ed2b259
@ -207,7 +207,7 @@ CPU = -mcpu=cortex-m4
|
||||
FPU = -mfpu=fpv4-sp-d16
|
||||
|
||||
# float-abi
|
||||
FLOAT-ABI = -mfloat-abi=hard
|
||||
FLOAT-ABI = -mfloat-abi=softfp
|
||||
|
||||
# mcu
|
||||
MCU = $(CPU) -mthumb $(FPU) $(FLOAT-ABI)
|
||||
@ -249,6 +249,7 @@ C_INCLUDES += -I${BTSTACK_ROOT}/3rd-party/yxml
|
||||
C_INCLUDES += -I${BTSTACK_ROOT}/3rd-party/segger-rtt
|
||||
C_INCLUDES += -I${BTSTACK_ROOT}/platform/embedded
|
||||
C_INCLUDES += -I${BTSTACK_ROOT}/chipset/cc256x
|
||||
C_INCLUDES += -I../pdm
|
||||
C_INCLUDES += -I../src
|
||||
C_INCLUDES += -I../src/bsp
|
||||
C_INCLUDES += -I../eclipse-template/include
|
||||
@ -277,8 +278,8 @@ CFLAGS += -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)"
|
||||
LDSCRIPT = STM32F407VGTx_FLASH.ld
|
||||
|
||||
# libraries
|
||||
LIBS = -lc -lm -lnosys
|
||||
LIBDIR =
|
||||
LIBS = -lPDMFilter_CM4_GCC -lc -lm -lnosys
|
||||
LIBDIR = -L../pdm
|
||||
LDFLAGS = $(MCU) -specs=nano.specs -T$(LDSCRIPT) $(LIBDIR) $(LIBS) -Wl,-Map=$(BUILD_DIR)/$(TARGET).map,--cref -Wl,--gc-sections
|
||||
|
||||
# default action: build all
|
||||
|
Loading…
Reference in New Issue
Block a user