igrr / arduino-nano-esp32

Arduino Nano ESP32 Board Support Package for ESP-IDF
https://components.espressif.com/components/igrr/arduino-nano-esp32
Apache License 2.0
4 stars 1 forks source link

sdkconfig.defaults doesn't specify CPU speed #2

Closed badlogic closed 1 month ago

badlogic commented 2 months ago

The ESP32-S3 in the Nano runs at 240Mhz. The sdkconfig.defaults file in the blink example doesn't specify that.

The default value (found via menuconfig) is only 160Mhz. Adding CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_240=y to the default config fixes that (and improves performance of CPU heavy workloads noticably :)).