From afe07bb416140f1267066b1892f3078a36836fc5 Mon Sep 17 00:00:00 2001 From: Rishi Agarwal <36127489+rishi9699@users.noreply.github.com> Date: Sun, 27 Oct 2024 12:28:00 +0530 Subject: [PATCH] incorporating relevant changes from led_strip v3.0.0 --- bsp/esp32_c3_lcdkit/esp32_c3_lcdkit.c | 1 - bsp/esp32_s3_korvo_1/esp32_s3_korvo_1.c | 1 - bsp/esp32_s3_korvo_1/idf_component.yml | 4 ++-- bsp/esp_bsp_devkit/idf_component.yml | 2 +- bsp/esp_bsp_devkit/src/esp_bsp_devkit.c | 1 - bsp/esp_bsp_generic/idf_component.yml | 2 +- bsp/esp_bsp_generic/src/esp_bsp_generic.c | 1 - 7 files changed, 4 insertions(+), 8 deletions(-) diff --git a/bsp/esp32_c3_lcdkit/esp32_c3_lcdkit.c b/bsp/esp32_c3_lcdkit/esp32_c3_lcdkit.c index 3b5fb0b4..bfa1fc2b 100644 --- a/bsp/esp32_c3_lcdkit/esp32_c3_lcdkit.c +++ b/bsp/esp32_c3_lcdkit/esp32_c3_lcdkit.c @@ -68,7 +68,6 @@ static i2s_chan_handle_t i2s_tx_chan; static const led_strip_config_t bsp_strip_config = { .strip_gpio_num = BSP_RGB_CTRL, .max_leds = 1, - .led_pixel_format = LED_PIXEL_FORMAT_GRB, .led_model = LED_MODEL_WS2812, .flags.invert_out = false, }; diff --git a/bsp/esp32_s3_korvo_1/esp32_s3_korvo_1.c b/bsp/esp32_s3_korvo_1/esp32_s3_korvo_1.c index 254cafbc..96b27f2c 100644 --- a/bsp/esp32_s3_korvo_1/esp32_s3_korvo_1.c +++ b/bsp/esp32_s3_korvo_1/esp32_s3_korvo_1.c @@ -245,7 +245,6 @@ esp_err_t bsp_iot_button_create(button_handle_t btn_array[], int *btn_cnt, int b static const led_strip_config_t bsp_leds_rgb_strip_config = { .strip_gpio_num = BSP_LED_RGB_GPIO, // The GPIO that connected to the LED strip's data line .max_leds = BSP_LED_NUM, // The number of LEDs in the strip, - .led_pixel_format = LED_PIXEL_FORMAT_GRB, // Pixel format of your LED strip .led_model = LED_MODEL_WS2812, // LED strip model .flags.invert_out = false, // whether to invert the output signal }; diff --git a/bsp/esp32_s3_korvo_1/idf_component.yml b/bsp/esp32_s3_korvo_1/idf_component.yml index 74cabe81..7895a0c6 100644 --- a/bsp/esp32_s3_korvo_1/idf_component.yml +++ b/bsp/esp32_s3_korvo_1/idf_component.yml @@ -1,4 +1,4 @@ -version: "1.1.1" +version: "1.1.2" description: Board Support Package (BSP) for ESP32-S3-KORVO-1 url: https://github.com/espressif/esp-bsp/tree/master/bsp/esp32_s3_korvo_1 @@ -6,7 +6,7 @@ targets: - esp32s3 tags: - - bsp + - bsp dependencies: idf: ">=4.4" diff --git a/bsp/esp_bsp_devkit/idf_component.yml b/bsp/esp_bsp_devkit/idf_component.yml index e8150dd6..82871c5b 100644 --- a/bsp/esp_bsp_devkit/idf_component.yml +++ b/bsp/esp_bsp_devkit/idf_component.yml @@ -1,5 +1,5 @@ -version: "1.0.0" +version: "1.0.1" description: DevKit Board Support Package (BSP) url: https://github.com/espressif/esp-bsp/tree/master/bsp/esp_bsp_devkit diff --git a/bsp/esp_bsp_devkit/src/esp_bsp_devkit.c b/bsp/esp_bsp_devkit/src/esp_bsp_devkit.c index 6c8e14be..6f3d0332 100644 --- a/bsp/esp_bsp_devkit/src/esp_bsp_devkit.c +++ b/bsp/esp_bsp_devkit/src/esp_bsp_devkit.c @@ -155,7 +155,6 @@ static led_indicator_gpio_config_t bsp_leds_gpio_config[] = { static const led_strip_config_t bsp_leds_rgb_strip_config = { .strip_gpio_num = CONFIG_BSP_LED_RGB_GPIO, // The GPIO that connected to the LED strip's data line .max_leds = BSP_LED_NUM, // The number of LEDs in the strip, - .led_pixel_format = LED_PIXEL_FORMAT_GRB, // Pixel format of your LED strip .led_model = LED_MODEL_WS2812, // LED strip model .flags.invert_out = false, // whether to invert the output signal }; diff --git a/bsp/esp_bsp_generic/idf_component.yml b/bsp/esp_bsp_generic/idf_component.yml index 205ee271..d7ed9946 100644 --- a/bsp/esp_bsp_generic/idf_component.yml +++ b/bsp/esp_bsp_generic/idf_component.yml @@ -1,5 +1,5 @@ -version: "1.2.0" +version: "1.2.1" description: Generic Board Support Package (BSP) url: https://github.com/espressif/esp-bsp/tree/master/bsp/esp_bsp_generic diff --git a/bsp/esp_bsp_generic/src/esp_bsp_generic.c b/bsp/esp_bsp_generic/src/esp_bsp_generic.c index e4b4858c..a835a041 100644 --- a/bsp/esp_bsp_generic/src/esp_bsp_generic.c +++ b/bsp/esp_bsp_generic/src/esp_bsp_generic.c @@ -194,7 +194,6 @@ static led_indicator_gpio_config_t bsp_leds_gpio_config[] = { static const led_strip_config_t bsp_leds_rgb_strip_config = { .strip_gpio_num = CONFIG_BSP_LED_RGB_GPIO, // The GPIO that connected to the LED strip's data line .max_leds = BSP_LED_NUM, // The number of LEDs in the strip, - .led_pixel_format = LED_PIXEL_FORMAT_GRB, // Pixel format of your LED strip .led_model = LED_MODEL_WS2812, // LED strip model .flags.invert_out = false, // whether to invert the output signal };