Skip to content

Commit 9795c3c

Browse files
ci: fix video examples (#692)
* ci: remove portenta_lvgl examples * ci: add GigaDisplayTouch as additional lib * h7 video lib: add default constructor for other boards * ci: add giga target * ci: update giga target lib * ci: giga target * ci: fix indentation * ci: fix fqbn list * ci: remove h7 video examples for envie_m7 core m4 * ci: remove doom example for giga * ci: remove STM32H747_System examples for giga * ci: remove KernelDebug examples for giga
1 parent 0f4c997 commit 9795c3c

File tree

2 files changed

+30
-8
lines changed

2 files changed

+30
-8
lines changed

.github/workflows/compile-examples.yml

+28-8
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ jobs:
3939
- fqbn: arduino:mbed:nicla_sense
4040
- fqbn: arduino:mbed:nicla_vision
4141
- fqbn: arduino:mbed:opta
42+
- fqbn: arduino:mbed:giga
4243
- fqbn: arduino:mbed:nicla_voice
4344

4445
# compile only the examples compatible with each board
@@ -55,16 +56,10 @@ jobs:
5556
- ~/Arduino/libraries/ArduinoBLE
5657
- board:
5758
fqbn: arduino:mbed:envie_m7:target_core=cm4
58-
additional-libraries: |
59-
- name: lvgl
60-
version: 8.3.5
61-
- name: ArduinoGraphics
6259
additional-sketch-paths: |
63-
- libraries/doom
6460
- libraries/KernelDebug
6561
- libraries/Portenta_SDCARD
6662
- libraries/Portenta_SDRAM
67-
- libraries/Arduino_H7_Video
6863
- libraries/RPC
6964
- board:
7065
fqbn: arduino:mbed:envie_m7
@@ -74,14 +69,14 @@ jobs:
7469
- name: MicroNMEA
7570
- name: ArduinoBLE
7671
- name: ArduinoGraphics
72+
- name: Arduino_GigaDisplayTouch
7773
additional-sketch-paths: |
7874
- libraries/PDM
7975
- libraries/doom
8076
- libraries/KernelDebug
8177
- libraries/MCUboot
8278
- libraries/Camera/examples/CameraCaptureRawBytes
8379
- libraries/Camera/examples/CameraMotionDetect
84-
- libraries/Portenta_lvgl/examples/Portenta_lvgl
8580
- libraries/Portenta_SDCARD
8681
- libraries/Portenta_SDRAM
8782
- libraries/STM32H747_System
@@ -136,6 +131,31 @@ jobs:
136131
- libraries/USBHID
137132
- libraries/USBMSD/examples/AccessFlashAsUSBDisk
138133
- libraries/WiFi
134+
- board:
135+
fqbn: arduino:mbed:giga
136+
additional-libraries: |
137+
- name: lvgl
138+
version: 8.3.5
139+
- name: MicroNMEA
140+
- name: ArduinoBLE
141+
- name: ArduinoGraphics
142+
- name: Arduino_GigaDisplayTouch
143+
additional-sketch-paths: |
144+
- libraries/PDM
145+
- libraries/MCUboot
146+
- libraries/Camera/examples/CameraCaptureRawBytes
147+
- libraries/Camera/examples/CameraMotionDetect
148+
- libraries/Portenta_SDCARD
149+
- libraries/Portenta_SDRAM
150+
- libraries/Arduino_H7_Video
151+
- libraries/RPC
152+
- libraries/ThreadDebug
153+
- libraries/USBHID
154+
- libraries/USBHOST
155+
- libraries/USBMSD/examples/AccessFlashAsUSBDisk
156+
- libraries/WiFi
157+
- libraries/GSM
158+
- ~/Arduino/libraries/ArduinoBLE
139159
- board:
140160
fqbn: arduino:mbed:nicla_voice
141161
additional-sketch-paths: |
@@ -149,7 +169,7 @@ jobs:
149169
version: v0.9.6
150170
- name: arduino-libg722
151171
source-url: https://github.com/pschatzmann/arduino-libg722.git
152-
172+
153173
steps:
154174
- name: Checkout repository
155175
uses: actions/checkout@v2

libraries/Arduino_H7_Video/src/Arduino_H7_Video.h

+2
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ class Arduino_H7_Video
6464
Arduino_H7_Video(int width = 1024, int height = 768, H7DisplayShield &shield = USBCVideo);
6565
#elif defined(ARDUINO_GIGA)
6666
Arduino_H7_Video(int width = 800, int height = 480, H7DisplayShield &shield = GigaDisplayShield);
67+
#else
68+
Arduino_H7_Video(int width, int height, H7DisplayShield &shield);
6769
#endif
6870

6971
/**

0 commit comments

Comments
 (0)