mirror of
https://github.com/espressif/esp-idf
synced 2025-03-10 01:29:21 -04:00
feat(soc): add Kconfig rev min option and increase max ver for H2 v1.2
This commit is contained in:
parent
e5da868951
commit
e9d35ac8ac
@ -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,7 +42,7 @@ config ESP_REV_MIN_FULL
|
||||
|
||||
config ESP32H2_REV_MAX_FULL
|
||||
int
|
||||
default 99
|
||||
default 199
|
||||
# keep in sync the "Maximum Supported Revision" description with this value
|
||||
|
||||
config ESP_REV_MAX_FULL
|
||||
|
Loading…
x
Reference in New Issue
Block a user