summaryrefslogtreecommitdiffstats
path: root/bsps/arm/stm32f4/config/stm32f105rc.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'bsps/arm/stm32f4/config/stm32f105rc.cfg')
-rw-r--r--bsps/arm/stm32f4/config/stm32f105rc.cfg11
1 files changed, 10 insertions, 1 deletions
diff --git a/bsps/arm/stm32f4/config/stm32f105rc.cfg b/bsps/arm/stm32f4/config/stm32f105rc.cfg
index b0a522e08f..750ade24e4 100644
--- a/bsps/arm/stm32f4/config/stm32f105rc.cfg
+++ b/bsps/arm/stm32f4/config/stm32f105rc.cfg
@@ -1 +1,10 @@
-include $(RTEMS_ROOT)/make/custom/stm32f4.cfg
+include $(RTEMS_ROOT)/make/custom/default.cfg
+
+RTEMS_CPU = arm
+
+CPU_CFLAGS = -mthumb -mcpu=cortex-m3
+
+CFLAGS_OPTIMIZE_V = -O2 -g
+CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
+
+LDFLAGS = -Wl,--gc-sections