Merge branch 'bugfix/idfci-7928_v5.2' into 'release/v5.2'

backport v5.2: fix ci failed test case of Automatic light occurs when tasks are suspended

See merge request espressif/esp-idf!45214
This commit is contained in:
Jiang Jiang Jian
2026-01-26 10:34:48 +08:00
2 changed files with 1 additions and 2 deletions

View File

@@ -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

View File

@@ -304,6 +304,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)