1 /*
2  * SPDX-FileCopyrightText: 2021 Espressif Systems (Shanghai) CO LTD
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 #define BOOTLOADER_BUILD 1
8 #define CONFIG_IDF_FIRMWARE_CHIP_ID 0x0002
9 #define CONFIG_IDF_TARGET_ESP32S2 1
10 #define CONFIG_ESP32S2_REV_MIN_0 1
11 #define CONFIG_ESP32S2_REV_MIN_FULL 0
12 #define CONFIG_ESP_REV_MIN_FULL CONFIG_ESP32S2_REV_MIN_FULL
13 #define CONFIG_ESP32S2_REV_MIN 0
14 #define CONFIG_ESP32S2_REV_MAX_FULL 99
15 #define CONFIG_ESP_REV_MAX_FULL CONFIG_ESP32S2_REV_MAX_FULL
16 #define CONFIG_MMU_PAGE_SIZE 0x10000
17 #define CONFIG_XTAL_FREQ 40
18 #define CONFIG_SPI_FLASH_ROM_DRIVER_PATCH 1
19 #define CONFIG_ESP32S2_XTAL_FREQ 40
20 #define CONFIG_MCUBOOT 1
21 #define NDEBUG 1
22 #define CONFIG_BOOTLOADER_WDT_TIME_MS 9000
23 #define CONFIG_ESP_CONSOLE_UART_BAUDRATE 115200
24 #define CONFIG_BOOTLOADER_OFFSET_IN_FLASH 0x1000
25 #define CONFIG_PARTITION_TABLE_OFFSET 0x10000
26 #define CONFIG_EFUSE_VIRTUAL_OFFSET 0x250000
27 #define CONFIG_EFUSE_VIRTUAL_SIZE 0x2000
28 #define CONFIG_EFUSE_MAX_BLK_LEN 256
29 #define CONFIG_BOOTLOADER_FLASH_XMC_SUPPORT 1
30