forked from espressif/esp-idf
esp32c3: add development support option for v1.0 chips
This commit is contained in:
committed by
Xiao Xufeng
parent
b9cc4f045b
commit
1490424ab6
@@ -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
|
|
||||||
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user