mirror of
https://github.com/apache/nuttx.git
synced 2026-08-04 13:49:06 +00: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:
parent
7caebdd50f
commit
ba23526e39
1 changed files with 6 additions and 2 deletions
|
|
@ -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 :
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue