Merge branch 'feature/support_c5_eco2_rom' into 'master'

feat(rom): update rom for c5 eco2

See merge request espressif/esp-idf!38297
This commit is contained in:
Kevin (Lao Kaiyao)
2025-04-16 20:36:07 +08:00
154 changed files with 527 additions and 751 deletions
@@ -118,7 +118,9 @@ bool clock_domain_pd_allowed(void)
* necessary to check the state of CLOCK_MODEM to determine MODEM domain on
* or off. The clock and reset of digital peripherals are managed through
* PCR, with TOP domain similar to MODEM domain. */
#if SOC_WIFI_SUPPORTED || SOC_BLE_SUPPORTED || SOC_IEEE802154_SUPPORTED
sleep_retention_module_bitmap_t modem_clk_dep_modules = (sleep_retention_module_bitmap_t){ .bitmap = { 0 } };
#endif
#if SOC_WIFI_SUPPORTED
modem_clk_dep_modules.bitmap[SLEEP_RETENTION_MODULE_WIFI_MAC >> 5] |= BIT(SLEEP_RETENTION_MODULE_WIFI_MAC % 32);
modem_clk_dep_modules.bitmap[SLEEP_RETENTION_MODULE_WIFI_BB >> 5] |= BIT(SLEEP_RETENTION_MODULE_WIFI_BB % 32);
@@ -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