From fb19f765403f38a3e0d907c09aff6edc1fd474cf Mon Sep 17 00:00:00 2001 From: Leonardo Cavagnis <45899760+leonardocavagnis@users.noreply.github.com> Date: Mon, 5 Jun 2023 17:09:42 +0200 Subject: [PATCH 01/12] ci: remove portenta_lvgl examples --- .github/workflows/compile-examples.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/compile-examples.yml b/.github/workflows/compile-examples.yml index 146c34dec..64fb9fb24 100644 --- a/.github/workflows/compile-examples.yml +++ b/.github/workflows/compile-examples.yml @@ -81,7 +81,6 @@ jobs: - 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 From 6c11c48a3fd8f6710093e63c4323ac68579ce1a0 Mon Sep 17 00:00:00 2001 From: Leonardo Cavagnis <45899760+leonardocavagnis@users.noreply.github.com> Date: Mon, 5 Jun 2023 17:30:45 +0200 Subject: [PATCH 02/12] ci: add GigaDisplayTouch as additional lib --- .github/workflows/compile-examples.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/compile-examples.yml b/.github/workflows/compile-examples.yml index 64fb9fb24..11d55e0d7 100644 --- a/.github/workflows/compile-examples.yml +++ b/.github/workflows/compile-examples.yml @@ -59,6 +59,7 @@ jobs: - name: lvgl version: 8.3.5 - name: ArduinoGraphics + - name: Arduino_GigaDisplayTouch additional-sketch-paths: | - libraries/doom - libraries/KernelDebug @@ -74,6 +75,7 @@ jobs: - name: MicroNMEA - name: ArduinoBLE - name: ArduinoGraphics + - name: Arduino_GigaDisplayTouch additional-sketch-paths: | - libraries/PDM - libraries/doom From 6ee2030a7a81c0d5bd5c386a2985574cb37e2090 Mon Sep 17 00:00:00 2001 From: Leonardo Cavagnis Date: Tue, 6 Jun 2023 11:40:17 +0200 Subject: [PATCH 03/12] h7 video lib: add default constructor for other boards --- libraries/Arduino_H7_Video/src/Arduino_H7_Video.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/Arduino_H7_Video/src/Arduino_H7_Video.h b/libraries/Arduino_H7_Video/src/Arduino_H7_Video.h index 2f54e1c83..9f05f5ea0 100644 --- a/libraries/Arduino_H7_Video/src/Arduino_H7_Video.h +++ b/libraries/Arduino_H7_Video/src/Arduino_H7_Video.h @@ -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 /** From 5b46c78f563048f719e5fa90a96c44d4289990b2 Mon Sep 17 00:00:00 2001 From: Leonardo Cavagnis <45899760+leonardocavagnis@users.noreply.github.com> Date: Tue, 6 Jun 2023 12:24:26 +0200 Subject: [PATCH 04/12] ci: add giga target --- .github/workflows/compile-examples.yml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.github/workflows/compile-examples.yml b/.github/workflows/compile-examples.yml index 11d55e0d7..d0867ce06 100644 --- a/.github/workflows/compile-examples.yml +++ b/.github/workflows/compile-examples.yml @@ -40,6 +40,7 @@ jobs: - fqbn: arduino:mbed:nicla_vision - fqbn: arduino:mbed:opta - fqbn: arduino:mbed:nicla_voice + - fqpn: arduino:mbed:giga # compile only the examples compatible with each board include: @@ -150,7 +151,21 @@ jobs: version: v0.9.6 - name: arduino-libg722 source-url: https://github.com/pschatzmann/arduino-libg722.git - + - board: + fqbn: arduino:mbed:giga + additional-libraries: | + - name: lvgl + version: 8.3.5 + - name: ArduinoGraphics + - name: Arduino_GigaDisplayTouch + additional-sketch-paths: | + - libraries/doom + - libraries/KernelDebug + - libraries/Portenta_SDCARD + - libraries/Portenta_SDRAM + - libraries/Arduino_H7_Video + - libraries/RPC + steps: - name: Checkout repository uses: actions/checkout@v2 From 1208c3ea05bc600595bd51436b7343e612dfae89 Mon Sep 17 00:00:00 2001 From: Leonardo Cavagnis <45899760+leonardocavagnis@users.noreply.github.com> Date: Tue, 6 Jun 2023 12:54:30 +0200 Subject: [PATCH 05/12] ci: update giga target lib --- .github/workflows/compile-examples.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/workflows/compile-examples.yml b/.github/workflows/compile-examples.yml index d0867ce06..5ecf116af 100644 --- a/.github/workflows/compile-examples.yml +++ b/.github/workflows/compile-examples.yml @@ -151,20 +151,34 @@ jobs: version: v0.9.6 - name: arduino-libg722 source-url: https://github.com/pschatzmann/arduino-libg722.git - - board: + - 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/doom - libraries/KernelDebug + - libraries/MCUboot + - libraries/Camera/examples/CameraCaptureRawBytes + - libraries/Camera/examples/CameraMotionDetect - libraries/Portenta_SDCARD - libraries/Portenta_SDRAM + - libraries/STM32H747_System - libraries/Arduino_H7_Video - libraries/RPC + - libraries/ThreadDebug + - libraries/USBHID + - libraries/USBHOST + - libraries/USBMSD/examples/AccessFlashAsUSBDisk + - libraries/WiFi + - libraries/GSM + - ~/Arduino/libraries/ArduinoBLE steps: - name: Checkout repository From 40efb1b0863d0ace932f667c1be44217c47caba8 Mon Sep 17 00:00:00 2001 From: Leonardo Cavagnis <45899760+leonardocavagnis@users.noreply.github.com> Date: Tue, 6 Jun 2023 12:58:12 +0200 Subject: [PATCH 06/12] ci: giga target --- .github/workflows/compile-examples.yml | 28 +++++++++++++------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/compile-examples.yml b/.github/workflows/compile-examples.yml index 5ecf116af..8b34373d5 100644 --- a/.github/workflows/compile-examples.yml +++ b/.github/workflows/compile-examples.yml @@ -39,8 +39,8 @@ jobs: - fqbn: arduino:mbed:nicla_sense - fqbn: arduino:mbed:nicla_vision - fqbn: arduino:mbed:opta - - fqbn: arduino:mbed:nicla_voice - fqpn: arduino:mbed:giga + - fqbn: arduino:mbed:nicla_voice # compile only the examples compatible with each board include: @@ -138,19 +138,6 @@ jobs: - libraries/USBHID - libraries/USBMSD/examples/AccessFlashAsUSBDisk - libraries/WiFi - - board: - fqbn: arduino:mbed:nicla_voice - additional-sketch-paths: | - - libraries/Nicla_System - - libraries/NDP - additional-libraries: | - - name: Arduino_BHY2 - - name: ArduinoBLE - - name: arduino-audio-tools - source-url: https://github.com/pschatzmann/arduino-audio-tools.git - version: v0.9.6 - - name: arduino-libg722 - source-url: https://github.com/pschatzmann/arduino-libg722.git - board: fqbn: arduino:mbed:giga additional-libraries: | @@ -179,6 +166,19 @@ jobs: - libraries/WiFi - libraries/GSM - ~/Arduino/libraries/ArduinoBLE + - board: + fqbn: arduino:mbed:nicla_voice + additional-sketch-paths: | + - libraries/Nicla_System + - libraries/NDP + additional-libraries: | + - name: Arduino_BHY2 + - name: ArduinoBLE + - name: arduino-audio-tools + source-url: https://github.com/pschatzmann/arduino-audio-tools.git + version: v0.9.6 + - name: arduino-libg722 + source-url: https://github.com/pschatzmann/arduino-libg722.git steps: - name: Checkout repository From 47ea819073c2d86e16e6d1f77917c779e8175216 Mon Sep 17 00:00:00 2001 From: Leonardo Cavagnis <45899760+leonardocavagnis@users.noreply.github.com> Date: Tue, 6 Jun 2023 13:03:56 +0200 Subject: [PATCH 07/12] ci: fix indentation --- .github/workflows/compile-examples.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/compile-examples.yml b/.github/workflows/compile-examples.yml index 8b34373d5..2f6b2ee06 100644 --- a/.github/workflows/compile-examples.yml +++ b/.github/workflows/compile-examples.yml @@ -138,7 +138,7 @@ jobs: - libraries/USBHID - libraries/USBMSD/examples/AccessFlashAsUSBDisk - libraries/WiFi - - board: + - board: fqbn: arduino:mbed:giga additional-libraries: | - name: lvgl From 308f35028923bddde3587288cbb75eb1f574b510 Mon Sep 17 00:00:00 2001 From: Leonardo Cavagnis <45899760+leonardocavagnis@users.noreply.github.com> Date: Tue, 6 Jun 2023 13:26:14 +0200 Subject: [PATCH 08/12] ci: fix fqbn list --- .github/workflows/compile-examples.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/compile-examples.yml b/.github/workflows/compile-examples.yml index 2f6b2ee06..db2710cf1 100644 --- a/.github/workflows/compile-examples.yml +++ b/.github/workflows/compile-examples.yml @@ -39,7 +39,7 @@ jobs: - fqbn: arduino:mbed:nicla_sense - fqbn: arduino:mbed:nicla_vision - fqbn: arduino:mbed:opta - - fqpn: arduino:mbed:giga + - fqbn: arduino:mbed:giga - fqbn: arduino:mbed:nicla_voice # compile only the examples compatible with each board From e2f7e2136d6e5a48318fc4a2e96fefdad6bd8abd Mon Sep 17 00:00:00 2001 From: Leonardo Cavagnis <45899760+leonardocavagnis@users.noreply.github.com> Date: Tue, 6 Jun 2023 15:01:14 +0200 Subject: [PATCH 09/12] ci: remove h7 video examples for envie_m7 core m4 --- .github/workflows/compile-examples.yml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/.github/workflows/compile-examples.yml b/.github/workflows/compile-examples.yml index db2710cf1..3a04c2f98 100644 --- a/.github/workflows/compile-examples.yml +++ b/.github/workflows/compile-examples.yml @@ -56,17 +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 - - name: Arduino_GigaDisplayTouch 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 From 2c9e0255408eed7dc13f3348e70878962b9595e3 Mon Sep 17 00:00:00 2001 From: Leonardo Cavagnis <45899760+leonardocavagnis@users.noreply.github.com> Date: Tue, 6 Jun 2023 15:45:14 +0200 Subject: [PATCH 10/12] ci: remove doom example for giga --- .github/workflows/compile-examples.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/compile-examples.yml b/.github/workflows/compile-examples.yml index 3a04c2f98..fa324d6be 100644 --- a/.github/workflows/compile-examples.yml +++ b/.github/workflows/compile-examples.yml @@ -142,7 +142,6 @@ jobs: - name: Arduino_GigaDisplayTouch additional-sketch-paths: | - libraries/PDM - - libraries/doom - libraries/KernelDebug - libraries/MCUboot - libraries/Camera/examples/CameraCaptureRawBytes From 3ad70c3a45efbe8320efd07c47a5f63b33e18315 Mon Sep 17 00:00:00 2001 From: Leonardo Cavagnis <45899760+leonardocavagnis@users.noreply.github.com> Date: Tue, 6 Jun 2023 16:11:19 +0200 Subject: [PATCH 11/12] ci: remove STM32H747_System examples for giga --- .github/workflows/compile-examples.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/compile-examples.yml b/.github/workflows/compile-examples.yml index fa324d6be..8d41e3f8c 100644 --- a/.github/workflows/compile-examples.yml +++ b/.github/workflows/compile-examples.yml @@ -148,7 +148,6 @@ jobs: - libraries/Camera/examples/CameraMotionDetect - libraries/Portenta_SDCARD - libraries/Portenta_SDRAM - - libraries/STM32H747_System - libraries/Arduino_H7_Video - libraries/RPC - libraries/ThreadDebug From 2e8532e40b1c50d6276dc303b83ebc5daff0c716 Mon Sep 17 00:00:00 2001 From: Leonardo Cavagnis <45899760+leonardocavagnis@users.noreply.github.com> Date: Tue, 6 Jun 2023 16:34:36 +0200 Subject: [PATCH 12/12] ci: remove KernelDebug examples for giga --- .github/workflows/compile-examples.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/compile-examples.yml b/.github/workflows/compile-examples.yml index 8d41e3f8c..80b4aeb50 100644 --- a/.github/workflows/compile-examples.yml +++ b/.github/workflows/compile-examples.yml @@ -142,7 +142,6 @@ jobs: - name: Arduino_GigaDisplayTouch additional-sketch-paths: | - libraries/PDM - - libraries/KernelDebug - libraries/MCUboot - libraries/Camera/examples/CameraCaptureRawBytes - libraries/Camera/examples/CameraMotionDetect