fdcavalcanti opened a new pull request, #17035: URL: https://github.com/apache/nuttx/pull/17035
## Summary - documentation: add docs for romfs defconfig on Espressif devices Update the documentation for ESP32-S2|S3|C3|C6|H2, supporting romfs defconfig. - boards/xtensa: add support for init script on ESP32-S2|S3 Adds support for init script on ESP32 and ESP32-S2. Moves the scripts of ESP32-S3 from board specific to board common (they are the same). - boards/risc-v: add support for init script on ESP32-C3|C6|H2 Adds support for init script on ESP32-C3|C6|H2. This PR adds support for NSH initialization script on ESP32-S2|S3|C3|C6|H2 devices, along with documentation updates. ## Impact - Impact on user: No. - Impact on build: No. - Impact on hardware: No. - Impact on documentation: Yes, updates documentation for romfs defconfig. - Impact on security: No. - Impact on compatibility: No. ## Testing ### Building Build the romfs defconfig and flash the board. - ./tools/configure.sh esp32s3-devkit:romfs - make and flash This will build the default rcS scripts and put them in flash, mounting to the default path of /etc. This script prints a message to indicate it works. ### Running Simply reboot the board and check the echoed message is properly printed before the NSH banner. ``` rst:0x1 (POWERON),boot:0x28 (SPI_FAST_FLASH_BOOT) SPIWP:0xee mode:DIO, clock div:2 load:0x3fc8b980,len:0xf60 load:0x40374000,len:0x5734 SHA-256 comparison failed: Calculated: 9684015dfbc4cd8472e0046ad5d3b8ba264187da96bc8eac06922da20e64fc58 Expected: 0000000030990000000000000000000000000000000000000000000000000000 Attempting to boot anyway... entry 0x40374e60 *** Booting NuttX *** dram: lma 0x00000020 vma 0x3fc8b980 len 0xf60 (3936) iram: lma 0x00000f88 vma 0x40374000 len 0x5734 (22324) padd: lma 0x000066c8 vma 0x00000000 len 0x9930 (39216) imap: lma 0x00010000 vma 0x42010000 len 0x142dc (82652) padd: lma 0x000242e4 vma 0x00000000 len 0xbd14 (48404) dmap: lma 0x00030000 vma 0x3c040000 len 0x2f7c (12156) total segments stored 6 rc.sysinit is called! rcS file is called! NuttShell (NSH) NuttX-10.4.0 nsh> ``` -- 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-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org