From 5dfa6c49de7c96bb1f8897bc29b6dbd536836d55 Mon Sep 17 00:00:00 2001 From: "Michael.B" Date: Fri, 28 Aug 2026 16:16:53 +0800 Subject: [PATCH] fix(esp_system): remove leftover CPU frequency workaround help on ESP32-C5 Relates to https://github.com/espressif/esp-idf/issues/19010 --- components/esp_system/port/soc/esp32c5/Kconfig.cpu | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/components/esp_system/port/soc/esp32c5/Kconfig.cpu b/components/esp_system/port/soc/esp32c5/Kconfig.cpu index 95c3b92cbcd..6804a0226cf 100644 --- a/components/esp_system/port/soc/esp32c5/Kconfig.cpu +++ b/components/esp_system/port/soc/esp32c5/Kconfig.cpu @@ -21,12 +21,8 @@ choice ESP_DEFAULT_CPU_FREQ_MHZ depends on !SECURE_FLASH_ENC_ENABLED bool "240 MHz" help - When 240MHz is selected, esp_flash_write_encrypted() will automatically limit CPU frequency during - execution: - - v1.2 and above chips: limited to 160MHz - - v1.0 and below chips: limited to 80MHz - When 160MHz or lower is selected, no frequency limiting occurs during encrypted writes. Please refer to - the ESP32-C5 SoC Errata document for more details. + Due to known silicon issue, CPU frequency will be fixed to 160 MHz when flash encryption is enabled. Please + refer to the ESP32-C5 SoC Errata document for more details. endchoice config ESP_DEFAULT_CPU_FREQ_MHZ