We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f4f945 commit 53169e5Copy full SHA for 53169e5
1 file changed
flight/PiOS/STM32F4xx/library_chibios.mk
@@ -10,14 +10,19 @@ PIOS_DEVLIB := $(dir $(lastword $(MAKEFILE_LIST)))
10
#
11
# Linker script depending on STM32 type
12
13
-ifneq "$(findstring STM32F40_41xxx,$(STM32_TYPE))" ""
+ifneq "$(findstring STM32F405xx,$(STM32_TYPE))" ""
14
LINKER_SCRIPTS_APP = $(PIOS_DEVLIB)/sections_chibios.ld
15
else ifneq "$(findstring STM32F446xx,$(STM32_TYPE))" ""
16
LINKER_SCRIPTS_APP = $(PIOS_DEVLIB)/sections_chibios_STM32F446xx.ld
17
else
18
$(error No linker script found for $(STM32_TYPE))
19
endif
20
21
+#
22
+# ChibiOS settings
23
24
+CDEFS += -DCRT1_AREAS_NUMBER=0
25
+ADEFS += -DCRT0_INIT_RAM_AREAS=FALSE
26
27
28
# Compiler options implied by the F4xx
0 commit comments