diff --git a/bootloader/Makefile b/bootloader/Makefile index 88447371d199d24cbf38dd4a92a6de755be76ebc..65d7b58b8b3ef326e9016f601905cab73fe7df90 100644 --- a/bootloader/Makefile +++ b/bootloader/Makefile @@ -102,7 +102,7 @@ PROJ_CFLAGS+=-DMXC_ASSERT_ENABLE #MXC_OPTIMIZE_CFLAGS=-Og # 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 diff --git a/lib/sdk/Libraries/CMSIS/Device/Maxim/MAX32665/Source/GCC/max32665_app.ld b/lib/sdk/Libraries/CMSIS/Device/Maxim/MAX32665/Source/GCC/max32665_boot.ld similarity index 99% rename from lib/sdk/Libraries/CMSIS/Device/Maxim/MAX32665/Source/GCC/max32665_app.ld rename to lib/sdk/Libraries/CMSIS/Device/Maxim/MAX32665/Source/GCC/max32665_boot.ld index 791899b152df0e6410e7026ce2a143197c1b2d1d..30b2d30fc13e46d4246cea724926efca9b99a8a2 100644 --- a/lib/sdk/Libraries/CMSIS/Device/Maxim/MAX32665/Source/GCC/max32665_app.ld +++ b/lib/sdk/Libraries/CMSIS/Device/Maxim/MAX32665/Source/GCC/max32665_boot.ld @@ -38,7 +38,7 @@ /* If used, they should be adjusted for the external Flash/RAM size */ MEMORY { SPIX (rx) : ORIGIN = 0x08000000, LENGTH = 128M - FLASH (rx) : ORIGIN = 0x10010000, LENGTH = 960k + FLASH (rx) : ORIGIN = 0x10000000, LENGTH = 64k SRAM (rwx) : ORIGIN = 0x20000000, LENGTH = 512k SPID (r) : ORIGIN = 0x80000000, LENGTH = 512M }