feat(rom): update rom for c5 eco2

Breaking: Starting from this commit, ESP-IDF can only support ESP32-C5 v1.0 (ECO2)
This commit is contained in:
laokaiyao
2025-04-08 12:48:49 +08:00
parent 61064b442a
commit 0abc755342
24 changed files with 241 additions and 392 deletions

View File

@@ -1,6 +1,6 @@
choice ESP32C5_REV_MIN
prompt "Minimum Supported ESP32-C5 Revision"
default ESP32C5_REV_MIN_0
default ESP32C5_REV_MIN_100
help
Required minimum chip revision. ESP-IDF will check for it and
reject to boot if the chip revision fails the check.
@@ -9,16 +9,13 @@ choice ESP32C5_REV_MIN
The complied binary will only support chips above this revision,
this will also help to reduce binary size.
config ESP32C5_REV_MIN_0
bool "Rev v0.0 (ECO0)"
config ESP32C5_REV_MIN_1
bool "Rev v0.1 (ECO1)"
config ESP32C5_REV_MIN_100
bool "Rev v1.0 (ECO2)"
endchoice
config ESP32C5_REV_MIN_FULL
int
default 0 if ESP32C5_REV_MIN_0
default 1 if ESP32C5_REV_MIN_1
default 100 if ESP32C5_REV_MIN_100
config ESP_REV_MIN_FULL
int
@@ -28,7 +25,7 @@ config ESP_REV_MIN_FULL
# MAX Revision
#
comment "Maximum Supported ESP32-C5 Revision (Rev v0.99)"
comment "Maximum Supported ESP32-C5 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.
@@ -36,7 +33,7 @@ config ESP_REV_MIN_FULL
config ESP32C5_REV_MAX_FULL
int
default 99
default 199
# keep in sync the "Maximum Supported Revision" description with this value
config ESP_REV_MAX_FULL