refactor(esp_hw_support): move system_periph_retention from soc to esp_hw_support

This commit is contained in:
wuzhenghui
2026-06-17 12:21:41 +08:00
parent 1ea37f2961
commit bf4a668089
12 changed files with 2 additions and 4 deletions
+1
View File
@@ -63,6 +63,7 @@ if(NOT non_os_build)
) )
if(CONFIG_SOC_PAU_SUPPORTED AND CONFIG_SOC_PM_SUPPORT_TOP_PD) if(CONFIG_SOC_PAU_SUPPORTED AND CONFIG_SOC_PM_SUPPORT_TOP_PD)
list(APPEND srcs "sleep_system_peripheral.c") list(APPEND srcs "sleep_system_peripheral.c")
list(APPEND srcs "port/${target}/system_periph_retention.c")
endif() endif()
endif() endif()
@@ -4,6 +4,7 @@
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
#include "sdkconfig.h"
#include "soc/cache_reg.h" #include "soc/cache_reg.h"
#include "soc/gpio_reg.h" #include "soc/gpio_reg.h"
#include "soc/hp_system_reg.h" #include "soc/hp_system_reg.h"
-4
View File
@@ -167,10 +167,6 @@ if(CONFIG_SOC_SDIO_SLAVE_SUPPORTED)
list(APPEND srcs "${target_folder}/sdio_slave_periph.c") list(APPEND srcs "${target_folder}/sdio_slave_periph.c")
endif() 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_LCDCAM_CAM_SUPPORTED) if(CONFIG_SOC_LCDCAM_CAM_SUPPORTED)
list(APPEND srcs "${target_folder}/cam_periph.c") list(APPEND srcs "${target_folder}/cam_periph.c")
endif() endif()