change(esp_hw_support): change for pmu build pass

This commit is contained in:
Li Shuai
2025-03-10 11:49:25 +08:00
committed by BOT
parent 1da425bdc7
commit 410fb091d9
6 changed files with 27 additions and 9 deletions

View File

@@ -33,11 +33,13 @@ if(NOT non_os_build)
"sar_periph_ctrl_common.c"
"port/${target}/io_mux.c"
"port/${target}/esp_clk_tree.c"
"port/esp_clk_tree_common.c"
"dma/esp_dma_utils.c"
"dma/gdma_link.c"
"spi_bus_lock.c"
"clk_utils.c")
if(CONFIG_SOC_CLK_TREE_SUPPORTED)
list(APPEND srcs "port/esp_clk_tree_common.c")
endif()
if(CONFIG_SOC_GPSPI_SUPPORTED)
list(APPEND srcs "spi_share_hw_ctrl.c")
endif()
@@ -58,7 +60,7 @@ if(NOT non_os_build)
"sleep_gpio.c"
"sleep_event.c"
)
if(CONFIG_SOC_PAU_SUPPORTED)
if(CONFIG_SOC_PAU_SUPPORTED AND CONFIG_SOC_PM_SUPPORT_TOP_PD)
list(APPEND srcs "sleep_system_peripheral.c")
endif()
endif()