esp32s2: use smaller RTC_CLK_CAL_CYCLES by default

Reduce the number proportionally to the frequency (160k on ESP32,
90k on ESP32-S2).
This commit is contained in:
Ivan Grokhotkov
2020-02-17 17:21:15 +01:00
parent 383ace9443
commit a8ad9d6b43

View File

@@ -461,7 +461,7 @@ menu "ESP32S2-specific"
config ESP32S2_RTC_CLK_CAL_CYCLES
int "Number of cycles for RTC_SLOW_CLK calibration"
default 3000 if ESP32S2_RTC_CLK_SRC_EXT_CRYS
default 1024 if ESP32S2_RTC_CLK_SRC_INT_RC
default 576 if ESP32S2_RTC_CLK_SRC_INT_RC
range 0 125000
help
When the startup code initializes RTC_SLOW_CLK, it can perform