nuttx/boards/xtensa
yukangzhi b42ec9a2c1
Some checks are pending
Build Documentation / build-html (push) Waiting to run
MemBrowse Memory Report / changes-filter (push) Waiting to run
MemBrowse Memory Report / load-targets (push) Waiting to run
MemBrowse Memory Report / identical (push) Blocked by required conditions
MemBrowse Memory Report / analyze (push) Blocked by required conditions
boards/esp32s3-devkit: disable C++ in usbmsc to avoid esptool align assert
The esp32s3-devkit:usbmsc config uses CONFIG_ESPRESSIF_SIMPLE_BOOT, so
the image is packaged with "esptool elf2image --ram-only-header".  With
esptool v5.2.0, that path asserts that each flash segment satisfies
  (f.tell() + 8 + BOOTLOADER_FLASH_OFFSET) % IROM_ALIGN
    == segment.addr % IROM_ALIGN
When .flash.text lands right on a 64 KB (IROM_ALIGN) boundary the
assertion cannot be satisfied and elf2image fails with AssertionError,
even though NuttX itself links cleanly.

usbmsc is a plain C test and does not need the C++ runtime.  Disabling
CONFIG_HAVE_CXX / CONFIG_HAVE_CXXINITIALIZE moves .flash.text off the
IROM_ALIGN boundary so the SIMPLE_BOOT image can be generated, without
changing the boot mode or the test's intent.

Signed-off-by: yukangzhi <yukangzhi@xiaomi.com>
2026-08-28 12:09:46 +08:00
..
esp32 xtensa/esp32: Let a protected build boot from simple boot. 2026-08-12 00:37:18 +08:00
esp32s2 !arch/arm: Use r9 as the PIC base register. 2026-08-06 01:38:23 +08:00
esp32s3 boards/esp32s3-devkit: disable C++ in usbmsc to avoid esptool align assert 2026-08-28 12:09:46 +08:00