Skip to content
Snippets Groups Projects
Commit b53e8edb authored by schneider's avatar schneider
Browse files

fix(bootloader): Special linker script for the bootloader

parent c25454e2
No related branches found
No related tags found
No related merge requests found
Pipeline #372 passed
...@@ -102,7 +102,7 @@ PROJ_CFLAGS+=-DMXC_ASSERT_ENABLE ...@@ -102,7 +102,7 @@ PROJ_CFLAGS+=-DMXC_ASSERT_ENABLE
#MXC_OPTIMIZE_CFLAGS=-Og #MXC_OPTIMIZE_CFLAGS=-Og
# Point this variable to a linker file to override the default file # Point this variable to a linker file to override the default file
# LINKERFILE=$(CMSIS_ROOT)/Device/Maxim/$(TARGET_UC)/Source/GCC/$(TARGET_LC).ld LINKERFILE=$(CMSIS_ROOT)/Device/Maxim/$(TARGET_UC)/Source/GCC/$(TARGET_LC)_boot.ld
################################################################################ ################################################################################
# Include external library makefiles here # Include external library makefiles here
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
/* If used, they should be adjusted for the external Flash/RAM size */ /* If used, they should be adjusted for the external Flash/RAM size */
MEMORY { MEMORY {
SPIX (rx) : ORIGIN = 0x08000000, LENGTH = 128M SPIX (rx) : ORIGIN = 0x08000000, LENGTH = 128M
FLASH (rx) : ORIGIN = 0x10010000, LENGTH = 960k FLASH (rx) : ORIGIN = 0x10000000, LENGTH = 64k
SRAM (rwx) : ORIGIN = 0x20000000, LENGTH = 512k SRAM (rwx) : ORIGIN = 0x20000000, LENGTH = 512k
SPID (r) : ORIGIN = 0x80000000, LENGTH = 512M SPID (r) : ORIGIN = 0x80000000, LENGTH = 512M
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment