FelipeMdeO opened a new pull request, #20157: URL: https://github.com/apache/nuttx/pull/20157
## Summary `esp32s3-devkit` and `esp32s3-eye` both call `board_spiflash_init()` from their bring-up to register the internal SPI flash MTD partition and mount its file system; `esp32s3-xiao` never did, so `CONFIG_ESP32S3_SPIFLASH` built but no MTD partition or mount ever appeared — same shape of gap as the IMU, SD, console and Wi-Fi wiring already fixed for this board. Guarded with `pm_stay(PM_IDLE_DOMAIN, PM_IDLE)` the same way the Wi-Fi bring-up right below it is: flash operations run with the cache disabled and can't tolerate `PM_STANDBY`'s clock gating either. ## Impact Board-specific (`esp32s3-xiao`). No effect unless `CONFIG_ESP32S3_SPIFLASH` is enabled. ## Testing Confirmed under QEMU's `esp32s3` machine: LittleFS mounts on boot, and a counter file written to it survives a reboot (observed 1 → 2 across restarts). `tools/checkpatch.sh -c -u -m -g` passes clean. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
