Skip to content

Commit 9025658

Browse files
fix(lightbulb): Enable new IIC driver in v5.2.6 instead of v5.2.4
1 parent 5d99133 commit 9025658

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed

components/led/lightbulb_driver/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# ChangeLog
22

3+
## v1.7.1 - 2025-03-05
4+
5+
### Bug Fix:
6+
7+
* Enable new IIC driver in v5.2.6 instead of v5.2.4
8+
39
## v1.7.0 - 2025-02-24
410

511
### Improve:

components/led/lightbulb_driver/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ set(srcs "src/hal_driver.c"
55

66
set(priv_req nvs_flash driver esp_timer)
77

8-
if("${IDF_VERSION_MAJOR}.${IDF_VERSION_MINOR}" VERSION_GREATER_EQUAL "5.2.4")
8+
if("${IDF_VERSION_MAJOR}.${IDF_VERSION_MINOR}" VERSION_GREATER_EQUAL "5.2.6")
99
list(APPEND priv_req "esp_driver_i2c")
1010
endif()
1111

components/led/lightbulb_driver/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ menu "LightBulb Driver Config"
5555
depends on ENABLE_KP18058_DRIVER || ENABLE_BP1658CJ_DRIVER || ENABLE_BP57x8D_DRIVER || ENABLE_SM2x35EGH_DRIVER || ENABLE_SM2135EH_DRIVER || ENABLE_SM2135E_DRIVER
5656

5757
config LB_ENABLE_NEW_IIC_DRIVER
58-
depends on ESP_IDF_VERSION >= 5.2.4
58+
depends on ESP_IDF_VERSION >= 5.2.6
5959
bool "Enable new I2C driver"
60-
default "y"
60+
default "n"
6161
help
6262
Enable new I2C driver.
6363

components/led/lightbulb_driver/drivers/common/iic/iic.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#endif
1212

1313
// Need to include this commit: https://github.com/espressif/esp-idf/commit/a245a316a518215c5655ffd2fe24fc920044b094
14-
#if ((ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 2, 4)) && (ESP_IDF_VERSION < ESP_IDF_VERSION_VAL(5, 3, 0))) || \
14+
#if ((ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 2, 6)) && (ESP_IDF_VERSION < ESP_IDF_VERSION_VAL(5, 3, 0))) || \
1515
((ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 3, 3)) && (ESP_IDF_VERSION < ESP_IDF_VERSION_VAL(5, 4, 0))) || \
1616
(ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 4, 1)) && \
1717
(CONFIG_LB_ENABLE_NEW_IIC_DRIVER)

0 commit comments

Comments
 (0)