feat(soc): add Kconfig rev min option and increase max ver for H2 v1.2

This commit is contained in:
Xiao Xufeng
2025-01-16 00:13:29 +08:00
committed by Michael (XIAO Xufeng)
parent 313c3406f9
commit 1ce83d7b36

View File

@ -15,6 +15,8 @@ choice ESP32H2_REV_MIN
bool "Rev v0.1 (ECO1)" bool "Rev v0.1 (ECO1)"
config ESP32H2_REV_MIN_2 config ESP32H2_REV_MIN_2
bool "Rev v0.2 (ECO2)" bool "Rev v0.2 (ECO2)"
config ESP32H2_REV_MIN_102
bool "Rev v1.2"
endchoice endchoice
config ESP32H2_REV_MIN_FULL config ESP32H2_REV_MIN_FULL
@ -22,6 +24,7 @@ config ESP32H2_REV_MIN_FULL
default 0 if ESP32H2_REV_MIN_0 default 0 if ESP32H2_REV_MIN_0
default 1 if ESP32H2_REV_MIN_1 default 1 if ESP32H2_REV_MIN_1
default 2 if ESP32H2_REV_MIN_2 default 2 if ESP32H2_REV_MIN_2
default 102 if ESP32H2_REV_MIN_102
config ESP_REV_MIN_FULL config ESP_REV_MIN_FULL
int int
@ -31,7 +34,7 @@ config ESP_REV_MIN_FULL
# MAX Revision # 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. # Maximum revision that IDF supports.
# It can not be changed by user. # It can not be changed by user.
# Only Espressif can change it when a new version will be supported in IDF. # Only Espressif can change it when a new version will be supported in IDF.
@ -39,7 +42,7 @@ config ESP_REV_MIN_FULL
config ESP32H2_REV_MAX_FULL config ESP32H2_REV_MAX_FULL
int int
default 99 default 199
# keep in sync the "Maximum Supported Revision" description with this value # keep in sync the "Maximum Supported Revision" description with this value
config ESP_REV_MAX_FULL config ESP_REV_MAX_FULL