refactor(bod): Move bod hal to pmu hal component

This commit is contained in:
C.S.M
2025-12-24 19:23:15 +08:00
parent a65c83264f
commit f447fcdf98
19 changed files with 11 additions and 18 deletions
+8
View File
@@ -21,6 +21,14 @@ if(CONFIG_SOC_PAU_SUPPORTED)
list(APPEND srcs "${target}/pau_hal.c")
endif()
if(CONFIG_SOC_BOD_SUPPORTED)
list(APPEND srcs "brownout_hal.c")
endif()
if(CONFIG_SOC_VBAT_SUPPORTED)
list(APPEND srcs "vbat_hal.c")
endif()
idf_component_register(SRCS ${srcs}
INCLUDE_DIRS ${public_include}
REQUIRES soc hal esp_rom