Skip to content

Commit e13bed2

Browse files
authored
Modify CMakeLists to include esp_hal_clock (espressif#836)
Updated required components for idf_version 6.0.
1 parent 1d73d88 commit e13bed2

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

CMakeLists.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,7 @@ endif()
9898
set(req driver)
9999
if (idf_version VERSION_GREATER_EQUAL "6.0")
100100
list(APPEND priv_requires esp_driver_gpio esp_driver_spi esp_driver_i2c)
101-
list(APPEND req esp_driver_ledc)
102-
endif()
103-
if (idf_version VERSION_GREATER_EQUAL "6.1")
104-
list(APPEND priv_requires esp_hal_clock)
101+
list(APPEND req esp_driver_ledc esp_hal_clock)
105102
endif()
106103

107104
idf_component_register(

0 commit comments

Comments
 (0)