mirror of
https://github.com/apache/nuttx.git
synced 2026-10-11 08:10:21 +00:00
boards/xtensa/esp32: remove alignments for simpleboot
The simpleboot format does not require alignment sections to be inserted as they are added by esptool.py Signed-off-by: Laczen JMS <laczenjms@gmail.com>
This commit is contained in:
parent
71b7493a86
commit
27542b3b09
1 changed files with 10 additions and 15 deletions
|
|
@ -533,16 +533,14 @@ SECTIONS
|
|||
* i.e. the lower 16 bits of both the virtual address (address seen by the
|
||||
* CPU) and the load address (physical address of the external flash) must
|
||||
* be equal.
|
||||
* For the simpleboot format this is done by esptool.
|
||||
*/
|
||||
|
||||
#ifndef CONFIG_ESP32_APP_FORMAT_MCUBOOT
|
||||
.flash.rodata_dummy (NOLOAD) :
|
||||
{
|
||||
. = ALIGN(0x10000);
|
||||
} > ROM
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_ESP32_APP_FORMAT_MCUBOOT
|
||||
.flash.rodata : ALIGN(0x10000)
|
||||
#else
|
||||
.flash.rodata :
|
||||
#endif
|
||||
{
|
||||
_rodata_reserved_start = ABSOLUTE(.);
|
||||
|
||||
|
|
@ -666,17 +664,14 @@ SECTIONS
|
|||
* i.e. the lower 16 bits of both the virtual address (address seen by the
|
||||
* CPU) and the load address (physical address of the external flash) must
|
||||
* be equal.
|
||||
* For the simpleboot format this is done by esptool.
|
||||
*/
|
||||
|
||||
#ifndef CONFIG_ESP32_APP_FORMAT_MCUBOOT
|
||||
.flash.text_dummy (NOLOAD) :
|
||||
{
|
||||
. += SIZEOF(.flash.rodata);
|
||||
. = ALIGN(0x10000);
|
||||
} >default_code_seg AT> ROM
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_ESP32_APP_FORMAT_MCUBOOT
|
||||
.flash.text : ALIGN(0x00010000)
|
||||
#else
|
||||
.flash.text :
|
||||
#endif
|
||||
{
|
||||
_stext = .;
|
||||
_text_start = ABSOLUTE(.);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue