add memory layout commment, undo -8 simplification
This commit is contained in:
parent
3a10427bd9
commit
a0d27c2c56
@ -12,9 +12,15 @@ _estack = 0x2000c000;
|
|||||||
|
|
||||||
_MIN_STACK_SIZE = 0x400;
|
_MIN_STACK_SIZE = 0x400;
|
||||||
|
|
||||||
|
/*
|
||||||
|
Memory layout of device:
|
||||||
|
20 KB 198KB-8 38 KB
|
||||||
|
| bootloader | application | secrets/data |
|
||||||
|
*/
|
||||||
|
|
||||||
MEMORY
|
MEMORY
|
||||||
{
|
{
|
||||||
flash (rx) : ORIGIN = 0x08005000, LENGTH = 190K
|
flash (rx) : ORIGIN = 0x08005000, LENGTH = 198K - 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
|
||||||
}
|
}
|
||||||
|
@ -14,7 +14,7 @@ _MIN_STACK_SIZE = 0x400;
|
|||||||
|
|
||||||
MEMORY
|
MEMORY
|
||||||
{
|
{
|
||||||
flash (rx) : ORIGIN = 0x08008000, LENGTH = 178K
|
flash (rx) : ORIGIN = 0x08008000, LENGTH = 186K - 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
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user