Rename flash2 -> flash_cfg
This commit is contained in:
parent
40c3c13b07
commit
22293f82f2
@ -13,8 +13,8 @@ _estack = 0x2000c000;
|
|||||||
_MIN_STACK_SIZE = 0x400;
|
_MIN_STACK_SIZE = 0x400;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
flash2 is for storing bootloader data, like last used firmware version.
|
flash_cfg is for storing bootloader data, like last used firmware version.
|
||||||
bootloader_configuration should be equal to (APPLICATION_END_PAGE) page address, from targets/stm32l432/src/memory_layout.h:30; and equal to flash2 origin
|
bootloader_configuration should be equal to (APPLICATION_END_PAGE) page address, from targets/stm32l432/src/memory_layout.h:30; and equal to flash_cfg origin
|
||||||
*/
|
*/
|
||||||
|
|
||||||
bootloader_configuration = 0x08000000 + 216*1024+8;
|
bootloader_configuration = 0x08000000 + 216*1024+8;
|
||||||
@ -22,7 +22,7 @@ bootloader_configuration = 0x08000000 + 216*1024+8;
|
|||||||
MEMORY
|
MEMORY
|
||||||
{
|
{
|
||||||
flash (rx) : ORIGIN = 0x08000000, LENGTH = 32K
|
flash (rx) : ORIGIN = 0x08000000, LENGTH = 32K
|
||||||
flash2 (rx) : ORIGIN = 0x08000000 + 216*1024+8, LENGTH = 2K-8
|
flash_cfg (rx) : ORIGIN = 0x08000000 + 216*1024+8, LENGTH = 2K-8
|
||||||
ram (xrw) : ORIGIN = 0x20000000, LENGTH = 48K
|
ram (xrw) : ORIGIN = 0x20000000, LENGTH = 48K
|
||||||
sram2 (rw) : ORIGIN = 0x10000000, LENGTH = 16K
|
sram2 (rw) : ORIGIN = 0x10000000, LENGTH = 16K
|
||||||
}
|
}
|
||||||
@ -50,7 +50,7 @@ SECTIONS
|
|||||||
.flag2 bootloader_configuration :
|
.flag2 bootloader_configuration :
|
||||||
{
|
{
|
||||||
KEEP(*(.flag2)) ;
|
KEEP(*(.flag2)) ;
|
||||||
} > flash2
|
} > flash_cfg
|
||||||
|
|
||||||
_sidata = LOADADDR(.data);
|
_sidata = LOADADDR(.data);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user