diff --git a/components/esp_common/include/esp_attr.h b/components/esp_common/include/esp_attr.h index 88a230b77c..7b73af7663 100644 --- a/components/esp_common/include/esp_attr.h +++ b/components/esp_common/include/esp_attr.h @@ -91,7 +91,7 @@ extern "C" { #if CONFIG_SPIRAM_ALLOW_NOINIT_SEG_EXTERNAL_MEMORY // Forces data into external memory noinit section to avoid initialization after restart. -#define EXT_RAM_NOINIT_ATTR _SECTION_ATTR_IMPL(".ext_ram.noinit", __COUNTER__) +#define EXT_RAM_NOINIT_ATTR _SECTION_ATTR_IMPL(".ext_ram_noinit", __COUNTER__) #else // Place in internal noinit section #define EXT_RAM_NOINIT_ATTR __NOINIT_ATTR diff --git a/components/esp_system/ld/esp32/sections.ld.in b/components/esp_system/ld/esp32/sections.ld.in index f3fb5026dd..2277dec6e1 100644 --- a/components/esp_system/ld/esp32/sections.ld.in +++ b/components/esp_system/ld/esp32/sections.ld.in @@ -201,10 +201,10 @@ SECTIONS * This section holds data that won't be initialised when startup. * This section locates in External RAM region. */ - .ext_ram.noinit (NOLOAD) : + .ext_ram_noinit (NOLOAD) : { _ext_ram_noinit_start = ABSOLUTE(.); - *(.ext_ram.noinit*) + *(.ext_ram_noinit*) . = ALIGN(4); _ext_ram_noinit_end = ABSOLUTE(.); } > extern_ram_seg