Skip to content

ci: fix video examples #692

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Jun 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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