boards/esp32c3-devkit: Allocate .noinit in a dedicated section

Previously it was being allocated into .bss section after the _ebss
address. Although functional, this is not intuitive.
This commit is contained in:
Gustavo Henrique Nihei 2021-04-23 11:16:16 -03:00 committed by Abdelatif Guettouche
parent 7caebdd50f
commit ba23526e39

View File

@ -75,12 +75,16 @@ SECTIONS
. = ALIGN (8);
_ebss = ABSOLUTE(.);
} >dram0_0_seg
/* Uninitialized .bss */
.noinit (NOLOAD):
{
/* This section contains data that is not initialized during load,
* or during the application's initialization sequence.
*/
*(.noinit)
*(.noinit.*)
} >dram0_0_seg
.dram0.data :