Skip to content

Commit 3f6f753

Browse files
Update compile-sketch.yml
1 parent df2e374 commit 3f6f753

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.github/workflows/compile-sketch.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,6 @@ jobs:
112112
113113
build_rp2040:
114114

115-
if: true
116-
117-
118115
name: build rp2040
119116

120117
runs-on: ubuntu-latest
@@ -135,14 +132,13 @@ jobs:
135132
uses: arduino/compile-sketches@v1
136133
with:
137134
fqbn: ${{ matrix.fqbn }}
138-
139-
build-properties: build.usbstack=tinyusb
140-
135+
cli-compile-flags: |
136+
- --build-property
137+
- "build.usbstack_flags=-DUSE_TINYUSB -I{runtime.platform.path}/libraries/Adafruit_TinyUSB_Arduino/src/arduino"
141138
platforms: |
142139
- name: rp2040:rp2040
143140
source-url: https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json
144141
sketch-paths: |
145-
146142
- examples/ml_epiano_example
147143
- examples/ml_mod_tracker
148144
- examples/ml_synth_basic_example

0 commit comments

Comments
 (0)