mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
d2872095f9
Moved the following kconfig options out of the target component: * CONFIG_ESP*_DEFAULT_CPU_FREQ* -> esp_system * ESP*_REV_MIN -> esp_hw_support * ESP*_TIME_SYSCALL -> newlib * ESP*_RTC_* -> esp_hw_support Where applicable these target specific konfig names were merged into a single common config, e.g; CONFIG_ESP*_DEFAULT_CPU_FREQ -> CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ
25 lines
741 B
Plaintext
25 lines
741 B
Plaintext
choice ESP_DEFAULT_CPU_FREQ_MHZ
|
|
prompt "CPU frequency"
|
|
default ESP_DEFAULT_CPU_FREQ_MHZ_40 if IDF_ENV_FPGA
|
|
default ESP_DEFAULT_CPU_FREQ_MHZ_160
|
|
help
|
|
CPU frequency to be set on application startup.
|
|
|
|
config ESP_DEFAULT_CPU_FREQ_MHZ_40
|
|
bool "40 MHz"
|
|
depends on IDF_ENV_FPGA
|
|
config ESP_DEFAULT_CPU_FREQ_MHZ_80
|
|
bool "80 MHz"
|
|
config ESP_DEFAULT_CPU_FREQ_MHZ_160
|
|
bool "160 MHz"
|
|
config ESP_DEFAULT_CPU_FREQ_MHZ_240
|
|
bool "240 MHz"
|
|
endchoice
|
|
|
|
config ESP_DEFAULT_CPU_FREQ_MHZ
|
|
int
|
|
default 40 if ESP_DEFAULT_CPU_FREQ_MHZ_40
|
|
default 80 if ESP_DEFAULT_CPU_FREQ_MHZ_80
|
|
default 160 if ESP_DEFAULT_CPU_FREQ_MHZ_160
|
|
default 240 if ESP_DEFAULT_CPU_FREQ_MHZ_240
|