mirror of
https://github.com/espressif/esp-idf
synced 2025-04-13 18:20:10 -04:00
esp32s2: fix wrong deepsleep configuration issue. 1. if RTC_CK8M_ENABLE_WAIT_DEFAULT set to 1, rtc peripherals will not poweron successfully if pd peripherals in light_sleep, the minimum RTC_CK8M_ENABLE_WAIT_DEFAULT is RTC_POWERUP_CYCLES + RTC_WAIT_CYCLES + 2; 2. when goto deepsleep after lightsleep waking up, rtc regulator should not force pu.