Merge branch 'feat/kconfig_c3_v1.0_dev' into 'master'

esp32c3: add development option for v1.0 chips

See merge request espressif/esp-idf!24205
This commit is contained in:
Michael (XIAO Xufeng) 2023-06-14 15:03:50 +08:00
commit 702e97e9be
2 changed files with 15 additions and 7 deletions

View File

@ -36,14 +36,14 @@ config ESP_REV_MIN_FULL
config ESP32C2_REV_MAX_FULL config ESP32C2_REV_MAX_FULL
int int
default 199 default 299 if ESP32C2_REV2_DEVELOPMENT
default 199 if !ESP32C2_REV2_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
int
default ESP32C2_REV_MAX_FULL
config ESP32C2_REV2_DEVELOPMENT config ESP32C2_REV2_DEVELOPMENT
bool "Develop on ESP32-C2 v2.0 (Preview)" bool "Develop on ESP32-C2 v2.0 (Preview)"
default y if IDF_CI_BUILD default y if IDF_CI_BUILD
config ESP_REV_MAX_FULL
int
default 299 if ESP32C2_REV2_DEVELOPMENT
default ESP32C2_REV_MAX_FULL if !ESP32C2_REV2_DEVELOPMENT

View File

@ -19,6 +19,8 @@ choice ESP32C3_REV_MIN
bool "Rev v0.3 (ECO3)" bool "Rev v0.3 (ECO3)"
config ESP32C3_REV_MIN_4 config ESP32C3_REV_MIN_4
bool "Rev v0.4 (ECO4)" bool "Rev v0.4 (ECO4)"
config ESP32C3_REV_MIN_100
bool "Rev v1.0 (ECO6)"
endchoice endchoice
config ESP32C3_REV_MIN_FULL config ESP32C3_REV_MIN_FULL
@ -28,6 +30,7 @@ config ESP32C3_REV_MIN_FULL
default 2 if ESP32C3_REV_MIN_2 default 2 if ESP32C3_REV_MIN_2
default 3 if ESP32C3_REV_MIN_3 default 3 if ESP32C3_REV_MIN_3
default 4 if ESP32C3_REV_MIN_4 default 4 if ESP32C3_REV_MIN_4
default 100 if ESP32C3_REV_MIN_100
config ESP_REV_MIN_FULL config ESP_REV_MIN_FULL
int int
@ -45,9 +48,14 @@ config ESP_REV_MIN_FULL
config ESP32C3_REV_MAX_FULL config ESP32C3_REV_MAX_FULL
int int
default 99 default 199 if ESP32C3_REV100_DEVELOPMENT
default 99 if !ESP32C3_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 ESP32C3_REV_MAX_FULL default ESP32C3_REV_MAX_FULL
config ESP32C3_REV100_DEVELOPMENT
bool "Develop on ESP32-C3 v1.0 (Preview)"
default y if IDF_CI_BUILD