mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 07:12:54 +08:00
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:
committed by
Abdelatif Guettouche
parent
7caebdd50f
commit
ba23526e39
@@ -75,12 +75,16 @@ SECTIONS
|
|||||||
|
|
||||||
. = ALIGN (8);
|
. = ALIGN (8);
|
||||||
_ebss = ABSOLUTE(.);
|
_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)
|
||||||
*(.noinit.*)
|
*(.noinit.*)
|
||||||
|
|
||||||
} >dram0_0_seg
|
} >dram0_0_seg
|
||||||
|
|
||||||
.dram0.data :
|
.dram0.data :
|
||||||
|
|||||||
Reference in New Issue
Block a user