This commit is contained in:
Beslan
2021-12-16 18:02:22 +03:00
parent 1b1a3cd906
commit 11d88ad924

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.*)
@@ -222,7 +222,7 @@ SECTIONS
. = ALIGN(0x4);
} >SPI_FLASH
/*
FontFlashSection :
{
*(FontFlashSection FontFlashSection.*)
@@ -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);