mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
refactor(esp_hw_support): move system_periph_retention from soc to esp_hw_support
This commit is contained in:
@@ -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()
|
||||||
|
|
||||||
|
|||||||
+1
@@ -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"
|
||||||
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user