Hi,
I have a Giga R1 with display shield and I am trying to run the LVGL examples. First, starting here https://docs.arduino.cc/tutorials/giga-display-shield/getting-started/
-
In the Arduino IDE, under "Board Manager", I have installed Arduino Mbed OS Giga Boards version 4.1.1.
-
In the Arduino library manager, I have installed the following libraries
ArduinoGraphics Version 1.1.1,
Arduino_GigaDisplayTouch Version 1.0.0,
Arduino_GigaDisplay_GFX Version 1.0.0 (including its dependencies that automatically get asked to install at the same time),
Arduino_GigaDisplay Version 1.0.0 (including its dependencies that automatically get asked to install at the same time),
Arduino_BMI270_BMM150 Version 1.1.1
Now following the instructions from here https://docs.arduino.cc/tutorials/giga-display-shield/lvgl-guide/
Arduino_H7_Video and Arduino_GigaDisplayTouch are already installed as above from the getting started guide. Now I install LVGL Version 9.0.0. I read from some other forum posts that Versions 8.3.XX may need to be installed. If this is true, I really suggest improvements to the documentation on the LVGL guide, this is impossible to know in its current form.
So, proceeding with the most recent version (9.0.0) that is installed by default as if you are following the guide. I then take the checkbox example as follows and attempt to upload this to the board. My IDE upload options are Board: Arduino Giga R1, Flash split: 2MB M7 + M4 in SDRAM, Target core: Main Core.
#include "Arduino_H7_Video.h"
#include "lvgl.h"
#include "Arduino_GigaDisplayTouch.h"
Arduino_H7_Video Display(800, 480, GigaDisplayShield);
Arduino_GigaDisplayTouch TouchDetector;
void setup() {
Display.begin();
TouchDetector.begin();
lv_obj_t * screen = lv_obj_create(lv_scr_act());
lv_obj_set_size(screen, Display.width(), Display.height());
static lv_coord_t col_dsc[] = { 500, LV_GRID_TEMPLATE_LAST};
static lv_coord_t row_dsc[] = { 400, LV_GRID_TEMPLATE_LAST};
lv_obj_t * grid = lv_obj_create(lv_scr_act());
lv_obj_set_grid_dsc_array(grid, col_dsc, row_dsc);
lv_obj_set_size(grid, Display.width(), Display.height());
lv_obj_center(grid);
lv_obj_t * obj;
obj = lv_obj_create(grid);
lv_obj_set_grid_cell(obj, LV_GRID_ALIGN_STRETCH, 0, 1,
LV_GRID_ALIGN_STRETCH, 0, 1);
lv_obj_set_flex_flow(obj, LV_FLEX_FLOW_COLUMN);
lv_obj_t * cb;
cb = lv_checkbox_create(obj);
lv_checkbox_set_text(cb, "Apple");
cb = lv_checkbox_create(obj);
lv_checkbox_set_text(cb, "Banana");
lv_obj_add_state(cb, LV_STATE_CHECKED);
}
void loop() {
lv_timer_handler();
}
Compilation fails with the following errors:
Arduino: 1.8.16 (Windows 10), Board: "Arduino Giga R1, Main Core, 2MB M7 + M4 in SDRAM"
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src\edid.c: In function 'detailed_cvt_descriptor':
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src\edid.c:135:61: warning: variable 'reduced' set but not used [-Wunused-but-set-variable]
int fifty = 0, sixty = 0, seventyfive = 0, eightyfive = 0, reduced = 0;
^~~~~~~
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src\edid.c:135:45: warning: variable 'eightyfive' set but not used [-Wunused-but-set-variable]
int fifty = 0, sixty = 0, seventyfive = 0, eightyfive = 0, reduced = 0;
^~~~~~~~~~
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src\edid.c:135:28: warning: variable 'seventyfive' set but not used [-Wunused-but-set-variable]
int fifty = 0, sixty = 0, seventyfive = 0, eightyfive = 0, reduced = 0;
^~~~~~~~~~~
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src\edid.c:135:17: warning: variable 'sixty' set but not used [-Wunused-but-set-variable]
int fifty = 0, sixty = 0, seventyfive = 0, eightyfive = 0, reduced = 0;
^~~~~
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src\edid.c:135:6: warning: variable 'fifty' set but not used [-Wunused-but-set-variable]
int fifty = 0, sixty = 0, seventyfive = 0, eightyfive = 0, reduced = 0;
^~~~~
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src\edid.c:133:6: warning: variable 'width' set but not used [-Wunused-but-set-variable]
int width = 0, height = 0;
^~~~~
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src\edid.c:132:21: warning: unused variable 'names' [-Wunused-variable]
static const char *names[] = { "50", "60", "75", "85" };
^~~~~
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src\edid.c: In function 'cea_block':
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src\edid.c:926:7: warning: unused variable 'length' [-Wunused-variable]
int length = *x & 0x1f;
^~~~~~
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src\edid.c:925:7: warning: unused variable 'tag' [-Wunused-variable]
int tag = (*x & 0xe0) >> 5;
^~~
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src\edid.c: In function 'decode_edid':
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src\edid.c:1342:17: warning: unused variable 'ratio' [-Wunused-variable]
unsigned int ratio = 100000/(edid[0x15] + 99);
^~~~~
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src\edid.c:1347:17: warning: unused variable 'ratio' [-Wunused-variable]
unsigned int ratio = 100000/(edid[0x16] + 99);
^~~~~
At top level:
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src\edid.c:132:21: warning: 'names' defined but not used [-Wunused-variable]
static const char *names[] = { "50", "60", "75", "85" };
^~~~~
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src\edid.c:648:1: warning: 'audio_format' defined but not used [-Wunused-function]
audio_format(unsigned char x)
^~~~~~~~~~~~
In file included from C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino/mbed/targets/TARGET_STM/TARGET_STM32H7/STM32Cube_FW/STM32H7xx_HAL_Driver/stm32h7xx_hal_rcc.h:29:0,
from C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino/mbed/targets/TARGET_STM/TARGET_STM32H7/STM32Cube_FW/stm32h7xx_hal_conf.h:398,
from C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino/mbed/targets/TARGET_STM/TARGET_STM32H7/STM32Cube_FW/STM32H7xx_HAL_Driver/stm32h7xx_hal.h:30,
from C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino/mbed/targets/TARGET_STM/TARGET_STM32H7/STM32Cube_FW/CMSIS/stm32h7xx.h:223,
from C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino/mbed/targets/TARGET_STM/TARGET_STM32H7/cmsis.h:22,
from C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino/mbed/targets/TARGET_STM/PinNamesTypes.h:33,
from C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/pinmode_arduino.h:24,
from C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino/Arduino.h:26,
from C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src\dsi.cpp:12:
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src\dsi.cpp: In function 'int dsi_init(uint8_t, edid*, display_timing*)':
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino/mbed/targets/TARGET_STM/TARGET_STM32H7/STM32Cube_FW/STM32H7xx_HAL_Driver/stm32h7xx_hal_rcc.h:1704:48: warning: conversion to void will not access object of type 'volatile uint32_t {aka volatile long unsigned int}'
UNUSED(tmpreg); \
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino/mbed/targets/TARGET_STM/TARGET_STM32H7/STM32Cube_FW/STM32H7xx_HAL_Driver/stm32h7xx_hal_def.h:70:27: note: in definition of macro 'UNUSED'
#define UNUSED(x) ((void)(x))
^
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src\dsi.cpp:87:2: note: in expansion of macro '__HAL_RCC_LTDC_CLK_ENABLE'
__HAL_RCC_LTDC_CLK_ENABLE();
^
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino/mbed/targets/TARGET_STM/TARGET_STM32H7/STM32Cube_FW/STM32H7xx_HAL_Driver/stm32h7xx_hal_rcc.h:780:48: warning: conversion to void will not access object of type 'volatile uint32_t {aka volatile long unsigned int}'
UNUSED(tmpreg); \
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino/mbed/targets/TARGET_STM/TARGET_STM32H7/STM32Cube_FW/STM32H7xx_HAL_Driver/stm32h7xx_hal_def.h:70:27: note: in definition of macro 'UNUSED'
#define UNUSED(x) ((void)(x))
^
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src\dsi.cpp:94:2: note: in expansion of macro '__HAL_RCC_DMA2D_CLK_ENABLE'
__HAL_RCC_DMA2D_CLK_ENABLE();
^
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino/mbed/targets/TARGET_STM/TARGET_STM32H7/STM32Cube_FW/STM32H7xx_HAL_Driver/stm32h7xx_hal_rcc.h:1714:48: warning: conversion to void will not access object of type 'volatile uint32_t {aka volatile long unsigned int}'
UNUSED(tmpreg); \
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino/mbed/targets/TARGET_STM/TARGET_STM32H7/STM32Cube_FW/STM32H7xx_HAL_Driver/stm32h7xx_hal_def.h:70:27: note: in definition of macro 'UNUSED'
#define UNUSED(x) ((void)(x))
^
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src\dsi.cpp:101:2: note: in expansion of macro '__HAL_RCC_DSI_CLK_ENABLE'
__HAL_RCC_DSI_CLK_ENABLE();
^
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src\dsi.cpp:257:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src\Arduino_H7_Video.cpp:40:27: error: variable or field 'lvgl_displayFlushing' declared void
void lvgl_displayFlushing(lv_disp_drv_t * disp, const lv_area_t * area, lv_color_t * color_p);
^~~~~~~~~~~~~
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src\Arduino_H7_Video.cpp:40:27: error: 'lv_disp_drv_t' was not declared in this scope
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src\Arduino_H7_Video.cpp:40:27: note: suggested alternative: 'lv_fs_drv_t'
void lvgl_displayFlushing(lv_disp_drv_t * disp, const lv_area_t * area, lv_color_t * color_p);
^~~~~~~~~~~~~
lv_fs_drv_t
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src\Arduino_H7_Video.cpp:40:43: error: 'disp' was not declared in this scope
void lvgl_displayFlushing(lv_disp_drv_t * disp, const lv_area_t * area, lv_color_t * color_p);
^~~~
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src\Arduino_H7_Video.cpp:40:43: note: suggested alternative: 'dsi'
void lvgl_displayFlushing(lv_disp_drv_t * disp, const lv_area_t * area, lv_color_t * color_p);
^~~~
dsi
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src\Arduino_H7_Video.cpp:40:49: error: expected primary-expression before 'const'
void lvgl_displayFlushing(lv_disp_drv_t * disp, const lv_area_t * area, lv_color_t * color_p);
^~~~~
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src\Arduino_H7_Video.cpp:40:84: error: expected primary-expression before '*' token
void lvgl_displayFlushing(lv_disp_drv_t * disp, const lv_area_t * area, lv_color_t * color_p);
^
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src\Arduino_H7_Video.cpp:40:86: error: 'color_p' was not declared in this scope
void lvgl_displayFlushing(lv_disp_drv_t * disp, const lv_area_t * area, lv_color_t * color_p);
^~~~~~~
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src\Arduino_H7_Video.cpp:40:86: note: suggested alternative: 'lv_color_t'
void lvgl_displayFlushing(lv_disp_drv_t * disp, const lv_area_t * area, lv_color_t * color_p);
^~~~~~~
lv_color_t
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src\Arduino_H7_Video.cpp: In member function 'int Arduino_H7_Video::begin()':
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src\Arduino_H7_Video.cpp:88:12: error: 'lv_disp_draw_buf_t' does not name a type; did you mean 'lv_draw_buf_t'?
static lv_disp_draw_buf_t draw_buf;
^~~~~~~~~~~~~~~~~~
lv_draw_buf_t
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src\Arduino_H7_Video.cpp:94:28: error: 'draw_buf' was not declared in this scope
lv_disp_draw_buf_init(&draw_buf, buf1, NULL, width() * height() / 10); /* Initialize the display buffer. */
^~~~~~~~
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src\Arduino_H7_Video.cpp:94:28: note: suggested alternative: 'lv_draw_buf_t'
lv_disp_draw_buf_init(&draw_buf, buf1, NULL, width() * height() / 10); /* Initialize the display buffer. */
^~~~~~~~
lv_draw_buf_t
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src\Arduino_H7_Video.cpp:94:5: error: 'lv_disp_draw_buf_init' was not declared in this scope
lv_disp_draw_buf_init(&draw_buf, buf1, NULL, width() * height() / 10); /* Initialize the display buffer. */
^~~~~~~~~~~~~~~~~~~~~
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src\Arduino_H7_Video.cpp:94:5: note: suggested alternative: 'lv_draw_buf_init'
lv_disp_draw_buf_init(&draw_buf, buf1, NULL, width() * height() / 10); /* Initialize the display buffer. */
^~~~~~~~~~~~~~~~~~~~~
lv_draw_buf_init
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src\Arduino_H7_Video.cpp:97:12: error: 'lv_disp_drv_t' does not name a type; did you mean 'lv_fs_drv_t'?
static lv_disp_drv_t disp_drv; /* Descriptor of a display driver */
^~~~~~~~~~~~~
lv_fs_drv_t
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src\Arduino_H7_Video.cpp:98:23: error: 'disp_drv' was not declared in this scope
lv_disp_drv_init(&disp_drv); /* Basic initialization */
^~~~~~~~
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src\Arduino_H7_Video.cpp:98:5: error: 'lv_disp_drv_init' was not declared in this scope
lv_disp_drv_init(&disp_drv); /* Basic initialization */
^~~~~~~~~~~~~~~~
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src\Arduino_H7_Video.cpp:98:5: note: suggested alternative: 'lv_fs_drv_init'
lv_disp_drv_init(&disp_drv); /* Basic initialization */
^~~~~~~~~~~~~~~~
lv_fs_drv_init
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src\Arduino_H7_Video.cpp:99:25: error: 'lvgl_displayFlushing' was not declared in this scope
disp_drv.flush_cb = lvgl_displayFlushing; /* Set your driver function */
^~~~~~~~~~~~~~~~~~~~
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src\Arduino_H7_Video.cpp:99:25: note: suggested alternative: 'lv_display_flush_cb_t'
disp_drv.flush_cb = lvgl_displayFlushing; /* Set your driver function */
^~~~~~~~~~~~~~~~~~~~
lv_display_flush_cb_t
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src\Arduino_H7_Video.cpp:104:27: error: 'LV_DISP_ROT_270' was not declared in this scope
disp_drv.rotated = LV_DISP_ROT_270;
^~~~~~~~~~~~~~~
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src\Arduino_H7_Video.cpp:104:27: note: suggested alternative: 'LV_DISP_ROTATION_270'
disp_drv.rotated = LV_DISP_ROT_270;
^~~~~~~~~~~~~~~
LV_DISP_ROTATION_270
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src\Arduino_H7_Video.cpp:108:27: error: 'LV_DISP_ROT_NONE' was not declared in this scope
disp_drv.rotated = LV_DISP_ROT_NONE;
^~~~~~~~~~~~~~~~
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src\Arduino_H7_Video.cpp:108:27: note: suggested alternative: 'LV_DIR_NONE'
disp_drv.rotated = LV_DISP_ROT_NONE;
^~~~~~~~~~~~~~~~
LV_DIR_NONE
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src\Arduino_H7_Video.cpp:111:5: error: 'lv_disp_drv_register' was not declared in this scope
lv_disp_drv_register(&disp_drv); /* Finally register the driver */
^~~~~~~~~~~~~~~~~~~~
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src\Arduino_H7_Video.cpp:111:5: note: suggested alternative: 'lv_fs_drv_register'
lv_disp_drv_register(&disp_drv); /* Finally register the driver */
^~~~~~~~~~~~~~~~~~~~
lv_fs_drv_register
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src\Arduino_H7_Video.cpp: At global scope:
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src\Arduino_H7_Video.cpp:192:27: error: variable or field 'lvgl_displayFlushing' declared void
void lvgl_displayFlushing(lv_disp_drv_t * disp, const lv_area_t * area, lv_color_t * color_p) {
^~~~~~~~~~~~~
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src\Arduino_H7_Video.cpp:192:27: error: 'lv_disp_drv_t' was not declared in this scope
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src\Arduino_H7_Video.cpp:192:27: note: suggested alternative: 'lv_fs_drv_t'
void lvgl_displayFlushing(lv_disp_drv_t * disp, const lv_area_t * area, lv_color_t * color_p) {
^~~~~~~~~~~~~
lv_fs_drv_t
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src\Arduino_H7_Video.cpp:192:43: error: 'disp' was not declared in this scope
void lvgl_displayFlushing(lv_disp_drv_t * disp, const lv_area_t * area, lv_color_t * color_p) {
^~~~
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src\Arduino_H7_Video.cpp:192:43: note: suggested alternative: 'dsi'
void lvgl_displayFlushing(lv_disp_drv_t * disp, const lv_area_t * area, lv_color_t * color_p) {
^~~~
dsi
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src\Arduino_H7_Video.cpp:192:49: error: expected primary-expression before 'const'
void lvgl_displayFlushing(lv_disp_drv_t * disp, const lv_area_t * area, lv_color_t * color_p) {
^~~~~
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src\Arduino_H7_Video.cpp:192:84: error: expected primary-expression before '*' token
void lvgl_displayFlushing(lv_disp_drv_t * disp, const lv_area_t * area, lv_color_t * color_p) {
^
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src\Arduino_H7_Video.cpp:192:86: error: 'color_p' was not declared in this scope
void lvgl_displayFlushing(lv_disp_drv_t * disp, const lv_area_t * area, lv_color_t * color_p) {
^~~~~~~
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src\Arduino_H7_Video.cpp:192:86: note: suggested alternative: 'lv_color_t'
void lvgl_displayFlushing(lv_disp_drv_t * disp, const lv_area_t * area, lv_color_t * color_p) {
^~~~~~~
lv_color_t
exit status 1
Error compiling for board Arduino Giga R1.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
I was able to make slightly more progress reverting to Versions 8.3.XX of LVGL but this would not be following the current instructions available at https://docs.arduino.cc/tutorials/giga-display-shield/lvgl-guide/ , so I do not want to confuse matters by going down a different path than the offical documentation. If reverting to 8.3.XX is the suggested solution, can you please update the guide to reflect this so that we can continue to discuss this in a way that is likely to be helpful to more users?