stm32f7: use DEBUG_FLAGS like other targets
Consistency with other targets wherever possible.
This commit is contained in:
parent
6678da39bd
commit
2c0e71b3c7
@ -29,7 +29,7 @@ AR = $(PREFIX)-ar
|
|||||||
# STM32F7 only supports single precision FPU
|
# STM32F7 only supports single precision FPU
|
||||||
FP_FLAGS ?= -mfloat-abi=hard -mfpu=fpv5-sp-d16
|
FP_FLAGS ?= -mfloat-abi=hard -mfpu=fpv5-sp-d16
|
||||||
|
|
||||||
TGT_CFLAGS = -Os -g \
|
TGT_CFLAGS = -Os \
|
||||||
-Wall -Wextra -Wimplicit-function-declaration \
|
-Wall -Wextra -Wimplicit-function-declaration \
|
||||||
-Wredundant-decls -Wmissing-prototypes -Wstrict-prototypes \
|
-Wredundant-decls -Wmissing-prototypes -Wstrict-prototypes \
|
||||||
-Wundef -Wshadow \
|
-Wundef -Wshadow \
|
||||||
@ -37,6 +37,7 @@ TGT_CFLAGS = -Os -g \
|
|||||||
-mcpu=cortex-m7 -mthumb $(FP_FLAGS) \
|
-mcpu=cortex-m7 -mthumb $(FP_FLAGS) \
|
||||||
-Wstrict-prototypes \
|
-Wstrict-prototypes \
|
||||||
-ffunction-sections -fdata-sections -MD -DSTM32F7
|
-ffunction-sections -fdata-sections -MD -DSTM32F7
|
||||||
|
TGT_CFLAGS += $(DEBUG_FLAGS)
|
||||||
TGT_CFLAGS += $(STANDARD_FLAGS)
|
TGT_CFLAGS += $(STANDARD_FLAGS)
|
||||||
|
|
||||||
ARFLAGS = rcs
|
ARFLAGS = rcs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user