You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "Laczen (via GitHub)" <gi...@apache.org> on 2026/01/20 08:22:08 UTC

[PR] boards/xtensa/esp32: add rtc_reserved_seg to legacy_sections [nuttx]

Laczen opened a new pull request, #18032:
URL: https://github.com/apache/nuttx/pull/18032

   ## Summary
   
   When building esp32_devkitc:nsh the build fails for the legacy idf format:
   
   ```console
   MKIMAGE: ESP32 binary
   esptool.py -c esp32 elf2image -fs 4MB -fm dio -ff "40m" -o nuttx.bin nuttx
   Warning: DEPRECATED: 'esptool.py' is deprecated. Please use 'esptool' instead. The '.py' suffix will be removed in a future major release.
   esptool v5.1.0
   Creating ESP32 image...
   Merged 1 ELF section.
   Successfully created ESP32 image.
   
   A fatal error occurred: Segment loaded at 0x3f403080 lands in same 64 KB flash mapping as segment loaded at 0x3f400020. Can't generate binary. Suggest changing linker script or ELF to merge sections.
   make: *** [tools/Unix.mk:559: nuttx] Error 2
   ```
   
   This is caused by a missing part in the `legacy_sections.ld` linker script.
   
   To allow building the legacy_sections.ld is modified.
   
   ## Impact
   
   *The PR makes it possible to compile for the legacy idf bootloader, it has no effect on users, build process, hardware, documentation, security, compatibility, ... other than being able to generate images for the legacy bootloader.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] boards/xtensa/esp32: add rtc_reserved_seg to legacy_sections [nuttx]

Posted by "xiaoxiang781216 (via GitHub)" <gi...@apache.org>.
xiaoxiang781216 merged PR #18032:
URL: https://github.com/apache/nuttx/pull/18032


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org