32#include "esp_idf_ver.h"
34#if defined(CPU_FAM_ESP32)
36#elif defined(CPU_FAM_ESP32C3)
38#elif defined(CPU_FAM_ESP32S2)
40#elif defined(CPU_FAM_ESP32S3)
43#error "ESP32x family implementation missing"
52#if MODULE_ESP_LOG_COLORED
53#define CONFIG_LOG_COLORS 1
56#ifndef CONFIG_BOOTLOADER_LOG_LEVEL
67#if MODULE_ESP_LOG_STARTUP
68#define CONFIG_BOOTLOADER_LOG_LEVEL 3
70#define CONFIG_BOOTLOADER_LOG_LEVEL 0
77#if !defined(CONFIG_FLASHMODE_DOUT) && \
78 !defined(CONFIG_FLASHMODE_DIO) && \
79 !defined(CONFIG_FLASHMODE_QOUT) && \
80 !defined(CONFIG_FLASHMODE_QIO)
81#error "Flash mode not configured"
88#define CONFIG_ESP_CONSOLE_UART_BAUDRATE (RIOT_BOOTLOADER_BAUD)
94#if defined(CONFIG_CONSOLE_UART_TX) && defined(CONFIG_CONSOLE_UART_RX)
95#define CONFIG_ESP_CONSOLE_UART_CUSTOM 1
96#define CONFIG_ESP_CONSOLE_UART_TX_GPIO CONFIG_CONSOLE_UART_TX
97#define CONFIG_ESP_CONSOLE_UART_RX_GPIO CONFIG_CONSOLE_UART_RX
99#define CONFIG_ESP_CONSOLE_UART_DEFAULT 1
102#if defined(CONFIG_CONSOLE_UART_NUM)
103#define CONFIG_ESP_CONSOLE_UART_NUM CONFIG_CONSOLE_UART_NUM
105#define CONFIG_ESP_CONSOLE_UART_NUM 0
Default SDK configuration for all ESP32x SoC bootloaders.
Default SDK configuration for the ESP32 SoC bootloader.
Default SDK configuration for the ESP32-C3 SoC bootloader.
Default SDK configuration for the ESP32-S2 SoC bootloader.
Default SDK configuration for the ESP32-S3 SoC bootloader.