This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

CONFIG_BOOTLOADER_ESP_IDF

Use esp-idf 2nd stage bootloader

ESP-IDF bootloader support

Type: bool

Help

This option will trigger the compilation of the ESP-IDF bootloader
inside the build folder.
At flash time, the bootloader will be flashed with the zephyr image

Direct dependencies

(SOC_ESP32C3 && <choice: SoC/CPU/Configuration Selection>) || SOC_ESP32 || SOC_ESP32S2

(Includes any dependencies from ifs and menus.)

Default

  • y

Kconfig definitions

At soc/riscv/esp32c3/Kconfig.soc:19

Included via Kconfig:8Kconfig.zephyr:36soc/Kconfig:9

Menu path: (Top) → SoC/CPU/Configuration Selection → ESP32C3

config BOOTLOADER_ESP_IDF
    bool "Use esp-idf 2nd stage bootloader"
    default y
    depends on SOC_ESP32C3 && <choice>

At Kconfig.zephyr:569

Included via Kconfig:8

Menu path: (Top) → Boot Options

config BOOTLOADER_ESP_IDF
    bool "ESP-IDF bootloader support"
    depends on SOC_ESP32 || SOC_ESP32S2
    help
      This option will trigger the compilation of the ESP-IDF bootloader
      inside the build folder.
      At flash time, the bootloader will be flashed with the zephyr image

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)