2022-03-02 02:49:31 -05:00
|
|
|
choice ESP_DEFAULT_CPU_FREQ_MHZ
|
|
|
|
prompt "CPU frequency"
|
|
|
|
default ESP_DEFAULT_CPU_FREQ_MHZ_64 if IDF_ENV_FPGA
|
|
|
|
default ESP_DEFAULT_CPU_FREQ_MHZ_96 if !IDF_ENV_FPGA
|
|
|
|
help
|
|
|
|
CPU frequency to be set on application startup.
|
|
|
|
|
|
|
|
config ESP_DEFAULT_CPU_FREQ_MHZ_16
|
|
|
|
bool "16 MHz"
|
2022-10-19 03:57:24 -04:00
|
|
|
depends on IDF_ENV_FPGA #ESP32H4-TODO: IDF-3786
|
2022-03-02 02:49:31 -05:00
|
|
|
config ESP_DEFAULT_CPU_FREQ_MHZ_32
|
|
|
|
bool "32 MHz"
|
2022-10-19 03:57:24 -04:00
|
|
|
depends on IDF_ENV_FPGA #ESP32H4-TODO: IDF-3786
|
2022-03-02 02:49:31 -05:00
|
|
|
config ESP_DEFAULT_CPU_FREQ_MHZ_64
|
|
|
|
bool "64 MHz"
|
2022-10-19 03:57:24 -04:00
|
|
|
depends on IDF_ENV_FPGA #ESP32H4-TODO: IDF-3786
|
2022-03-02 02:49:31 -05:00
|
|
|
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
|