change(esp_pm): add dependencies on the rtc clock and rtc_time modules for power managment module

This commit is contained in:
Li Shuai
2025-11-20 11:08:37 +08:00
parent 72895e7b71
commit 613f0051f2
+4 -2
View File
@@ -1,12 +1,14 @@
menu "Power Management"
config PM_SLEEP_FUNC_IN_IRAM
bool "Place Power Management module functions in IRAM" if IDF_TARGET_ESP32C2
default y
bool "Place Power Management module functions in IRAM"
default n
select PM_SLP_IRAM_OPT if SOC_LIGHT_SLEEP_SUPPORTED
select PM_RTOS_IDLE_OPT if FREERTOS_USE_TICKLESS_IDLE
select ESP_PERIPH_CTRL_FUNC_IN_IRAM
select ESP_REGI2C_CTRL_FUNC_IN_IRAM
select RTC_CLK_FUNC_IN_IRAM
select RTC_TIME_FUNC_IN_IRAM
config PM_ENABLE