Skip to content

Commit

Permalink
ci: fix video examples (#692)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
leonardocavagnis authored Jun 7, 2023
1 parent 0f4c997 commit 9795c3c
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 8 deletions.
36 changes: 28 additions & 8 deletions .github/workflows/compile-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
- fqbn: arduino:mbed:nicla_sense
- fqbn: arduino:mbed:nicla_vision
- fqbn: arduino:mbed:opta
- fqbn: arduino:mbed:giga
- fqbn: arduino:mbed:nicla_voice

# compile only the examples compatible with each board
Expand All @@ -55,16 +56,10 @@ jobs:
- ~/Arduino/libraries/ArduinoBLE
- board:
fqbn: arduino:mbed:envie_m7:target_core=cm4
additional-libraries: |
- name: lvgl
version: 8.3.5
- name: ArduinoGraphics
additional-sketch-paths: |
- libraries/doom
- libraries/KernelDebug
- libraries/Portenta_SDCARD
- libraries/Portenta_SDRAM
- libraries/Arduino_H7_Video
- libraries/RPC
- board:
fqbn: arduino:mbed:envie_m7
Expand All @@ -74,14 +69,14 @@ jobs:
- name: MicroNMEA
- name: ArduinoBLE
- name: ArduinoGraphics
- name: Arduino_GigaDisplayTouch
additional-sketch-paths: |
- libraries/PDM
- libraries/doom
- libraries/KernelDebug
- libraries/MCUboot
- libraries/Camera/examples/CameraCaptureRawBytes
- libraries/Camera/examples/CameraMotionDetect
- libraries/Portenta_lvgl/examples/Portenta_lvgl
- libraries/Portenta_SDCARD
- libraries/Portenta_SDRAM
- libraries/STM32H747_System
Expand Down Expand Up @@ -136,6 +131,31 @@ jobs:
- libraries/USBHID
- libraries/USBMSD/examples/AccessFlashAsUSBDisk
- libraries/WiFi
- board:
fqbn: arduino:mbed:giga
additional-libraries: |
- name: lvgl
version: 8.3.5
- name: MicroNMEA
- name: ArduinoBLE
- name: ArduinoGraphics
- name: Arduino_GigaDisplayTouch
additional-sketch-paths: |
- libraries/PDM
- libraries/MCUboot
- libraries/Camera/examples/CameraCaptureRawBytes
- libraries/Camera/examples/CameraMotionDetect
- libraries/Portenta_SDCARD
- libraries/Portenta_SDRAM
- libraries/Arduino_H7_Video
- libraries/RPC
- libraries/ThreadDebug
- libraries/USBHID
- libraries/USBHOST
- libraries/USBMSD/examples/AccessFlashAsUSBDisk
- libraries/WiFi
- libraries/GSM
- ~/Arduino/libraries/ArduinoBLE
- board:
fqbn: arduino:mbed:nicla_voice
additional-sketch-paths: |
Expand All @@ -149,7 +169,7 @@ jobs:
version: v0.9.6
- name: arduino-libg722
source-url: https://github.com/pschatzmann/arduino-libg722.git
steps:
- name: Checkout repository
uses: actions/checkout@v2
Expand Down
2 changes: 2 additions & 0 deletions libraries/Arduino_H7_Video/src/Arduino_H7_Video.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ class Arduino_H7_Video
Arduino_H7_Video(int width = 1024, int height = 768, H7DisplayShield &shield = USBCVideo);
#elif defined(ARDUINO_GIGA)
Arduino_H7_Video(int width = 800, int height = 480, H7DisplayShield &shield = GigaDisplayShield);
#else
Arduino_H7_Video(int width, int height, H7DisplayShield &shield);
#endif

/**
Expand Down

0 comments on commit 9795c3c

Please sign in to comment.