File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change 11menu "Power Management"
2+
3+ config PM_SLEEP_FUNC_IN_IRAM
4+ bool "Place Power Management module functions in IRAM" if IDF_TARGET_ESP32C2
5+ default y
6+ select PM_SLP_IRAM_OPT if (SOC_LIGHT_SLEEP_SUPPORTED && ESP_TIMER_IN_IRAM)
7+ select PM_RTOS_IDLE_OPT if FREERTOS_USE_TICKLESS_IDLE
8+ select ESP_PERIPH_CTRL_FUNC_IN_IRAM
9+ select ESP_REGI2C_CTRL_FUNC_IN_IRAM
10+
11+
212 config PM_ENABLE
313 bool "Support for power management"
414 # SMP FreeRTOS currently does not support power management IDF-4997
Original file line number Diff line number Diff line change @@ -343,6 +343,7 @@ menu "Wi-Fi"
343343 config ESP_WIFI_SLP_IRAM_OPT
344344 bool "WiFi SLP IRAM speed optimization"
345345 select PM_SLP_DEFAULT_PARAMS_OPT
346+ select PM_SLEEP_FUNC_IN_IRAM
346347 select ESP_PERIPH_CTRL_FUNC_IN_IRAM
347348 default y if SOC_WIFI_HE_SUPPORT
348349 help
You can’t perform that action at this time.
0 commit comments