From b40ace3b74457c8335c1265ecec27c4c6f5c32f0 Mon Sep 17 00:00:00 2001 From: Joris Kleiber Date: Wed, 12 Feb 2025 15:38:02 +0100 Subject: [PATCH] fix: RGB Interfaced bindings for targets with SOC_LCD_RGB_SUPPORTED --- CHANGELOG.md | 1 + src/include/esp-idf/bindings.h | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f240cef493..3bea197d6b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - Fix the `esp_app_desc!` macro so that it properly embeds `CONFIG_ESP_EFUSE_BLOCK_REV_MIN_FULL`/`CONFIG_ESP_EFUSE_BLOCK_REV_MAX_FULL` with recent ESP-IDF versions (5.4+, 5.2.3+, 5.3.2+) - Make sure that the `esp_app_desc!` macro fails at build-time if some of the fields cannot fit inside the structure +- Re-enable "esp_lcd_panel_rgb.h" after >= v5.3 for targets with SOC_LCD_RGB_SUPPORTED ## [0.36.1] - 2025-01-10 diff --git a/src/include/esp-idf/bindings.h b/src/include/esp-idf/bindings.h index d1c32592fb..820410baad 100644 --- a/src/include/esp-idf/bindings.h +++ b/src/include/esp-idf/bindings.h @@ -561,9 +561,9 @@ #include "esp_lcd_types.h" #include "esp_lcd_panel_interface.h" #include "esp_lcd_panel_io_interface.h" -#if (ESP_IDF_VERSION_MAJOR == 4 && ESP_IDF_VERSION_MINOR >= 4) || (ESP_IDF_VERSION_MAJOR >= 5 && ESP_IDF_VERSION_MINOR <= 2) +#if (ESP_IDF_VERSION_MAJOR == 4 && ESP_IDF_VERSION_MINOR >= 4) || ((ESP_IDF_VERSION_MAJOR >= 5 && ESP_IDF_VERSION_MINOR <= 2) || SOC_LCD_RGB_SUPPORTED) #include "esp_lcd_panel_rgb.h" -#endif //((ESP_IDF_VERSION_MAJOR == 4) && (ESP_IDF_VERSION_MINOR >= 4) || (ESP_IDF_VERSION_MAJOR >= 5)) +#endif //(ESP_IDF_VERSION_MAJOR == 4 && ESP_IDF_VERSION_MINOR >= 4) || ((ESP_IDF_VERSION_MAJOR >= 5 && ESP_IDF_VERSION_MINOR <= 2) || SOC_LCD_RGB_SUPPORTED) #if ESP_IDF_VERSION_MAJOR >= 5 && ESP_IDF_VERSION_MINOR >= 3 #include "esp_lcd_panel_dev.h" #include "esp_lcd_panel_nt35510.h"