From 0106a1b2169888d9250edc99ea860555c7476d1a Mon Sep 17 00:00:00 2001 From: pennam Date: Wed, 15 Apr 2026 14:47:59 +0200 Subject: [PATCH 1/2] library: fix zephyr architecture --- library.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library.properties b/library.properties index 5d45ae1..44ed11a 100644 --- a/library.properties +++ b/library.properties @@ -6,4 +6,4 @@ sentence=Video library for Arduino boards paragraph= category=Display url=https://github.com/arduino-libraries/Arduino_Video -architectures=mbed,mbed_portenta,mbed_giga,ArduinoCore-zephyr +architectures=mbed,mbed_portenta,mbed_giga,zephyr_main From 9cf198dd514ef5b2a836996755e934ebb0f8779b Mon Sep 17 00:00:00 2001 From: pennam Date: Wed, 15 Apr 2026 14:49:00 +0200 Subject: [PATCH 2/2] library: allow LVGL configuration using Arduino_Video_LVGLConfig library --- examples/LVGLDemo/LVGLDemo.ino | 5 +++-- examples/LVGLDemo/lv_conf_user.h | 26 -------------------------- library.properties | 1 + 3 files changed, 4 insertions(+), 28 deletions(-) delete mode 100644 examples/LVGLDemo/lv_conf_user.h diff --git a/examples/LVGLDemo/LVGLDemo.ino b/examples/LVGLDemo/LVGLDemo.ino index 67cb404..e5362ab 100644 --- a/examples/LVGLDemo/LVGLDemo.ino +++ b/examples/LVGLDemo/LVGLDemo.ino @@ -9,10 +9,11 @@ by Leonardo Cavagnis */ -#include "Arduino_Video.h" +#include +#include #ifdef ARDUINO_VIDEO_HAS_TOUCH -#include "Arduino_GigaDisplayTouch.h" +#include #endif #include "lvgl.h" diff --git a/examples/LVGLDemo/lv_conf_user.h b/examples/LVGLDemo/lv_conf_user.h deleted file mode 100644 index cd7d4db..0000000 --- a/examples/LVGLDemo/lv_conf_user.h +++ /dev/null @@ -1,26 +0,0 @@ -/* - User overrides for LVGL configuration. - - Place this file in your sketch folder to customize LVGL settings. - Any define here overrides the library defaults in lv_conf.h. -*/ - -/* Widgets used by this example */ -#define LV_USE_IMAGE 1 -#define LV_USE_CHECKBOX 1 -#define LV_USE_BUTTON 1 -#define LV_USE_LABEL 1 -#define LV_USE_SLIDER 1 /* requires LV_USE_BAR */ -#define LV_USE_BAR 1 - -/* Layouts used by this example */ -#define LV_USE_FLEX 1 -#define LV_USE_GRID 1 - -/* Theme used by this example */ -#define LV_USE_THEME_DEFAULT 1 - -/* Color formats needed by this example */ -#define LV_DRAW_SW_SUPPORT_RGB565 1 /* display pixel format */ -#define LV_DRAW_SW_SUPPORT_RGB888 1 /* used internally for gradients */ -#define LV_DRAW_SW_SUPPORT_ARGB8888 1 /* used internally for transparency */ diff --git a/library.properties b/library.properties index 44ed11a..b98eeeb 100644 --- a/library.properties +++ b/library.properties @@ -7,3 +7,4 @@ paragraph= category=Display url=https://github.com/arduino-libraries/Arduino_Video architectures=mbed,mbed_portenta,mbed_giga,zephyr_main +depends=Arduino_Video_LVGLConfig