Skip to content

Commit

Permalink
Updated fri3d-2024 sdkconfig to fix CPU frequency (#170)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ducalex committed Nov 28, 2024
1 parent c5f9a75 commit 1013e0f
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions components/retro-go/targets/fri3d-2024/sdkconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1013e0f

Please sign in to comment.