From 2dec2eda24e53e8a96598ac622c239e763aafdf4 Mon Sep 17 00:00:00 2001 From: Marcel <65245426+marcel-licence@users.noreply.github.com> Date: Thu, 17 Oct 2024 01:54:05 +0200 Subject: [PATCH 1/4] Update compile-sketch.yml --- .github/workflows/compile-sketch.yml | 54 ++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/.github/workflows/compile-sketch.yml b/.github/workflows/compile-sketch.yml index 7da9deb..3ad5502 100644 --- a/.github/workflows/compile-sketch.yml +++ b/.github/workflows/compile-sketch.yml @@ -109,6 +109,60 @@ jobs: - source-url: https://github.com/marcel-licence/AC101.git name: AC101 + + build_rp2040: + + if: true + + name: build rp2040 + + runs-on: ubuntu-latest + + strategy: + matrix: + fqbn: + - rp2040:rp2040:rpipico + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + with: + submodules: 'true' + + - name: Compile sketch + uses: arduino/compile-sketches@v1 + with: + fqbn: ${{ matrix.fqbn }} + build-properties: build.usbstack=tinyusb + platforms: | + - name: rp2040:rp2040 + source-url: https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json + sketch-paths: | + - examples/ml_epiano_example + - examples/ml_mod_tracker + - examples/ml_synth_basic_example + - examples/ml_synth_fm_example + - examples/ml_synth_multi_saw_example + - examples/ml_synth_organ_example + - examples/ml_synth_pwm_osc_example + - examples/ml_synth_sampler_example + libraries: | + - source-url: https://github.com/marcel-licence/ML_SynthTools.git + name: ML_SynthTools + - source-url: https://github.com/marcel-licence/ML_SynthTools_Lib.git + name: ML_SynthTools_Lib + - source-url: https://github.com/adafruit/Adafruit-GFX-Library.git + name: Adafruit_GFX_Library + version: 1.10.10 + - source-url: https://github.com/adafruit/Adafruit_SSD1306.git + name: Adafruit_SSD1306 + version: 2.4.5 + - source-url: https://github.com/adafruit/Adafruit_BusIO.git + name: Adafruit BusIO + version: 1.14.1 + - source-url: https://github.com/marcel-licence/AC101.git + name: AC101 + build_stm32: if: false From 3f6f753f5d394187a9c69eee40b4fcc898eb058e Mon Sep 17 00:00:00 2001 From: Marcel <65245426+marcel-licence@users.noreply.github.com> Date: Thu, 17 Oct 2024 11:39:42 +0200 Subject: [PATCH 2/4] Update compile-sketch.yml --- .github/workflows/compile-sketch.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/compile-sketch.yml b/.github/workflows/compile-sketch.yml index 86b2e6b..773c11d 100644 --- a/.github/workflows/compile-sketch.yml +++ b/.github/workflows/compile-sketch.yml @@ -112,9 +112,6 @@ jobs: build_rp2040: - if: true - - name: build rp2040 runs-on: ubuntu-latest @@ -135,14 +132,13 @@ jobs: uses: arduino/compile-sketches@v1 with: fqbn: ${{ matrix.fqbn }} - - build-properties: build.usbstack=tinyusb - + cli-compile-flags: | + - --build-property + - "build.usbstack_flags=-DUSE_TINYUSB -I{runtime.platform.path}/libraries/Adafruit_TinyUSB_Arduino/src/arduino" platforms: | - name: rp2040:rp2040 source-url: https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json sketch-paths: | - - examples/ml_epiano_example - examples/ml_mod_tracker - examples/ml_synth_basic_example From b44dda933caf6f41facc7464c61835eedbf42dc6 Mon Sep 17 00:00:00 2001 From: Marcel <65245426+marcel-licence@users.noreply.github.com> Date: Thu, 17 Oct 2024 11:51:19 +0200 Subject: [PATCH 3/4] Update compile-sketch.yml --- .github/workflows/compile-sketch.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/compile-sketch.yml b/.github/workflows/compile-sketch.yml index 773c11d..fd63311 100644 --- a/.github/workflows/compile-sketch.yml +++ b/.github/workflows/compile-sketch.yml @@ -36,10 +36,10 @@ jobs: - examples/ml_epiano_example - examples/ml_mod_tracker - examples/ml_synth_basic_example - - examples/ml_synth_fm_example + #- examples/ml_synth_fm_example - examples/ml_synth_multi_saw_example - examples/ml_synth_organ_example - - examples/ml_synth_pwm_osc_example + #- examples/ml_synth_pwm_osc_example - examples/ml_synth_sampler_example libraries: | - source-url: https://github.com/marcel-licence/ML_SynthTools.git From 115256a6c1b1f9ba3c9648dee3fcfe401b12f013 Mon Sep 17 00:00:00 2001 From: Marcel <65245426+marcel-licence@users.noreply.github.com> Date: Thu, 17 Oct 2024 12:02:21 +0200 Subject: [PATCH 4/4] Update compile-sketch.yml --- .github/workflows/compile-sketch.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/compile-sketch.yml b/.github/workflows/compile-sketch.yml index fd63311..aa054bf 100644 --- a/.github/workflows/compile-sketch.yml +++ b/.github/workflows/compile-sketch.yml @@ -142,10 +142,10 @@ jobs: - examples/ml_epiano_example - examples/ml_mod_tracker - examples/ml_synth_basic_example - - examples/ml_synth_fm_example + #- examples/ml_synth_fm_example - examples/ml_synth_multi_saw_example - examples/ml_synth_organ_example - - examples/ml_synth_pwm_osc_example + #- examples/ml_synth_pwm_osc_example - examples/ml_synth_sampler_example libraries: | - source-url: https://github.com/marcel-licence/ML_SynthTools.git