esp: Make the legacy bootloader (IDF bootloader) option visible

This commit enables users to select the legacy bootloader (IDF
bootloader) in `menuconfig` directly. Please note, that this is a
legacy option intended to support devices already deployed and it
isn't recommended for new designs.
This commit is contained in:
Tiago Medicci Serrano 2024-06-05 13:31:16 -03:00 committed by Xiang Xiao
parent 56a7bd7972
commit 480ad6b631
3 changed files with 5 additions and 4 deletions

View File

@ -1061,7 +1061,7 @@ config ESP32C3_HAVE_OTA_PARTITION
menu "Bootloader and Image Configuration"
config ESP32C3_APP_FORMAT_LEGACY
bool
bool "Enable legacy IDF bootloader format"
default y if !ESP32C3_APP_FORMAT_MCUBOOT
depends on !ESP32C3_APP_FORMAT_MCUBOOT
---help---

View File

@ -2503,7 +2503,7 @@ config ESP32_HAVE_OTA_PARTITION
menu "Bootloader and Image Configuration"
config ESP32_APP_FORMAT_LEGACY
bool
bool "Enable legacy IDF bootloader format"
default y if !ESP32_APP_FORMAT_MCUBOOT
depends on !ESP32_APP_FORMAT_MCUBOOT
---help---

View File

@ -2275,11 +2275,12 @@ config ESP32S3_APP_FORMAT_MCUBOOT
Enables the Espressif port of MCUboot to be used as 2nd stage bootloader.
config ESP32S3_APP_FORMAT_LEGACY
bool
bool "Enable legacy IDF bootloader format"
default y if BUILD_PROTECTED
---help---
This is the legacy application image format, as supported by the ESP-IDF
2nd stage bootloader.
2nd stage bootloader. Please note that this requires ESP-IDF toolchain
to be built properly.
choice
prompt "Target slot for image flashing"