refactor(clk): split clock HAL into separate component

This commit is contained in:
Song Ruo Jing
2026-01-31 22:32:37 +08:00
committed by morris
parent 15be2a0176
commit 89da3742b8
77 changed files with 834 additions and 800 deletions
+6 -1
View File
@@ -24,9 +24,14 @@ elseif(NOT BOOTLOADER_BUILD)
endif()
set(requires soc hal esp_hal_gpspi)
if(NOT ${target} STREQUAL "linux")
list(APPEND requires esp_hal_clock) # TODO: IDF-15106 remove esp_hal_clock dependency
endif()
idf_component_register(
SRCS ${srcs}
INCLUDE_DIRS ${includes}
REQUIRES soc hal esp_hal_gpspi
REQUIRES ${requires}
PRIV_REQUIRES esp_hal_gpio
)