From 1013e0f1bfb7fb5928202a70ea236ade698b0e4a Mon Sep 17 00:00:00 2001 From: Alex Duchesne Date: Thu, 28 Nov 2024 13:41:41 -0500 Subject: [PATCH] Updated fri3d-2024 sdkconfig to fix CPU frequency (#170) Ensure the CPU is set to 240Mhz. The value names as of esp-idf 5.x should be: `CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_X` But `CONFIG_ESP32S3_DEFAULT_CPU_FREQ_X` seems to work for both 4.4 and 5.x, so I went with that for now. The previous `CONFIG_ESP32_DEFAULT_CPU_FREQ_X` was just not working on 5.x, always defaulting to 160Mhz. --- components/retro-go/targets/fri3d-2024/sdkconfig | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/components/retro-go/targets/fri3d-2024/sdkconfig b/components/retro-go/targets/fri3d-2024/sdkconfig index e5a2ce19..903927d6 100644 --- a/components/retro-go/targets/fri3d-2024/sdkconfig +++ b/components/retro-go/targets/fri3d-2024/sdkconfig @@ -48,15 +48,10 @@ CONFIG_SPI_MASTER_ISR_IN_IRAM=y # # ESP32-specific # -CONFIG_ESP32_REV_MIN_0=n -CONFIG_ESP32_REV_MIN_1=y -CONFIG_ESP32_REV_MIN_2=n -CONFIG_ESP32_REV_MIN_3=n -CONFIG_ESP32_REV_MIN=1 -CONFIG_ESP32_DEFAULT_CPU_FREQ_80=n -CONFIG_ESP32_DEFAULT_CPU_FREQ_160=n -CONFIG_ESP32_DEFAULT_CPU_FREQ_240=y -CONFIG_ESP32_DEFAULT_CPU_FREQ_MHZ=240 +CONFIG_ESP32S3_DEFAULT_CPU_FREQ_40=n +CONFIG_ESP32S3_DEFAULT_CPU_FREQ_160=n +CONFIG_ESP32S3_DEFAULT_CPU_FREQ_240=y +CONFIG_ESP32S3_DEFAULT_CPU_FREQ_MHZ=240 CONFIG_ESP_SYSTEM_PANIC_PRINT_HALT=n CONFIG_ESP_SYSTEM_PANIC_PRINT_REBOOT=y CONFIG_ESP_SYSTEM_PANIC_SILENT_REBOOT=n