feat(mcpwm): support mcpwm sleep retention on p4

This commit is contained in:
Chen Jichang
2024-11-21 11:55:24 +08:00
parent ed61b22e6a
commit a1b42191c2
6 changed files with 19 additions and 6 deletions
@@ -6,8 +6,7 @@ if(CONFIG_PCNT_ISR_IRAM_SAFE)
list(APPEND srcs "test_pulse_cnt_iram.c")
endif()
# TODO: IDF-9907 support ESP32P4
if(CONFIG_SOC_LIGHT_SLEEP_SUPPORTED AND CONFIG_PM_ENABLE AND NOT CONFIG_IDF_TARGET_ESP32P4)
if(CONFIG_SOC_LIGHT_SLEEP_SUPPORTED AND CONFIG_PM_ENABLE)
list(APPEND srcs "test_pulse_cnt_sleep.c")
endif()