gustavonihei opened a new pull request #4604: URL: https://github.com/apache/incubator-nuttx/pull/4604
## Summary This PR intends to add a new feature to the ESP32 build system for easing the provisioning of prebuilt binaries. Depending on the choice of *Application Image Format*, the user must flash the following binaries to the chip's flash: **Legacy image format (IDFboot)** - `bootloader-esp32.bin` - `partition-table-esp32.bin` **MCUboot image format** - `mcuboot-esp32.bin` This PR adds two new optional **Make** targets: `bootloader` and `clean_bootloader`. It also brings an implementation for ESP32 chips. Depending on the option selected by the user, this command will execute one the two operations: 1) Download prebuilt binaries (`ESP32_BOOTLOADER_DOWNLOAD_PREBUILT`, **default**) 2) Build binaries from source (`ESP32_BOOTLOADER_BUILD_FROM_SOURCE`) Host dependencies for option building the bootloader from source: - CMake version 3.13 ## Impact New feature, should have no impact to the standard workflow of the build system. ## Testing `make bootloader` for `esp32-devkitc:nsh` and `esp32-devkitc:mcuboot_confirm` configurations successfully downloads the prebuilt binaries. And when selecting `ESP32_BOOTLOADER_BUILD_FROM_SOURCE` successfully builds the binaries from source. -- 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