soc: espressif: Allow noinit segment in SPIRAM
Add SPIRAM noinit output sections on related targets so the user can allocate variables with macros EXT_RAM_BSS_ATTR and EXT_RAM_NOINIT_ATTR. Signed-off-by: Marek Matej <marek.matej@espressif.com>
This commit is contained in:
parent
2a95996a03
commit
dd6f176e73
3 changed files with 29 additions and 16 deletions
|
@ -1001,7 +1001,7 @@ SECTIONS
|
|||
|
||||
_spiram_heap_start = ABSOLUTE(.);
|
||||
. = . + CONFIG_ESP_SPIRAM_HEAP_SIZE - (_spiram_heap_start - _ext_ram_bss_start);
|
||||
. = ALIGN(4);
|
||||
. = ALIGN(16);
|
||||
|
||||
_ext_ram_end = ABSOLUTE(.);
|
||||
} GROUP_LINK_IN(ext_dram_seg)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue