From e1ef60deef3724e6e1446417f2b01bd6c578f361 Mon Sep 17 00:00:00 2001 From: Xiao Xufeng Date: Thu, 16 Jan 2025 00:13:29 +0800 Subject: [PATCH] feat(soc): add Kconfig rev min option and increase max ver for H2 v1.2 --- .../esp_hw_support/port/esp32h2/Kconfig.hw_support | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/components/esp_hw_support/port/esp32h2/Kconfig.hw_support b/components/esp_hw_support/port/esp32h2/Kconfig.hw_support index e12d9e2a63..b4a7e4ec78 100644 --- a/components/esp_hw_support/port/esp32h2/Kconfig.hw_support +++ b/components/esp_hw_support/port/esp32h2/Kconfig.hw_support @@ -15,6 +15,8 @@ choice ESP32H2_REV_MIN bool "Rev v0.1 (ECO1)" config ESP32H2_REV_MIN_2 bool "Rev v0.2 (ECO2)" + config ESP32H2_REV_MIN_102 + bool "Rev v1.2" endchoice config ESP32H2_REV_MIN_FULL @@ -22,6 +24,7 @@ config ESP32H2_REV_MIN_FULL default 0 if ESP32H2_REV_MIN_0 default 1 if ESP32H2_REV_MIN_1 default 2 if ESP32H2_REV_MIN_2 + default 102 if ESP32H2_REV_MIN_102 config ESP_REV_MIN_FULL int @@ -31,7 +34,7 @@ config ESP_REV_MIN_FULL # MAX Revision # - comment "Maximum Supported ESP32-H2 Revision (Rev v0.99)" + comment "Maximum Supported ESP32-H2 Revision (Rev v1.99)" # Maximum revision that IDF supports. # It can not be changed by user. # Only Espressif can change it when a new version will be supported in IDF. @@ -39,18 +42,13 @@ config ESP_REV_MIN_FULL config ESP32H2_REV_MAX_FULL int - default 199 if ESP32H2_REV100_DEVELOPMENT - default 99 if !ESP32H2_REV100_DEVELOPMENT + default 199 # keep in sync the "Maximum Supported Revision" description with this value config ESP_REV_MAX_FULL int default ESP32H2_REV_MAX_FULL -config ESP32H2_REV100_DEVELOPMENT - bool "Develop on ESP32-H2 v1.0 and above (Preview)" - default y if IDF_CI_BUILD - config ESP_EFUSE_BLOCK_REV_MIN_FULL int "Minimum Supported ESP32-H2 eFuse Block Revision" default 0