8000 esp32/boards: Use auto xtal freq config instead of default 40MHz. · micropython/micropython@f431795 · GitHub
[go: up one dir, main page]

Skip to content

Commit f431795

Browse files
committed
esp32/boards: Use auto xtal freq config instead of default 40MHz.
Auto-detection of the crystal frequency is convenient and allows for a single binary for many different boards. But it can be unreliable in certain situations so in production, for a given board, it's recommended to configure the correct fixed frequency.
1 parent 5d88272 commit f431795

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

ports/esp32/boards/sdkconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ CONFIG_LOG_BOOTLOADER_LEVEL_WARN=y
1313
# ESP32-specific
1414
CONFIG_ESP32_DEFAULT_CPU_FREQ_240=y
1515
CONFIG_TASK_WDT_CHECK_IDLE_TASK_CPU0=n
16+
CONFIG_ESP32_XTAL_FREQ_AUTO=y
1617

1718
# FreeRTOS
1819
CONFIG_FREERTOS_UNICORE=y

ports/esp32/boards/sdkconfig.spiram

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ CONFIG_LOG_BOOTLOADER_LEVEL_WARN=y
1414
CONFIG_ESP32_DEFAULT_CPU_FREQ_240=y
1515
CONFIG_SPIRAM_SUPPORT=y
1616
CONFIG_TASK_WDT_CHECK_IDLE_TASK_CPU0=n
17+
CONFIG_ESP32_XTAL_FREQ_AUTO=y
1718

1819
# FreeRTOS
1920
CONFIG_FREERTOS_UNICORE=y

0 commit comments

Comments
 (0)
0