chore: update the linker scrip to support bootloader
parent
a363d1c1f0
commit
b3979c79bc
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Reference in New Issue