File tree Expand file tree Collapse file tree 4 files changed +23
-4
lines changed
components/led/lightbulb_driver Expand file tree Collapse file tree 4 files changed +23
-4
lines changed Original file line number Diff line number Diff line change 11# ChangeLog
22
3+ ## v1.11.0 - 2025-09-17
4+
5+ ### Refactor:
6+
7+ * Clean up the component dependency, don't depend on the ` driver ` component directly
8+
39## v1.10.1 - 2025-09-03
410
511### Bug Fix:
Original file line number Diff line number Diff line change @@ -3,10 +3,18 @@ set(srcs "src/hal_driver.c"
33 "src/lighting.c"
44 )
55
6- set (priv_req nvs_flash driver esp_timer)
6+ set (priv_req nvs_flash esp_timer)
7+ set (public_req)
78
89if ("${IDF_VERSION_MAJOR} .${IDF_VERSION_MINOR} " VERSION_GREATER_EQUAL "5.2.6" )
9- list (APPEND priv_req "esp_driver_i2c" )
10+ list (APPEND priv_req "esp_driver_i2c" )
11+ endif ()
12+
13+ if ("${IDF_VERSION_MAJOR} .${IDF_VERSION_MINOR} " VERSION_GREATER_EQUAL "5.3" )
14+ list (APPEND public_req "esp_driver_gpio" )
15+ list (APPEND priv_req "esp_driver_gptimer" "esp_driver_ledc" "esp_driver_spi" )
16+ else ()
17+ list (APPEND priv_req "driver" )
1018endif ()
1119
1220set (incs "include" "drivers/common/utils/" )
@@ -72,6 +80,7 @@ idf_component_register(SRCS ${srcs}
7280 INCLUDE_DIRS ${incs}
7381 PRIV_INCLUDE_DIRS "src/priv_include"
7482 PRIV_REQUIRES ${priv_req}
83+ REQUIRES ${public_req}
7584 )
7685
7786include (package_manager)
Original file line number Diff line number Diff line change @@ -66,10 +66,14 @@ menu "LightBulb Driver Config"
6666 menu "IIC Config"
6767 depends on ENABLE_KP18058_DRIVER || ENABLE_BP1658CJ_DRIVER || ENABLE_BP57X8D_DRIVER || ENABLE_SM2X35EGH_DRIVER || ENABLE_SM2135EH_DRIVER || ENABLE_SM2135E_DRIVER
6868
69+ config ESP_IDF_VERSION
70+ string
71+ default "${ESP_IDF_VERSION}"
72+
6973 config LB_ENABLE_NEW_IIC_DRIVER
7074 depends on ESP_IDF_VERSION >= 5.2.6
7175 bool "Enable new I2C driver"
72- default "n "
76+ default "y "
7377 help
7478 Enable new I2C driver.
7579
Original file line number Diff line number Diff line change 1- version : " 1.10.1 "
1+ version : " 1.11.0 "
22description : Provide multiple dimming driver solutions to easily build lightbulb applications
33url : https://github.com/espressif/esp-iot-solution/tree/master/components/led/lightbulb_driver
44dependencies :
You can’t perform that action at this time.
0 commit comments