From a8ad9d6b43dad90c6436213dfd2c28bd5115052b Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Mon, 17 Feb 2020 17:21:15 +0100 Subject: [PATCH] esp32s2: use smaller RTC_CLK_CAL_CYCLES by default Reduce the number proportionally to the frequency (160k on ESP32, 90k on ESP32-S2). --- components/esp32s2/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/esp32s2/Kconfig b/components/esp32s2/Kconfig index a166c2cdc7..0b9092a03c 100644 --- a/components/esp32s2/Kconfig +++ b/components/esp32s2/Kconfig @@ -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