Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions components/led/lightbulb_driver/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# ChangeLog

## v1.11.0 - 2025-09-17

### Refactor:

* Clean up the component dependency, don't depend on the `driver` component directly

## v1.10.1 - 2025-09-03

### Bug Fix:
Expand Down
13 changes: 11 additions & 2 deletions components/led/lightbulb_driver/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,18 @@ set(srcs "src/hal_driver.c"
"src/lighting.c"
)

set(priv_req nvs_flash driver esp_timer)
set(priv_req nvs_flash esp_timer)
set(public_req)

if("${IDF_VERSION_MAJOR}.${IDF_VERSION_MINOR}" VERSION_GREATER_EQUAL "5.2.6")
list(APPEND priv_req "esp_driver_i2c")
list(APPEND priv_req "esp_driver_i2c")
endif()

if("${IDF_VERSION_MAJOR}.${IDF_VERSION_MINOR}" VERSION_GREATER_EQUAL "5.3")
list(APPEND public_req "esp_driver_gpio")
list(APPEND priv_req "esp_driver_gptimer" "esp_driver_ledc" "esp_driver_spi")
else()
list(APPEND priv_req "driver")
endif()

set(incs "include" "drivers/common/utils/")
Expand Down Expand Up @@ -72,6 +80,7 @@ idf_component_register(SRCS ${srcs}
INCLUDE_DIRS ${incs}
PRIV_INCLUDE_DIRS "src/priv_include"
PRIV_REQUIRES ${priv_req}
REQUIRES ${public_req}
)

include(package_manager)
Expand Down
2 changes: 1 addition & 1 deletion components/led/lightbulb_driver/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ menu "LightBulb Driver Config"
config LB_ENABLE_NEW_IIC_DRIVER
depends on ESP_IDF_VERSION >= 5.2.6
bool "Enable new I2C driver"
default "n"
default "y"
help
Enable new I2C driver.

Expand Down
2 changes: 1 addition & 1 deletion components/led/lightbulb_driver/idf_component.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "1.10.1"
version: "1.11.0"
description: Provide multiple dimming driver solutions to easily build lightbulb applications
url: https://github.com/espressif/esp-iot-solution/tree/master/components/led/lightbulb_driver
dependencies:
Expand Down