diff options
Diffstat (limited to 'bsps/arm/stm32f4/config/stm32f4.cfg')
-rw-r--r-- | bsps/arm/stm32f4/config/stm32f4.cfg | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/bsps/arm/stm32f4/config/stm32f4.cfg b/bsps/arm/stm32f4/config/stm32f4.cfg new file mode 100644 index 0000000000..edca4bfa32 --- /dev/null +++ b/bsps/arm/stm32f4/config/stm32f4.cfg @@ -0,0 +1,10 @@ +include $(RTEMS_ROOT)/make/custom/default.cfg + +RTEMS_CPU = arm + +CPU_CFLAGS = -march=armv7-m -mthumb + +CFLAGS_OPTIMIZE_V = -O2 -g +CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections + +LDFLAGS = -Wl,--gc-sections |