This commit is contained in:
Beslan
2021-12-16 17:51:50 +03:00
parent f433430c8c
commit 3685c54d49

View File

@@ -44,7 +44,7 @@ MEMORY
FLASH (rx) : ORIGIN = MBED_APP_START, LENGTH = MBED_APP_SIZE
RAM (rwx) : ORIGIN = MBED_RAM0_START, LENGTH = MBED_RAM0_SIZE
DTCM (rwx) : ORIGIN = 0x20040000, LENGTH = 16K
SPI_FLASH(r) : ORIGIN = 0x90000000, LENGTH = 1M
/* SPI_FLASH(r) : ORIGIN = 0x90000000, LENGTH = 1M*/
}
/* Linker script to place sections and symbol values. Should be used together
@@ -214,7 +214,7 @@ SECTIONS
{
*(.stack*)
} > RAM
/*
ExtFlashSection :
{
*(ExtFlashSection ExtFlashSection.*)
@@ -237,7 +237,7 @@ SECTIONS
*(.gnu.linkonce.r.*)
. = ALIGN(0x4);
} >SPI_FLASH
*/
/* Set stack top to end of RAM, and stack limit move down by
* size of stack_dummy section */
__StackTop = ORIGIN(RAM) + LENGTH(RAM);