From 0d69ed8620b3370c9a09a5610d64ec2e1804be4e Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Thu, 6 Feb 2020 19:50:14 +0100 Subject: [PATCH] bootloader_support: add esp_chip_id_t value for ESP32-S2 --- components/bootloader_support/include/esp_app_format.h | 1 + 1 file changed, 1 insertion(+) diff --git a/components/bootloader_support/include/esp_app_format.h b/components/bootloader_support/include/esp_app_format.h index c7edaebd2d..0f0a603826 100644 --- a/components/bootloader_support/include/esp_app_format.h +++ b/components/bootloader_support/include/esp_app_format.h @@ -19,6 +19,7 @@ */ typedef enum { ESP_CHIP_ID_ESP32 = 0x0000, /*!< chip ID: ESP32 */ + ESP_CHIP_ID_ESP32S2 = 0x0002, /*!< chip ID: ESP32S2 */ ESP_CHIP_ID_INVALID = 0xFFFF /*!< Invalid chip ID (we defined it to make sure the esp_chip_id_t is 2 bytes size) */ } __attribute__((packed)) esp_chip_id_t;