mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-03 06:58:11 +00:00
components/esp32: add CPU frequency selection in menuconfig
Note that with WiFi stack enabled, system_init will reset frequency to 240MHz. To make this setting useful, esp32-wifi-libs submodule needs to be updated.
This commit is contained in:

committed by
Wu Jian Gang

parent
e04e6b0c7f
commit
5ab769516d
@@ -100,7 +100,7 @@
|
||||
#define configTHREAD_LOCAL_STORAGE_DELETE_CALLBACKS 1
|
||||
|
||||
/* TODO: config freq by menuconfig */
|
||||
#define XT_CLOCK_FREQ 80000000
|
||||
#define XT_CLOCK_FREQ (CONFIG_ESP32_DEFAULT_CPU_FREQ_MHZ * 1000000)
|
||||
|
||||
/* Required for configuration-dependent settings */
|
||||
#include "xtensa_config.h"
|
||||
|
Reference in New Issue
Block a user