@@ -165,7 +165,7 @@ jobs:
165165 name: AC101
166166
167167
168- build_rp2040 :
168+ build_rp2040_tinyusb :
169169
170170 name : build rp2040
171171
@@ -175,6 +175,7 @@ jobs:
175175 matrix :
176176 fqbn :
177177 - rp2040:rp2040:rpipico
178+ - rp2040:rp2040:rpipico2
178179
179180 steps :
180181 - name : Checkout repository
@@ -187,15 +188,15 @@ jobs:
187188 uses : arduino/compile-sketches@v1
188189 with :
189190 fqbn : ${{ matrix.fqbn }}
190- # cli-compile-flags: |
191- # - --build-property
192- # - "build.usbstack_flags=-DUSE_TINYUSB -I{runtime.platform.path}/libraries/Adafruit_TinyUSB_Arduino/src/arduino"
191+ cli-compile-flags : |
192+ - --build-property
193+ - "build.usbstack_flags=-DUSE_TINYUSB -I{runtime.platform.path}/libraries/Adafruit_TinyUSB_Arduino/src/arduino"
193194 platforms : |
194195 - name: rp2040:rp2040
195196 source-url: https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json
196197 sketch-paths : |
197198 - examples/ml_epiano_example
198- - examples/ml_midi_monitor
199+ # - examples/ml_midi_monitor
199200 - examples/ml_mod_tracker
200201 - examples/ml_synth_basic_example
201202 #- examples/ml_synth_fm_example
@@ -225,6 +226,60 @@ jobs:
225226 name: MIDI_Library
226227 version: 5.0.2
227228
229+ build_rp2040 :
230+
231+ name : build rp2040
232+
233+ runs-on : ubuntu-latest
234+
235+ strategy :
236+ matrix :
237+ fqbn :
238+ - rp2040:rp2040:rpipico
239+ - rp2040:rp2040:rpipico2
240+
241+ steps :
242+ - name : Checkout repository
243+ uses : actions/checkout@v4
244+
245+ with :
246+ submodules : ' true'
247+
248+ - name : Compile sketch
249+ uses : arduino/compile-sketches@v1
250+ with :
251+ fqbn : ${{ matrix.fqbn }}
252+ # cli-compile-flags: |
253+ # - --build-property
254+ # - "build.usbstack_flags=-DUSE_TINYUSB -I{runtime.platform.path}/libraries/Adafruit_TinyUSB_Arduino/src/arduino"
255+ platforms : |
256+ - name: rp2040:rp2040
257+ source-url: https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json
258+ sketch-paths : |
259+ - examples/ml_midi_monitor
260+
261+ libraries : |
262+ - source-url: https://github.com/marcel-licence/ML_SynthTools.git
263+ name: ML_SynthTools
264+ - source-url: https://github.com/marcel-licence/ML_SynthTools_Lib.git
265+ name: ML_SynthTools_Lib
266+ - source-url: https://github.com/adafruit/Adafruit-GFX-Library.git
267+ name: Adafruit_GFX_Library
268+ version: 1.10.10
269+ - source-url: https://github.com/adafruit/Adafruit_SSD1306.git
270+ name: Adafruit_SSD1306
271+ version: 2.4.5
272+ - source-url: https://github.com/adafruit/Adafruit_BusIO.git
273+ name: Adafruit BusIO
274+ version: 1.14.1
275+ - source-url: https://github.com/marcel-licence/AC101.git
276+ name: AC101
277+ - source-url: https://github.com/marcel-licence/ML_SynthTools.git
278+ name: ML_SynthTools
279+ - source-url: https://github.com/FortySevenEffects/arduino_midi_library.git
280+ name: MIDI_Library
281+ version: 5.0.2
282+
228283 build_stm32 :
229284
230285 if : false
0 commit comments