Using RAM_D3 start as flag for system_bootloader

This commit is contained in:
2024-05-23 00:10:06 +02:00
parent a91fdc9311
commit 804c4c8c69
2 changed files with 39 additions and 4 deletions

View File

@@ -43,8 +43,9 @@ _Min_Stack_Size = 0x400; /* required amount of stack */
/* Specify the memory areas */
MEMORY
{
RAM_EXEC (xrw) : ORIGIN = 0x24000000, LENGTH = 320K
DTCMRAM (xrw) : ORIGIN = 0x20000000, LENGTH = 128K
RAM_EXEC (xrw) : ORIGIN = 0x24000000, LENGTH = 319K
RAM_NOINIT(xrw) : ORIGIN = 0x2404fc00, LENGTH = 1K
DTCMRAM (xrw) : ORIGIN = 0x20000000, LENGTH = 127K
ITCMRAM (xrw) : ORIGIN = 0x00000000, LENGTH = 64K
RAM_D2 (xrw) : ORIGIN = 0x30000000, LENGTH = 32K
RAM_D3 (xrw) : ORIGIN = 0x38000000, LENGTH = 16K
@@ -161,6 +162,12 @@ SECTIONS
. = ALIGN(8);
} >DTCMRAM
.noinit :
{
KEEP(*(.noinitdata))
} >DTCMRAM2
/* Remove information from the standard libraries */
/DISCARD/ :
{