kopia lustrzana https://github.com/espressif/esp-idf
Merge branch 'bugfix/rename_ext_mem_bss_section' into 'master'
ld: rename .ext_ram.noinit to .ext_ram_noinit See merge request espressif/esp-idf!14717pull/7413/head
commit
85b107bf54
|
@ -91,7 +91,7 @@ extern "C" {
|
||||||
|
|
||||||
#if CONFIG_SPIRAM_ALLOW_NOINIT_SEG_EXTERNAL_MEMORY
|
#if CONFIG_SPIRAM_ALLOW_NOINIT_SEG_EXTERNAL_MEMORY
|
||||||
// Forces data into external memory noinit section to avoid initialization after restart.
|
// 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
|
#else
|
||||||
// Place in internal noinit section
|
// Place in internal noinit section
|
||||||
#define EXT_RAM_NOINIT_ATTR __NOINIT_ATTR
|
#define EXT_RAM_NOINIT_ATTR __NOINIT_ATTR
|
||||||
|
|
|
@ -201,10 +201,10 @@ SECTIONS
|
||||||
* This section holds data that won't be initialised when startup.
|
* This section holds data that won't be initialised when startup.
|
||||||
* This section locates in External RAM region.
|
* This section locates in External RAM region.
|
||||||
*/
|
*/
|
||||||
.ext_ram.noinit (NOLOAD) :
|
.ext_ram_noinit (NOLOAD) :
|
||||||
{
|
{
|
||||||
_ext_ram_noinit_start = ABSOLUTE(.);
|
_ext_ram_noinit_start = ABSOLUTE(.);
|
||||||
*(.ext_ram.noinit*)
|
*(.ext_ram_noinit*)
|
||||||
. = ALIGN(4);
|
. = ALIGN(4);
|
||||||
_ext_ram_noinit_end = ABSOLUTE(.);
|
_ext_ram_noinit_end = ABSOLUTE(.);
|
||||||
} > extern_ram_seg
|
} > extern_ram_seg
|
||||||
|
|
Ładowanie…
Reference in New Issue