change(pm): change dependence of pm_slp_iram_opt

This commit is contained in:
Lou Tianhao
2024-08-28 14:15:37 +08:00
parent 0bbd728196
commit 45990692d1

View File

@@ -49,7 +49,7 @@ menu "Power Management"
config PM_SLP_IRAM_OPT config PM_SLP_IRAM_OPT
bool "Put lightsleep related codes in internal RAM" bool "Put lightsleep related codes in internal RAM"
depends on FREERTOS_USE_TICKLESS_IDLE depends on SOC_LIGHT_SLEEP_SUPPORTED
help help
If enabled, about 2.1KB of lightsleep related source code would be in IRAM and chip would sleep If enabled, about 2.1KB of lightsleep related source code would be in IRAM and chip would sleep
longer for 310us at 160MHz CPU frequency most each time. longer for 310us at 160MHz CPU frequency most each time.