forked from espressif/esp-idf
change: power management iram memory usage optimization is only effective for esp32c2
This commit is contained in:
@@ -1,4 +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
|
||||
select PM_SLP_IRAM_OPT if (SOC_LIGHT_SLEEP_SUPPORTED && ESP_TIMER_IN_IRAM)
|
||||
select PM_RTOS_IDLE_OPT if FREERTOS_USE_TICKLESS_IDLE
|
||||
select ESP_PERIPH_CTRL_FUNC_IN_IRAM
|
||||
select ESP_REGI2C_CTRL_FUNC_IN_IRAM
|
||||
|
||||
|
||||
config PM_ENABLE
|
||||
bool "Support for power management"
|
||||
# SMP FreeRTOS currently does not support power management IDF-4997
|
||||
|
@@ -343,6 +343,7 @@ menu "Wi-Fi"
|
||||
config ESP_WIFI_SLP_IRAM_OPT
|
||||
bool "WiFi SLP IRAM speed optimization"
|
||||
select PM_SLP_DEFAULT_PARAMS_OPT
|
||||
select PM_SLEEP_FUNC_IN_IRAM
|
||||
select ESP_PERIPH_CTRL_FUNC_IN_IRAM
|
||||
default y if SOC_WIFI_HE_SUPPORT
|
||||
help
|
||||
|
Reference in New Issue
Block a user