From 90c0773d0488285bf6e588e5bd993e22ce0ca33f Mon Sep 17 00:00:00 2001 From: "C.S.M" Date: Fri, 14 Nov 2025 11:46:46 +0800 Subject: [PATCH] fix: Add heap dependency to ws2812 and sm16825 --- components/led/lightbulb_driver/drivers/sm16825e/sm16825e.c | 3 ++- components/led/lightbulb_driver/drivers/ws2812/ws2812.c | 3 ++- components/led/lightbulb_driver/idf_component.yml | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/components/led/lightbulb_driver/drivers/sm16825e/sm16825e.c b/components/led/lightbulb_driver/drivers/sm16825e/sm16825e.c index 1e1b67d254..222ccd902f 100644 --- a/components/led/lightbulb_driver/drivers/sm16825e/sm16825e.c +++ b/components/led/lightbulb_driver/drivers/sm16825e/sm16825e.c @@ -10,7 +10,8 @@ #include #include #include - +#include "esp_heap_caps.h" +#include "esp_idf_version.h" #include "driver_utils.h" #include "sm16825e.h" diff --git a/components/led/lightbulb_driver/drivers/ws2812/ws2812.c b/components/led/lightbulb_driver/drivers/ws2812/ws2812.c index 507652abce..412a292b18 100644 --- a/components/led/lightbulb_driver/drivers/ws2812/ws2812.c +++ b/components/led/lightbulb_driver/drivers/ws2812/ws2812.c @@ -9,7 +9,8 @@ #include #include #include - +#include "esp_heap_caps.h" +#include "esp_idf_version.h" #include "driver_utils.h" #include "ws2812.h" diff --git a/components/led/lightbulb_driver/idf_component.yml b/components/led/lightbulb_driver/idf_component.yml index d5cb8e7426..c399f4e969 100644 --- a/components/led/lightbulb_driver/idf_component.yml +++ b/components/led/lightbulb_driver/idf_component.yml @@ -1,4 +1,4 @@ -version: "1.11.0" +version: "1.11.1" 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: