From 4866e7c6d05c0daba1c1a9f8b571e3fe40dc9490 Mon Sep 17 00:00:00 2001 From: Harshit Malpani Date: Tue, 30 May 2023 15:19:21 +0530 Subject: [PATCH] Add ESP32-H2 chip id in `esp_chip_id_t` enum in esp_app_format.h header file --- 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 14c3917181..3845399e42 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_ESP32S3 = 0x0009, /*!< chip ID: ESP32-S3 */ ESP_CHIP_ID_ESP32C2 = 0x000C, /*!< chip ID: ESP32-C2 */ ESP_CHIP_ID_ESP32C6 = 0x000D, /*!< chip ID: ESP32-C6 */ + ESP_CHIP_ID_ESP32H2 = 0x0010, /*!< chip ID: ESP32-H2 */ 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;