Giga display shield LVGL examples don't work

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/

  1. In the Arduino IDE, under "Board Manager", I have installed Arduino Mbed OS Giga Boards version 4.1.1.

  2. 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?

You might take a look at this recent thread:

Never actually found anywhere mentioned that they only support 8.3.x, but...

Hi Kurt,

Yeah I saw this one but if this is the case then I really think the guide should be updated to reflect this.

When switching to 8.3.11 I am able to compile and upload the example, albeit with a lot of warnings, mostly -Wunknown-pragmas.

So now the example runs, I can see both buttons (Apple and Banana) but it seems the touch function does not work. I cannot select either option.

My main confusion now is trying to figure out if this is a software/library issue due to the somewhat random version of LVGL we have selected, or if it is hardware issue.

1 Like

I completely agree.

However in that other thread:

Not sure exactly what that means in short and long term with using LVGL.

I have only just played a little with it...

Good luck

So here is the current state:

  1. Running the GFX Text example looks and seems okay.

  2. Running the LVGL touch example compiles OK (with LVGL 8.3.11) but touch does not work. There is not much way to get feedback as to why touch is not working in this example so I switch back to the Display Shield GFX Guide, the GFX & Touch Example which at least gives some feedback at the start during touch controller initialization.

  3. The GFX touch example fails to compile with LVGL 8.3.11 with errors shown below. Switching back to 9.0 allows the compilation to work and upload to the board. There are obviously some major versioning issues going on that should probably be looked into further.

After uploading, the screen still shows the LVGL example from step 2, even though the IDE says upload was succesful. I believe this is related to the touchscreen. Watching the serial monitor after uploading, I see Touch controller init - FAILED. I guess that if this step fails, the rest of the code setting the screen black/white doesn't run so I am left with the display still looking like the LVGL example from the previous step.

I would appreciate if anyone has any ideas how I can debug this further. So far I think there is something wrong with the Touch controller but I really don't know how to test further.


FQBN: arduino:mbed_giga:giga
Using board 'giga' from platform in folder: C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1
Using core 'arduino' from platform in folder: C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1

Detecting libraries used...
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/defines.txt @C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/cxxflags.txt -mcpu=cortex-m7 -mfloat-abi=softfp -mfpu=fpv5-d16 -w -x c++ -E -CC -DARDUINO=10607 -DARDUINO_GIGA -DARDUINO_ARCH_MBED_GIGA -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA -DCM4_BINARY_START=0x60000000 -DCM4_BINARY_END=0x60040000 -DCM4_RAM_END=0x60080000 -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino/api/deprecated -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino/api/deprecated-avr-comp -iprefixC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino @C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/../GIGA/includes.txt C:\Users\adthe\AppData\Local\Temp\arduino\sketches\579BDAA3376D704FA19012655A866516\sketch\sketch_feb22a.ino.cpp -o nul
Alternatives for Arduino_GigaDisplay_GFX.h: [Arduino_GigaDisplay_GFX@1.0.0]
ResolveLibrary(Arduino_GigaDisplay_GFX.h)
  -> candidates: [Arduino_GigaDisplay_GFX@1.0.0]
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/defines.txt @C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/cxxflags.txt -mcpu=cortex-m7 -mfloat-abi=softfp -mfpu=fpv5-d16 -w -x c++ -E -CC -DARDUINO=10607 -DARDUINO_GIGA -DARDUINO_ARCH_MBED_GIGA -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA -IC:\Users\adthe\Documents\Arduino\libraries\Arduino_GigaDisplay_GFX\src -DCM4_BINARY_START=0x60000000 -DCM4_BINARY_END=0x60040000 -DCM4_RAM_END=0x60080000 -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino/api/deprecated -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino/api/deprecated-avr-comp -iprefixC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino @C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/../GIGA/includes.txt C:\Users\adthe\AppData\Local\Temp\arduino\sketches\579BDAA3376D704FA19012655A866516\sketch\sketch_feb22a.ino.cpp -o nul
Alternatives for Arduino_H7_Video.h: [Arduino_H7_Video@1.0]
ResolveLibrary(Arduino_H7_Video.h)
  -> candidates: [Arduino_H7_Video@1.0]
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/defines.txt @C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/cxxflags.txt -mcpu=cortex-m7 -mfloat-abi=softfp -mfpu=fpv5-d16 -w -x c++ -E -CC -DARDUINO=10607 -DARDUINO_GIGA -DARDUINO_ARCH_MBED_GIGA -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA -IC:\Users\adthe\Documents\Arduino\libraries\Arduino_GigaDisplay_GFX\src -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src -DCM4_BINARY_START=0x60000000 -DCM4_BINARY_END=0x60040000 -DCM4_RAM_END=0x60080000 -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino/api/deprecated -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino/api/deprecated-avr-comp -iprefixC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino @C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/../GIGA/includes.txt C:\Users\adthe\AppData\Local\Temp\arduino\sketches\579BDAA3376D704FA19012655A866516\sketch\sketch_feb22a.ino.cpp -o nul
Alternatives for Adafruit_GFX.h: [Adafruit GFX Library@1.11.9]
ResolveLibrary(Adafruit_GFX.h)
  -> candidates: [Adafruit GFX Library@1.11.9]
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/defines.txt @C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/cxxflags.txt -mcpu=cortex-m7 -mfloat-abi=softfp -mfpu=fpv5-d16 -w -x c++ -E -CC -DARDUINO=10607 -DARDUINO_GIGA -DARDUINO_ARCH_MBED_GIGA -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA -IC:\Users\adthe\Documents\Arduino\libraries\Arduino_GigaDisplay_GFX\src -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src -IC:\Users\adthe\Documents\Arduino\libraries\Adafruit_GFX_Library -DCM4_BINARY_START=0x60000000 -DCM4_BINARY_END=0x60040000 -DCM4_RAM_END=0x60080000 -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino/api/deprecated -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino/api/deprecated-avr-comp -iprefixC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino @C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/../GIGA/includes.txt C:\Users\adthe\AppData\Local\Temp\arduino\sketches\579BDAA3376D704FA19012655A866516\sketch\sketch_feb22a.ino.cpp -o nul
Alternatives for Adafruit_I2CDevice.h: [Adafruit BusIO@1.15.0]
ResolveLibrary(Adafruit_I2CDevice.h)
  -> candidates: [Adafruit BusIO@1.15.0]
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/defines.txt @C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/cxxflags.txt -mcpu=cortex-m7 -mfloat-abi=softfp -mfpu=fpv5-d16 -w -x c++ -E -CC -DARDUINO=10607 -DARDUINO_GIGA -DARDUINO_ARCH_MBED_GIGA -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA -IC:\Users\adthe\Documents\Arduino\libraries\Arduino_GigaDisplay_GFX\src -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src -IC:\Users\adthe\Documents\Arduino\libraries\Adafruit_GFX_Library -IC:\Users\adthe\Documents\Arduino\libraries\Adafruit_BusIO -DCM4_BINARY_START=0x60000000 -DCM4_BINARY_END=0x60040000 -DCM4_RAM_END=0x60080000 -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino/api/deprecated -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino/api/deprecated-avr-comp -iprefixC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino @C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/../GIGA/includes.txt C:\Users\adthe\AppData\Local\Temp\arduino\sketches\579BDAA3376D704FA19012655A866516\sketch\sketch_feb22a.ino.cpp -o nul
Alternatives for Wire.h: [Wire]
ResolveLibrary(Wire.h)
  -> candidates: [Wire]
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/defines.txt @C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/cxxflags.txt -mcpu=cortex-m7 -mfloat-abi=softfp -mfpu=fpv5-d16 -w -x c++ -E -CC -DARDUINO=10607 -DARDUINO_GIGA -DARDUINO_ARCH_MBED_GIGA -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA -IC:\Users\adthe\Documents\Arduino\libraries\Arduino_GigaDisplay_GFX\src -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src -IC:\Users\adthe\Documents\Arduino\libraries\Adafruit_GFX_Library -IC:\Users\adthe\Documents\Arduino\libraries\Adafruit_BusIO -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Wire -DCM4_BINARY_START=0x60000000 -DCM4_BINARY_END=0x60040000 -DCM4_RAM_END=0x60080000 -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino/api/deprecated -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino/api/deprecated-avr-comp -iprefixC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino @C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/../GIGA/includes.txt C:\Users\adthe\AppData\Local\Temp\arduino\sketches\579BDAA3376D704FA19012655A866516\sketch\sketch_feb22a.ino.cpp -o nul
Alternatives for SPI.h: [SPI]
ResolveLibrary(SPI.h)
  -> candidates: [SPI]
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/defines.txt @C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/cxxflags.txt -mcpu=cortex-m7 -mfloat-abi=softfp -mfpu=fpv5-d16 -w -x c++ -E -CC -DARDUINO=10607 -DARDUINO_GIGA -DARDUINO_ARCH_MBED_GIGA -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA -IC:\Users\adthe\Documents\Arduino\libraries\Arduino_GigaDisplay_GFX\src -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src -IC:\Users\adthe\Documents\Arduino\libraries\Adafruit_GFX_Library -IC:\Users\adthe\Documents\Arduino\libraries\Adafruit_BusIO -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Wire -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\SPI -DCM4_BINARY_START=0x60000000 -DCM4_BINARY_END=0x60040000 -DCM4_RAM_END=0x60080000 -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino/api/deprecated -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino/api/deprecated-avr-comp -iprefixC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino @C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/../GIGA/includes.txt C:\Users\adthe\AppData\Local\Temp\arduino\sketches\579BDAA3376D704FA19012655A866516\sketch\sketch_feb22a.ino.cpp -o nul
Alternatives for SDRAM.h: [Portenta_SDRAM@1.0]
ResolveLibrary(SDRAM.h)
  -> candidates: [Portenta_SDRAM@1.0]
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/defines.txt @C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/cxxflags.txt -mcpu=cortex-m7 -mfloat-abi=softfp -mfpu=fpv5-d16 -w -x c++ -E -CC -DARDUINO=10607 -DARDUINO_GIGA -DARDUINO_ARCH_MBED_GIGA -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA -IC:\Users\adthe\Documents\Arduino\libraries\Arduino_GigaDisplay_GFX\src -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src -IC:\Users\adthe\Documents\Arduino\libraries\Adafruit_GFX_Library -IC:\Users\adthe\Documents\Arduino\libraries\Adafruit_BusIO -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Wire -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\SPI -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Portenta_SDRAM\src -DCM4_BINARY_START=0x60000000 -DCM4_BINARY_END=0x60040000 -DCM4_RAM_END=0x60080000 -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino/api/deprecated -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino/api/deprecated-avr-comp -iprefixC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino @C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/../GIGA/includes.txt C:\Users\adthe\AppData\Local\Temp\arduino\sketches\579BDAA3376D704FA19012655A866516\sketch\sketch_feb22a.ino.cpp -o nul
Alternatives for ea_malloc.h: [ea_malloc]
ResolveLibrary(ea_malloc.h)
  -> candidates: [ea_malloc]
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/defines.txt @C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/cxxflags.txt -mcpu=cortex-m7 -mfloat-abi=softfp -mfpu=fpv5-d16 -w -x c++ -E -CC -DARDUINO=10607 -DARDUINO_GIGA -DARDUINO_ARCH_MBED_GIGA -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA -IC:\Users\adthe\Documents\Arduino\libraries\Arduino_GigaDisplay_GFX\src -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src -IC:\Users\adthe\Documents\Arduino\libraries\Adafruit_GFX_Library -IC:\Users\adthe\Documents\Arduino\libraries\Adafruit_BusIO -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Wire -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\SPI -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Portenta_SDRAM\src -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\ea_malloc -DCM4_BINARY_START=0x60000000 -DCM4_BINARY_END=0x60040000 -DCM4_RAM_END=0x60080000 -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino/api/deprecated -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino/api/deprecated-avr-comp -iprefixC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino @C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/../GIGA/includes.txt C:\Users\adthe\AppData\Local\Temp\arduino\sketches\579BDAA3376D704FA19012655A866516\sketch\sketch_feb22a.ino.cpp -o nul
Alternatives for Arduino_GigaDisplayTouch.h: [Arduino_GigaDisplayTouch@1.0.0]
ResolveLibrary(Arduino_GigaDisplayTouch.h)
  -> candidates: [Arduino_GigaDisplayTouch@1.0.0]
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/defines.txt @C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/cxxflags.txt -mcpu=cortex-m7 -mfloat-abi=softfp -mfpu=fpv5-d16 -w -x c++ -E -CC -DARDUINO=10607 -DARDUINO_GIGA -DARDUINO_ARCH_MBED_GIGA -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA -IC:\Users\adthe\Documents\Arduino\libraries\Arduino_GigaDisplay_GFX\src -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src -IC:\Users\adthe\Documents\Arduino\libraries\Adafruit_GFX_Library -IC:\Users\adthe\Documents\Arduino\libraries\Adafruit_BusIO -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Wire -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\SPI -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Portenta_SDRAM\src -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\ea_malloc -IC:\Users\adthe\Documents\Arduino\libraries\Arduino_GigaDisplayTouch\src -DCM4_BINARY_START=0x60000000 -DCM4_BINARY_END=0x60040000 -DCM4_RAM_END=0x60080000 -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino/api/deprecated -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino/api/deprecated-avr-comp -iprefixC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino @C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/../GIGA/includes.txt C:\Users\adthe\AppData\Local\Temp\arduino\sketches\579BDAA3376D704FA19012655A866516\sketch\sketch_feb22a.ino.cpp -o nul
Using cached library dependencies for file: C:\Users\adthe\Documents\Arduino\libraries\Arduino_GigaDisplay_GFX\src\Arduino_GigaDisplay_GFX.cpp
Using cached library dependencies for file: C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src\Arduino_H7_Video.cpp
Using cached library dependencies for file: C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src\H7DisplayShield.cpp
Using cached library dependencies for file: C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src\anx7625.cpp
Using cached library dependencies for file: C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src\dsi.cpp
Using cached library dependencies for file: C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src\edid.c
Using cached library dependencies for file: C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src\st7701.cpp
Using cached library dependencies for file: C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src\video_modes.c
Using cached library dependencies for file: C:\Users\adthe\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp
Using cached library dependencies for file: C:\Users\adthe\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GrayOLED.cpp
Using cached library dependencies for file: C:\Users\adthe\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_SPITFT.cpp
Using cached library dependencies for file: C:\Users\adthe\Documents\Arduino\libraries\Adafruit_GFX_Library\glcdfont.c
Using cached library dependencies for file: C:\Users\adthe\Documents\Arduino\libraries\Adafruit_BusIO\Adafruit_BusIO_Register.cpp
Using cached library dependencies for file: C:\Users\adthe\Documents\Arduino\libraries\Adafruit_BusIO\Adafruit_I2CDevice.cpp
Using cached library dependencies for file: C:\Users\adthe\Documents\Arduino\libraries\Adafruit_BusIO\Adafruit_SPIDevice.cpp
Using cached library dependencies for file: C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Wire\Wire.cpp
Using cached library dependencies for file: C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\SPI\SPI.cpp
Using cached library dependencies for file: C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Portenta_SDRAM\src\SDRAM.cpp
Using cached library dependencies for file: C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Portenta_SDRAM\src\ram_internal.c
Using cached library dependencies for file: C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\ea_malloc\malloc_freelist.c
Using cached library dependencies for file: C:\Users\adthe\Documents\Arduino\libraries\Arduino_GigaDisplayTouch\src\Arduino_GigaDisplayTouch.cpp
Generating function prototypes...
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/defines.txt @C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/cxxflags.txt -mcpu=cortex-m7 -mfloat-abi=softfp -mfpu=fpv5-d16 -w -x c++ -E -CC -DARDUINO=10607 -DARDUINO_GIGA -DARDUINO_ARCH_MBED_GIGA -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA -IC:\Users\adthe\Documents\Arduino\libraries\Arduino_GigaDisplay_GFX\src -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src -IC:\Users\adthe\Documents\Arduino\libraries\Adafruit_GFX_Library -IC:\Users\adthe\Documents\Arduino\libraries\Adafruit_BusIO -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Wire -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\SPI -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Portenta_SDRAM\src -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\ea_malloc -IC:\Users\adthe\Documents\Arduino\libraries\Arduino_GigaDisplayTouch\src -DCM4_BINARY_START=0x60000000 -DCM4_BINARY_END=0x60040000 -DCM4_RAM_END=0x60080000 -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino/api/deprecated -IC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino/api/deprecated-avr-comp -iprefixC:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino @C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/../GIGA/includes.txt C:\Users\adthe\AppData\Local\Temp\arduino\sketches\579BDAA3376D704FA19012655A866516\sketch\sketch_feb22a.ino.cpp -o C:\Users\adthe\AppData\Local\Temp\1913187235\sketch_merged.cpp
C:\Users\adthe\AppData\Local\Arduino15\packages\builtin\tools\ctags\5.8-arduino11/ctags -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives C:\Users\adthe\AppData\Local\Temp\1913187235\sketch_merged.cpp
Compiling sketch...
"C:\\Users\\adthe\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-g++" -c -w -g3 -nostdlib "@C:\\Users\\adthe\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_giga\\4.1.1\\variants\\GIGA/defines.txt" "@C:\\Users\\adthe\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_giga\\4.1.1\\variants\\GIGA/cxxflags.txt" -MMD -mcpu=cortex-m7 -mfloat-abi=softfp -mfpu=fpv5-d16 -DARDUINO=10607 -DARDUINO_GIGA -DARDUINO_ARCH_MBED_GIGA -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=0 "-IC:\\Users\\adthe\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_giga\\4.1.1\\cores\\arduino" "-IC:\\Users\\adthe\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_giga\\4.1.1\\variants\\GIGA" "-IC:\\Users\\adthe\\Documents\\Arduino\\libraries\\Arduino_GigaDisplay_GFX\\src" "-IC:\\Users\\adthe\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_giga\\4.1.1\\libraries\\Arduino_H7_Video\\src" "-IC:\\Users\\adthe\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\adthe\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "-IC:\\Users\\adthe\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_giga\\4.1.1\\libraries\\Wire" "-IC:\\Users\\adthe\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_giga\\4.1.1\\libraries\\SPI" "-IC:\\Users\\adthe\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_giga\\4.1.1\\libraries\\Portenta_SDRAM\\src" "-IC:\\Users\\adthe\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_giga\\4.1.1\\libraries\\ea_malloc" "-IC:\\Users\\adthe\\Documents\\Arduino\\libraries\\Arduino_GigaDisplayTouch\\src" -DCM4_BINARY_START=0x60000000 -DCM4_BINARY_END=0x60040000 -DCM4_RAM_END=0x60080000 "-IC:\\Users\\adthe\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_giga\\4.1.1\\cores\\arduino/api/deprecated" "-IC:\\Users\\adthe\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_giga\\4.1.1\\cores\\arduino/api/deprecated-avr-comp" "-iprefixC:\\Users\\adthe\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_giga\\4.1.1\\cores\\arduino" "@C:\\Users\\adthe\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_giga\\4.1.1\\variants\\GIGA/../GIGA/includes.txt" "C:\\Users\\adthe\\AppData\\Local\\Temp\\arduino\\sketches\\579BDAA3376D704FA19012655A866516\\sketch\\sketch_feb22a.ino.cpp" -o "C:\\Users\\adthe\\AppData\\Local\\Temp\\arduino\\sketches\\579BDAA3376D704FA19012655A866516\\sketch\\sketch_feb22a.ino.cpp.o"
Compiling libraries...
Compiling library "Arduino_GigaDisplay_GFX"
Using previously compiled file: C:\Users\adthe\AppData\Local\Temp\arduino\sketches\579BDAA3376D704FA19012655A866516\libraries\Arduino_GigaDisplay_GFX\Arduino_GigaDisplay_GFX.cpp.o
Compiling library "Arduino_H7_Video"
Using previously compiled file: C:\Users\adthe\AppData\Local\Temp\arduino\sketches\579BDAA3376D704FA19012655A866516\libraries\Arduino_H7_Video\video_modes.c.o
Using previously compiled file: C:\Users\adthe\AppData\Local\Temp\arduino\sketches\579BDAA3376D704FA19012655A866516\libraries\Arduino_H7_Video\edid.c.o
Using previously compiled file: C:\Users\adthe\AppData\Local\Temp\arduino\sketches\579BDAA3376D704FA19012655A866516\libraries\Arduino_H7_Video\H7DisplayShield.cpp.o
Using previously compiled file: C:\Users\adthe\AppData\Local\Temp\arduino\sketches\579BDAA3376D704FA19012655A866516\libraries\Arduino_H7_Video\dsi.cpp.o
Using previously compiled file: C:\Users\adthe\AppData\Local\Temp\arduino\sketches\579BDAA3376D704FA19012655A866516\libraries\Arduino_H7_Video\st7701.cpp.o
Using previously compiled file: C:\Users\adthe\AppData\Local\Temp\arduino\sketches\579BDAA3376D704FA19012655A866516\libraries\Arduino_H7_Video\anx7625.cpp.o
Using previously compiled file: C:\Users\adthe\AppData\Local\Temp\arduino\sketches\579BDAA3376D704FA19012655A866516\libraries\Arduino_H7_Video\Arduino_H7_Video.cpp.o
Compiling library "Adafruit GFX Library"
Using previously compiled file: C:\Users\adthe\AppData\Local\Temp\arduino\sketches\579BDAA3376D704FA19012655A866516\libraries\Adafruit_GFX_Library\glcdfont.c.o
Using previously compiled file: C:\Users\adthe\AppData\Local\Temp\arduino\sketches\579BDAA3376D704FA19012655A866516\libraries\Adafruit_GFX_Library\Adafruit_GrayOLED.cpp.o
Using previously compiled file: C:\Users\adthe\AppData\Local\Temp\arduino\sketches\579BDAA3376D704FA19012655A866516\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp.o
Using previously compiled file: C:\Users\adthe\AppData\Local\Temp\arduino\sketches\579BDAA3376D704FA19012655A866516\libraries\Adafruit_GFX_Library\Adafruit_SPITFT.cpp.o
Compiling library "Adafruit BusIO"
Using previously compiled file: C:\Users\adthe\AppData\Local\Temp\arduino\sketches\579BDAA3376D704FA19012655A866516\libraries\Adafruit_BusIO\Adafruit_SPIDevice.cpp.o
Using previously compiled file: C:\Users\adthe\AppData\Local\Temp\arduino\sketches\579BDAA3376D704FA19012655A866516\libraries\Adafruit_BusIO\Adafruit_I2CDevice.cpp.o
Using previously compiled file: C:\Users\adthe\AppData\Local\Temp\arduino\sketches\579BDAA3376D704FA19012655A866516\libraries\Adafruit_BusIO\Adafruit_BusIO_Register.cpp.o
Compiling library "Wire"
Using previously compiled file: C:\Users\adthe\AppData\Local\Temp\arduino\sketches\579BDAA3376D704FA19012655A866516\libraries\Wire\Wire.cpp.o
Compiling library "SPI"
Using previously compiled file: C:\Users\adthe\AppData\Local\Temp\arduino\sketches\579BDAA3376D704FA19012655A866516\libraries\SPI\SPI.cpp.o
Compiling library "Portenta_SDRAM"
Using previously compiled file: C:\Users\adthe\AppData\Local\Temp\arduino\sketches\579BDAA3376D704FA19012655A866516\libraries\Portenta_SDRAM\ram_internal.c.o
Using previously compiled file: C:\Users\adthe\AppData\Local\Temp\arduino\sketches\579BDAA3376D704FA19012655A866516\libraries\Portenta_SDRAM\SDRAM.cpp.o
Compiling library "ea_malloc"
Using previously compiled file: C:\Users\adthe\AppData\Local\Temp\arduino\sketches\579BDAA3376D704FA19012655A866516\libraries\ea_malloc\malloc_freelist.c.o
Compiling library "Arduino_GigaDisplayTouch"
Using previously compiled file: C:\Users\adthe\AppData\Local\Temp\arduino\sketches\579BDAA3376D704FA19012655A866516\libraries\Arduino_GigaDisplayTouch\Arduino_GigaDisplayTouch.cpp.o
Compiling core...
Using previously compiled file: C:\Users\adthe\AppData\Local\Temp\arduino\sketches\579BDAA3376D704FA19012655A866516\core\pure_analog_pins.cpp.o
Using previously compiled file: C:\Users\adthe\AppData\Local\Temp\arduino\sketches\579BDAA3376D704FA19012655A866516\core\variant.cpp.o
Using precompiled core: C:\Users\adthe\AppData\Local\Temp\arduino\cores\arduino_mbed_giga_giga_split_100_0,target_core_cm7_7d1f34eb058c263b1944f4253c62deb4\core.a
Linking everything together...
"C:\\Users\\adthe\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-g++" -E -P -x c -DCM4_BINARY_START=0x60000000 -DCM4_BINARY_END=0x60040000 -DCM4_RAM_END=0x60080000 "C:\\Users\\adthe\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_giga\\4.1.1\\variants\\GIGA/linker_script.ld" -o "C:\\Users\\adthe\\AppData\\Local\\Temp\\arduino\\sketches\\579BDAA3376D704FA19012655A866516/linker_script.ld"
"C:\\Users\\adthe\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-g++" "-LC:\\Users\\adthe\\AppData\\Local\\Temp\\arduino\\sketches\\579BDAA3376D704FA19012655A866516" -Wl,--gc-sections -w -Wl,--as-needed -DCM4_BINARY_START=0x60000000 -DCM4_BINARY_END=0x60040000 -DCM4_RAM_END=0x60080000 "@C:\\Users\\adthe\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_giga\\4.1.1\\variants\\GIGA/ldflags.txt" "-TC:\\Users\\adthe\\AppData\\Local\\Temp\\arduino\\sketches\\579BDAA3376D704FA19012655A866516/linker_script.ld" "-Wl,-Map,C:\\Users\\adthe\\AppData\\Local\\Temp\\arduino\\sketches\\579BDAA3376D704FA19012655A866516/sketch_feb22a.ino.map" --specs=nosys.specs -o "C:\\Users\\adthe\\AppData\\Local\\Temp\\arduino\\sketches\\579BDAA3376D704FA19012655A866516/sketch_feb22a.ino.elf" "C:\\Users\\adthe\\AppData\\Local\\Temp\\arduino\\sketches\\579BDAA3376D704FA19012655A866516\\sketch\\sketch_feb22a.ino.cpp.o" "C:\\Users\\adthe\\AppData\\Local\\Temp\\arduino\\sketches\\579BDAA3376D704FA19012655A866516\\libraries\\Arduino_GigaDisplay_GFX\\Arduino_GigaDisplay_GFX.cpp.o" "C:\\Users\\adthe\\AppData\\Local\\Temp\\arduino\\sketches\\579BDAA3376D704FA19012655A866516\\libraries\\Arduino_H7_Video\\Arduino_H7_Video.cpp.o" "C:\\Users\\adthe\\AppData\\Local\\Temp\\arduino\\sketches\\579BDAA3376D704FA19012655A866516\\libraries\\Arduino_H7_Video\\H7DisplayShield.cpp.o" "C:\\Users\\adthe\\AppData\\Local\\Temp\\arduino\\sketches\\579BDAA3376D704FA19012655A866516\\libraries\\Arduino_H7_Video\\anx7625.cpp.o" "C:\\Users\\adthe\\AppData\\Local\\Temp\\arduino\\sketches\\579BDAA3376D704FA19012655A866516\\libraries\\Arduino_H7_Video\\dsi.cpp.o" "C:\\Users\\adthe\\AppData\\Local\\Temp\\arduino\\sketches\\579BDAA3376D704FA19012655A866516\\libraries\\Arduino_H7_Video\\edid.c.o" "C:\\Users\\adthe\\AppData\\Local\\Temp\\arduino\\sketches\\579BDAA3376D704FA19012655A866516\\libraries\\Arduino_H7_Video\\st7701.cpp.o" "C:\\Users\\adthe\\AppData\\Local\\Temp\\arduino\\sketches\\579BDAA3376D704FA19012655A866516\\libraries\\Arduino_H7_Video\\video_modes.c.o" "C:\\Users\\adthe\\AppData\\Local\\Temp\\arduino\\sketches\\579BDAA3376D704FA19012655A866516\\libraries\\Adafruit_GFX_Library\\Adafruit_GFX.cpp.o" "C:\\Users\\adthe\\AppData\\Local\\Temp\\arduino\\sketches\\579BDAA3376D704FA19012655A866516\\libraries\\Adafruit_GFX_Library\\Adafruit_GrayOLED.cpp.o" "C:\\Users\\adthe\\AppData\\Local\\Temp\\arduino\\sketches\\579BDAA3376D704FA19012655A866516\\libraries\\Adafruit_GFX_Library\\Adafruit_SPITFT.cpp.o" "C:\\Users\\adthe\\AppData\\Local\\Temp\\arduino\\sketches\\579BDAA3376D704FA19012655A866516\\libraries\\Adafruit_GFX_Library\\glcdfont.c.o" "C:\\Users\\adthe\\AppData\\Local\\Temp\\arduino\\sketches\\579BDAA3376D704FA19012655A866516\\libraries\\Adafruit_BusIO\\Adafruit_BusIO_Register.cpp.o" "C:\\Users\\adthe\\AppData\\Local\\Temp\\arduino\\sketches\\579BDAA3376D704FA19012655A866516\\libraries\\Adafruit_BusIO\\Adafruit_I2CDevice.cpp.o" "C:\\Users\\adthe\\AppData\\Local\\Temp\\arduino\\sketches\\579BDAA3376D704FA19012655A866516\\libraries\\Adafruit_BusIO\\Adafruit_SPIDevice.cpp.o" "C:\\Users\\adthe\\AppData\\Local\\Temp\\arduino\\sketches\\579BDAA3376D704FA19012655A866516\\libraries\\Wire\\Wire.cpp.o" "C:\\Users\\adthe\\AppData\\Local\\Temp\\arduino\\sketches\\579BDAA3376D704FA19012655A866516\\libraries\\SPI\\SPI.cpp.o" "C:\\Users\\adthe\\AppData\\Local\\Temp\\arduino\\sketches\\579BDAA3376D704FA19012655A866516\\libraries\\Portenta_SDRAM\\SDRAM.cpp.o" "C:\\Users\\adthe\\AppData\\Local\\Temp\\arduino\\sketches\\579BDAA3376D704FA19012655A866516\\libraries\\Portenta_SDRAM\\ram_internal.c.o" "C:\\Users\\adthe\\AppData\\Local\\Temp\\arduino\\sketches\\579BDAA3376D704FA19012655A866516\\libraries\\ea_malloc\\malloc_freelist.c.o" "C:\\Users\\adthe\\AppData\\Local\\Temp\\arduino\\sketches\\579BDAA3376D704FA19012655A866516\\libraries\\Arduino_GigaDisplayTouch\\Arduino_GigaDisplayTouch.cpp.o" "C:\\Users\\adthe\\AppData\\Local\\Temp\\arduino\\sketches\\579BDAA3376D704FA19012655A866516\\core\\pure_analog_pins.cpp.o" "C:\\Users\\adthe\\AppData\\Local\\Temp\\arduino\\sketches\\579BDAA3376D704FA19012655A866516\\core\\variant.cpp.o" -Wl,--whole-archive "C:\\Users\\adthe\\AppData\\Local\\Temp\\arduino\\sketches\\579BDAA3376D704FA19012655A866516/..\\..\\cores\\arduino_mbed_giga_giga_split_100_0,target_core_cm7_7d1f34eb058c263b1944f4253c62deb4\\core.a" "C:\\Users\\adthe\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_giga\\4.1.1\\variants\\GIGA/libs/libmbed.a" -Wl,--no-whole-archive -Wl,--start-group -lstdc++ -lsupc++ -lm -lc -lgcc -lnosys -Wl,--end-group
C:\Users\adthe\AppData\Local\Temp\arduino\sketches\579BDAA3376D704FA19012655A866516\libraries\Arduino_H7_Video\Arduino_H7_Video.cpp.o: In function `lvgl_displayFlushing(_lv_disp_drv_t*, lv_area_t const*, lv_color16_t*)':
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src/Arduino_H7_Video.cpp:198: undefined reference to `lv_disp_flush_ready'
C:\Users\adthe\AppData\Local\Temp\arduino\sketches\579BDAA3376D704FA19012655A866516\libraries\Arduino_H7_Video\Arduino_H7_Video.cpp.o: In function `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:85: undefined reference to `lv_init'
C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src/Arduino_H7_Video.cpp:94: undefined reference to `lv_disp_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:98: undefined reference to `lv_disp_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:111: undefined reference to `lv_disp_drv_register'
C:\Users\adthe\AppData\Local\Temp\arduino\sketches\579BDAA3376D704FA19012655A866516\libraries\Arduino_GigaDisplayTouch\Arduino_GigaDisplayTouch.cpp.o: In function `Arduino_GigaDisplayTouch::begin()':
C:\Users\adthe\Documents\Arduino\libraries\Arduino_GigaDisplayTouch\src/Arduino_GigaDisplayTouch.cpp:88: undefined reference to `lv_indev_drv_init'
C:\Users\adthe\Documents\Arduino\libraries\Arduino_GigaDisplayTouch\src/Arduino_GigaDisplayTouch.cpp:91: undefined reference to `lv_indev_drv_register'
collect2.exe: error: ld returned 1 exit status

Using library Arduino_GigaDisplay_GFX at version 1.0.0 in folder: C:\Users\adthe\Documents\Arduino\libraries\Arduino_GigaDisplay_GFX 
Using library Arduino_H7_Video at version 1.0 in folder: C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video 
Using library Adafruit GFX Library at version 1.11.9 in folder: C:\Users\adthe\Documents\Arduino\libraries\Adafruit_GFX_Library 
Using library Adafruit BusIO at version 1.15.0 in folder: C:\Users\adthe\Documents\Arduino\libraries\Adafruit_BusIO 
Using library Wire in folder: C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Wire (legacy)
Using library SPI in folder: C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\SPI (legacy)
Using library Portenta_SDRAM at version 1.0 in folder: C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Portenta_SDRAM 
Using library ea_malloc in folder: C:\Users\adthe\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\ea_malloc (legacy)
Using library Arduino_GigaDisplayTouch at version 1.0.0 in folder: C:\Users\adthe\Documents\Arduino\libraries\Arduino_GigaDisplayTouch 
exit status 1

Compilation error: exit status 1

Same but no reply from anyone. Most likely a whole big lot is bad, or they screwed up the mbed core giga. I feel someone should make a video about it to recover.

Can you try downgrading the LVGL library to a previous version and see if that makes any change?

You think touch init error is with lvgl?
My touch polling code doesn't work.

The thread started for LVGL but Touch is different from LVGL.

  • from a different post (here) I noticed you have 10 boards. Do all 10 boards behave the same? Did it have the error since purchase or eventually it started having the error?

  • In another post (here), you have mentioned that the Display shield does not display. Is this a different issue you are having with the shield or is it only touch? Do you get the same issue with different combinations of board and shield or do specific board and shield combinations show this issue?

Since the boards and shields were purchased from a reseller or distributor, replacement also has to go through them. We tried to recreate the issue but we have not been able to recreate the issue from our end.

I'm also struggling to get the giga display shield up and running. I've made some progress by leaving lvgl out of the picture and using arduino_giga_display_gfx, but the whole giga display situation is a mess. I need - someday - to get back around to writing some code, rather than fooling around with library problems. I tried PlatformIO, hoping it would force a little more organization into the libraries, but there is no board def. for giga there.

1 Like

Hello, is it possible to provide more information on what are the issues you get with your Display shield?

Docs: https://docs.arduino.cc/hardware/giga-display-shield/#tutorials

I am also a new user of the Giga R1 Wifi and a display shield, I know they are very recent boards and things will take time....
the issue is that most of the cool examples to check how the display works or should work do not compile... there is no clear information on WHY....

it would be great to load the examples that apparently worked at product launch (I say this because there is a couple of youtubers who went through the whole stack of examples about a year ago) and from those learn how to develop our own applications, but the fact is that at the current date almost april 2024, most of those examples wont compile and we can't learn anything from them....

I have tried again to run the Checkbox full example with LVGL 8.4.0, 8.3.11 and 8.3.0.
The checkbox full example code does still not compile using LVGL 9.1.0.

The result with older versions (8.4.0, 8.3.11 and 8.3.0) of LVGL is always the same. The display shows the checkboxes but touch does not work.

@jojo When you say that 'We tried to recreate the issue but we have not been able to recreate the issue from our end.', what exactly does this mean? Did you run the LVGL Checkbox full example and also find that you need to use older versions of LVGL to get things to work? As the examples are written now, I believe it is impossible to run the examples with the most recent version of LVGL.

Can you please suggest code that we can add within the Checkbox full example so we can better diagnose the touch controller? Or please suggest a way we can progress further, right now the display I have is not useful and I don't know how to tell if it is a hardware or software problem.

Same here, let's get a little more specific:

I am running IDE 2.3.2, Mbed OS Giga Boards version 4.1.1 LVGL 9.1.0 Arduino GigaDisplay 1.0.1 Arduino Giga DisplayTouch 1.0.1 Arduino GigaDisplayGFX 1.0.0 and every other library suggested by the GigaDisplay install...
I haven't been able to run any of the following examples:

from my IDE/examples/Arduino Giga R1/ArduinoH7Video
emWinDemo (won't compile)
LVGLDemo (won't compile)

from my IDE/examples/examples from custom libraries/Arduino Giga Display/LVGL
imu orientation (won't compile)

just listing some of the ones I am sure didnt work, but I feel most of the examples for the GigaDisplay or related are broken.

I also bought the HM0360 arducam for my Giga and i also tried the examples for arduino Giga R1/Camera

camera motion detect (wont compile)
gigaCameraDisplay (compiles and works!)

I tried to debug the compilation errors I was getting but I had no luck. The way I understand it these examples should work right out of the box, of course for my working gigaCameraDisplay sketch I had to comment and uncomment some lines corresponding to the right arducam camera I am using, but apart from that the code is working, not the same with the other examples....

apart from that, I am absolutely sure that I saw a youtuber post his tests with the board about a year ago, and the imu orientation example worked for him without effort, that same example is not working right now...

@titocaicedo

This is expected. As was explained earlier in the thread, you must use LVGL 8.x. The LVGL developers made significant breaking changes to the "lvgl" library's API in the 9.0.0 release which caused a loss of compatibility with the "Arduino_H7_Video" library that is bundled with the "Arduino Mbed OS Giga Boards" platform. The developers of the Arduino_H7_Video library have already added support for LVGL 9.x, but that was done after the time of the latest 4.1.1 release of the Arduino Mbed OS Giga Boards platform so the fix is not currently available when using the release version of the platform.

Please install version 8.x of the lvgl library and use that version until the next release of the Arduino Mbed OS Giga Boards platform comes out.

I'll provide instructions you can follow to do that:

  1. Select Sketch > Include Library > Manage Libraries... from the Arduino IDE menus to open the "Library Manager" view in the left side panel.
  2. Type lvgl in the "Filter your search..." field.
  3. Scroll down through the list of libraries until you see the "lvgl" entry.
  4. You will see a drop-down version menu at the bottom of the entry. Select "8.4.0" from the menu.
  5. Click the "INSTALL" button at the bottom of the entry.
  6. Wait for the installation process to finish, as indicated by a notification at the bottom right corner of the Arduino IDE window:

    ⓘ Successfully installed library ...

Now try compiling the sketch again. Hopefully it will work as expected this time.

Arduino IDE will periodically display a notification that offers to update the library for you:

Updates are available for some of your libraries.

If you click the "INSTALL MANUALLY" button in the notification, a list of each of the libraries that have available updates will be shown in the Arduino IDE Library Manager. It is generally a good idea to keep your libraries updated since the updates might provide important enhancements or bug fixes. So you should look through the list and update other libraries if appropriate, but you should avoid accepting the update for the "lvgl" library until the next release of the "Arduino Mbed OS Giga Boards" platform comes out with the fix (the IDE will show you an "Updates are available for some of your boards." notification when this happens).

Unfortunately it is not effectively communicated that this example is only intended for use with the Portenta boards (paired with a Portenta Vision Shield).


Regarding the "touch function does not work" runtime problem reported by @balsamicnewt, I'm afraid I'm not able to assist with that. I see @jojo is already doing so.

@jojo , could you please provide more help here regarding my touch function problems?

Does anyone else experience these issues with touch not working?

Sorry on the delay for replies. The touch function behaved this way since you got the shield or started behaving this way later?

We are trying to investigate this issue but have not been able to pinpoint why this happens. Also, this is happening at random at the moment. Have you got in touch with us directly through the contact us form?

If not please do contact us and add this forum link to it.

Hello Per - that's useful to know! I shall keep an eye out for that changing.

1 Like

Today my IDE notified of an update to the Giga Display board, when I installed it it asked to install other libraries including LVGL 9.1.0 does that mean it is now supported?

Hi @titocaicedo. Yes, LVGL 9 is now supported. Backwards compatibility with LVGL 8 was preserved, so the decision of whether to update your installation of the "lvgl" library is up to you.

Please note that LVGL 9 support has not yet been added to the 3rd party SquareLine Studio application. So if you are using SquareLine Studio then you should refrain from updating the "lvgl" library to a version higher than 8.x until the support for LVGL 9 is added to SquareLine Studio. There is some discussion of that here: