eren-terzioglu opened a new pull request, #18973: URL: https://github.com/apache/nuttx/pull/18973
## Summary <!-- This field should contain a summary of the changes. It will be pre-filled with the commit's message and descriptions. Adjust it accordingly --> * tools/espressif: Add UF2 output support Add UF2 file output support for Espressif devices * Docs/platforms/xtensa: Add UF2 file format docs Add UF2 file format docs for Xtensa based Espressif devices * Docs/platforms/espressif: Add UF2 file format docs Add UF2 file format docs for RISC-V based Espressif devices ## Impact <!-- Please fill the following sections with YES/NO and provide a brief explanation --> Impact on user: No, new output file option added <!-- Does it impact user's applications? How? --> Impact on build: Yes, new output file option added <!-- Does it impact on building NuttX? How? (please describe the required changes on the build system) --> Impact on hardware: No <!-- Does it impact a specific hardware supported by NuttX? --> Impact on documentation: Yes, related docs added for that output <!-- Does it impact the existing documentation? Please provide additional documentation to reflect that --> Impact on security: No <!-- Does it impact NuttX's security? --> Impact on compatibility: No <!-- Does it impact compatibility between previous and current versions? Is this a breaking change? --> ## Testing <!-- Please provide all the testing procedure. Consider that upstream reviewers should be able to reproduce the same testing performed internally --> `esp32c6-devkitc:nsh` config used to test ### Building <!-- Provide how to build the test for each SoC being tested --> Used command to build: ``` make -j distclean && ./tools/configure.sh esp32c6-devkitc:nsh && make -j UF2=1 ``` Output should be like this: ``` Generated: nuttx.bin esptool.py -c esp32c6 merge_bin --format uf2 -o nuttx.merged.uf2 -fs 4MB -fm dio 0x0000 nuttx.bin esptool.py v4.9.0 Adding nuttx.bin at 0x0 Wrote 0x48000 bytes to file nuttx.merged.uf2, ready to be flashed with any ESP USB Bridge Generated: nuttx.merged.uf2 ``` ### Running <!-- Provide how to run the test for each SoC being tested --> After build operation, here is the connection diagram | Target Device | Flashing Device | |---------------|-----------------| | TX | TX | | RX | RX | | BOOT (GPIO9) | IO0 | | RST | EN | | VCC | VCC | | GND | GND | After the connection `.uf2` format should drag and drop to flashing device ### Results <!-- Provide tests' results and runtime logs --> After build operation it should run as usual like it flashed with `make flash` command. -- 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]
