Add ESP32-H2 chip id in esp_chip_id_t enum in esp_app_format.h header file

This commit is contained in:
Harshit Malpani 2023-05-30 15:19:21 +05:30
parent 1f06806271
commit 44e88792de
No known key found for this signature in database
GPG Key ID: FF1193D150EF75C3

View File

@ -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;