aboutsummaryrefslogtreecommitdiff
path: root/ports/stm32/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ports/stm32/Makefile')
-rw-r--r--ports/stm32/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/ports/stm32/Makefile b/ports/stm32/Makefile
index 6c71f2757..9c22928a0 100644
--- a/ports/stm32/Makefile
+++ b/ports/stm32/Makefile
@@ -643,7 +643,7 @@ TEXT0_ADDR ?= 0x08000000
ifeq ($(TEXT1_ADDR),)
# No TEXT1_ADDR given so put all firmware at TEXT0_ADDR location
-TEXT0_SECTIONS ?= .isr_vector .text .data
+TEXT0_SECTIONS ?= .isr_vector .text .data .ARM
deploy-stlink: $(BUILD)/firmware.bin
$(call RUN_STLINK,$^,$(TEXT0_ADDR))
@@ -661,7 +661,7 @@ else
# TEXT0_ADDR and TEXT1_ADDR are specified so split firmware between these locations
TEXT0_SECTIONS ?= .isr_vector
-TEXT1_SECTIONS ?= .text .data
+TEXT1_SECTIONS ?= .text .data .ARM
deploy-stlink: $(BUILD)/firmware0.bin $(BUILD)/firmware1.bin
$(call RUN_STLINK,$(word 1,$^),$(TEXT0_ADDR))