mirror of
https://github.com/espressif/esp-idf
synced 2025-03-08 23:59:08 -05:00
feat(soc): add Kconfig rev min option and increase max ver for H2 v1.2
This commit is contained in:
parent
0ba53566fa
commit
e1ef60deef
@ -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,18 +42,13 @@ config ESP_REV_MIN_FULL
|
|||||||
|
|
||||||
config ESP32H2_REV_MAX_FULL
|
config ESP32H2_REV_MAX_FULL
|
||||||
int
|
int
|
||||||
default 199 if ESP32H2_REV100_DEVELOPMENT
|
default 199
|
||||||
default 99 if !ESP32H2_REV100_DEVELOPMENT
|
|
||||||
# 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
|
||||||
int
|
int
|
||||||
default ESP32H2_REV_MAX_FULL
|
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
|
config ESP_EFUSE_BLOCK_REV_MIN_FULL
|
||||||
int "Minimum Supported ESP32-H2 eFuse Block Revision"
|
int "Minimum Supported ESP32-H2 eFuse Block Revision"
|
||||||
default 0
|
default 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user