change(esp_pm): fix ci failed test case of Automatic light occurs when tasks are suspended

This commit is contained in:
Li Shuai
2026-01-08 11:22:55 +08:00
parent cebfa288fd
commit 83bd91b9c4
2 changed files with 1 additions and 2 deletions
@@ -3,8 +3,6 @@
# Limit test esp_pm auto light sleep logic with faster ticks and faster code
CONFIG_FREERTOS_HZ=1000
CONFIG_COMPILER_OPTIMIZATION_PERF=y
# Minimize the automatic light sleep entry threshold
CONFIG_FREERTOS_IDLE_TIME_BEFORE_SLEEP=2
# Enable PM options for automatic sleeping and DFS
CONFIG_PM_DFS_INIT_AUTO=y
+1
View File
@@ -337,6 +337,7 @@ menu "FreeRTOS"
# Todo: Rename to CONFIG_FREERTOS_EXPECTED_IDLE_TIME_BEFORE_SLEEP (IDF-4986)
int "configEXPECTED_IDLE_TIME_BEFORE_SLEEP"
depends on FREERTOS_USE_TICKLESS_IDLE
default 8 if !PM_SLP_IRAM_OPT && (FREERTOS_HZ > 200)
default 3
range 2 4294967295
# Minimal value is 2 because of a check in FreeRTOS.h (search configEXPECTED_IDLE_TIME_BEFORE_SLEEP)