esp_hw_support: Fix time spent in light sleep when RTC is used for gettimeofday

The esp_timer was not advanced correctly.
This commit is contained in:
KonstantinKondrashov
2022-04-12 01:50:08 +08:00
parent 466e8702b8
commit 1e0eef52d3
4 changed files with 27 additions and 8 deletions

View File

@@ -0,0 +1,10 @@
# For ESP32-S3 and ESP32-C3, keep secondary console disabled
# This is to avoid any timing impact on test behavior
CONFIG_ESP_CONSOLE_SECONDARY_NONE=y
CONFIG_ESP32_TIME_SYSCALL_USE_RTC=y
CONFIG_ESP32S2_TIME_SYSCALL_USE_RTC=y
CONFIG_ESP32S3_TIME_SYSCALL_USE_RTC=y
CONFIG_ESP32C2_TIME_SYSCALL_USE_RTC=y
CONFIG_ESP32C3_TIME_SYSCALL_USE_RTC=y
CONFIG_ESP32H2_TIME_SYSCALL_USE_RTC=y