2022-11-22 02:14:51 -05:00
|
|
|
choice ESP_DEFAULT_CPU_FREQ_MHZ
|
|
|
|
prompt "CPU frequency"
|
2023-02-15 01:44:58 -05:00
|
|
|
default ESP_DEFAULT_CPU_FREQ_MHZ_32 if IDF_ENV_FPGA
|
2022-11-22 02:14:51 -05:00
|
|
|
default ESP_DEFAULT_CPU_FREQ_MHZ_96
|
|
|
|
help
|
|
|
|
CPU frequency to be set on application startup.
|
|
|
|
|
|
|
|
config ESP_DEFAULT_CPU_FREQ_MHZ_16
|
|
|
|
bool "16 MHz"
|
|
|
|
depends on IDF_ENV_FPGA #ESP32H2-TODO: IDF-3786
|
|
|
|
config ESP_DEFAULT_CPU_FREQ_MHZ_32
|
|
|
|
bool "32 MHz"
|
|
|
|
depends on IDF_ENV_FPGA #ESP32H2-TODO: IDF-3786
|
|
|
|
config ESP_DEFAULT_CPU_FREQ_MHZ_64
|
|
|
|
bool "64 MHz"
|
|
|
|
depends on IDF_ENV_FPGA #ESP32H2-TODO: IDF-3786
|
|
|
|
config ESP_DEFAULT_CPU_FREQ_MHZ_96
|
|
|
|
bool "96 MHz"
|
|
|
|
depends on !IDF_ENV_FPGA
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config ESP_DEFAULT_CPU_FREQ_MHZ
|
|
|
|
int
|
|
|
|
default 16 if ESP_DEFAULT_CPU_FREQ_MHZ_16
|
|
|
|
default 32 if ESP_DEFAULT_CPU_FREQ_MHZ_32
|
|
|
|
default 64 if ESP_DEFAULT_CPU_FREQ_MHZ_64
|
|
|
|
default 96 if ESP_DEFAULT_CPU_FREQ_MHZ_96
|