From 83bd91b9c458f57be9cb439fa7941fe8f862fb81 Mon Sep 17 00:00:00 2001 From: Li Shuai Date: Thu, 8 Jan 2026 11:22:55 +0800 Subject: [PATCH] change(esp_pm): fix ci failed test case of Automatic light occurs when tasks are suspended --- components/esp_pm/test_apps/esp_pm/sdkconfig.ci.limits | 2 -- components/freertos/Kconfig | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/components/esp_pm/test_apps/esp_pm/sdkconfig.ci.limits b/components/esp_pm/test_apps/esp_pm/sdkconfig.ci.limits index 2aec98155c..b0266392d9 100644 --- a/components/esp_pm/test_apps/esp_pm/sdkconfig.ci.limits +++ b/components/esp_pm/test_apps/esp_pm/sdkconfig.ci.limits @@ -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 diff --git a/components/freertos/Kconfig b/components/freertos/Kconfig index df75e9c63e..aaa7369195 100644 --- a/components/freertos/Kconfig +++ b/components/freertos/Kconfig @@ -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)