refactor(esp_hw_support): move system_periph_retention from soc to esp_hw_support

This commit is contained in:
wuzhenghui
2026-06-15 17:09:58 +08:00
parent 839352f836
commit c669729707
16 changed files with 3 additions and 5 deletions

View File

@@ -71,7 +71,8 @@ if(NOT non_os_build)
)
if(CONFIG_SOC_PAU_SUPPORTED AND CONFIG_SOC_PM_SUPPORT_TOP_PD)
list(APPEND srcs "sleep_system_peripheral.c")
list(APPEND srcs "port/${target}/peripheral_domain_pd.c")
list(APPEND srcs "port/${target}/peripheral_domain_pd.c"
"port/${target}/system_periph_retention.c")
endif()
endif()

View File

@@ -4,6 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include "sdkconfig.h"
#include "soc/cache_reg.h"
#include "soc/gpio_reg.h"
#include "soc/hp_system_reg.h"

View File

@@ -80,10 +80,6 @@ if(CONFIG_SOC_MPI_SUPPORTED)
list(APPEND srcs "${target_folder}/mpi_periph.c")
endif()
if(CONFIG_SOC_PAU_SUPPORTED AND CONFIG_SOC_LIGHT_SLEEP_SUPPORTED AND CONFIG_SOC_PM_SUPPORT_TOP_PD)
list(APPEND srcs "${target_folder}/system_retention_periph.c")
endif()
if(CONFIG_SOC_BOD_SUPPORTED)
list(APPEND srcs "${target_folder}/power_supply_periph.c")
endif()