From b3979c79bccfbf7d115b20a31ba7415175e6de79 Mon Sep 17 00:00:00 2001 From: heezes Date: Mon, 18 Nov 2024 14:16:16 +0530 Subject: [PATCH] chore: update the linker scrip to support bootloader --- mspm0g3507.lds | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mspm0g3507.lds b/mspm0g3507.lds index 97562bf..ccb3787 100644 --- a/mspm0g3507.lds +++ b/mspm0g3507.lds @@ -7,7 +7,7 @@ _Min_Stack_Size = 0x000012E8; /* required amount of stack */ /* Specify the memory areas */ MEMORY { - FLASH (RX) : ORIGIN = 0x00000000, LENGTH = 0x00020000 + FLASH (RX) : ORIGIN = 0x00008000, LENGTH = 0x00018000 SRAM (RWX) : ORIGIN = 0x20200000, LENGTH = 0x00008000 BCR_CONFIG (R) : ORIGIN = 0x41C00000, LENGTH = 0x00000080 BSL_CONFIG (R) : ORIGIN = 0x41C00100, LENGTH = 0x00000080 @@ -33,7 +33,7 @@ SECTIONS { /* section for the interrupt vector area */ PROVIDE (_intvecs_base_address = - DEFINED(_intvecs_base_address) ? _intvecs_base_address : 0x00000000); + DEFINED(_intvecs_base_address) ? _intvecs_base_address : 0x00008000); .intvecs (_intvecs_base_address) : AT (_intvecs_base_address) { KEEP (*(.intvecs))