Skip to content

Commit 25d97da

Browse files
shubhamkulkarni97nashif
authored andcommitted
soc: esp32: Fix placement for system heap
System heap buffer was moved from dram0_0_seg to dram0_1_seg. This commit fixes system heap buffer placement. Signed-off-by: Shubham Kulkarni <[email protected]>
1 parent e93b41a commit 25d97da

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

soc/xtensa/esp32/linker.ld

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -460,6 +460,9 @@ __shell_root_cmds_end = __esp_shell_root_cmds_end;
460460
. = ALIGN (4);
461461
_btdm_bss_end = ABSOLUTE(.);
462462

463+
/* Buffer for system heap should be placed in dram0_0_seg */
464+
*libkernel.a:mempool.*(.noinit.kheap_buf__system_heap .noinit.*.kheap_buf__system_heap)
465+
463466
*(.dynsbss)
464467
*(.sbss)
465468
*(.sbss.*)

0 commit comments

Comments
 (0)