linker scripts: Limit DROM/IROM section lengths correctly
This commit is contained in:
parent
d92c541b1a
commit
c230e4280c
1 changed files with 2 additions and 2 deletions
|
@ -26,7 +26,7 @@ MEMORY
|
||||||
iram0_0_seg (RX) : org = 0x40080000, len = 0x20000
|
iram0_0_seg (RX) : org = 0x40080000, len = 0x20000
|
||||||
|
|
||||||
/* Even though the segment name is iram, it is actually mapped to flash */
|
/* Even though the segment name is iram, it is actually mapped to flash */
|
||||||
iram0_2_seg (RX) : org = 0x400D0018, len = 0x330000
|
iram0_2_seg (RX) : org = 0x400D0018, len = 0x330000-0x18
|
||||||
|
|
||||||
/* Shared data RAM, excluding memory reserved for ROM bss/data/stack.
|
/* Shared data RAM, excluding memory reserved for ROM bss/data/stack.
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@ MEMORY
|
||||||
len = 0x50000 - CONFIG_TRACEMEM_RESERVE_DRAM - CONFIG_BT_RESERVE_DRAM
|
len = 0x50000 - CONFIG_TRACEMEM_RESERVE_DRAM - CONFIG_BT_RESERVE_DRAM
|
||||||
|
|
||||||
/* Flash mapped constant data */
|
/* Flash mapped constant data */
|
||||||
drom0_0_seg (R) : org = 0x3F400018, len = 0x800000
|
drom0_0_seg (R) : org = 0x3F400018, len = 0x400000-0x18
|
||||||
|
|
||||||
/* RTC fast memory (executable). Persists over deep sleep.
|
/* RTC fast memory (executable). Persists over deep sleep.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue