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:
Marek Matej 2025-01-07 14:04:24 +01:00 committed by Benjamin Cabé
commit dd6f176e73
3 changed files with 29 additions and 16 deletions

View file

@ -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)