8000 Update PIO platform before compile, add RISC-V PIO build to CI (#2504) · marklove5102/arduino-pico@2550195 · GitHub
[go: up one dir, main page]

65EE
Skip to content

Commit 2550195

Browse files
authored
Update PIO platform before compile, add RISC-V PIO build to CI (earlephilhower#2504)
1 parent f6973fc commit 2550195

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/pull-request.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,10 +265,13 @@ jobs:
265265
python -m pip install --upgrade pip
266266
pip install --upgrade platformio
267267
pio pkg install --global --platform https://github.com/maxgerhardt/platform-raspberrypi.git
268+
pio pkg update --global --platform https://github.com/maxgerhardt/platform-raspberrypi.git
268269
pio pkg install --global --tool symlink://.
269270
cp -f /home/runner/work/arduino-pico/arduino-pico/tools/json/*.json /home/runner/.platformio/platforms/raspberrypi/boards/.
270271
- name: Build Multicore Example
271272
run: pio ci -v --board=rpipico --board=rpipico2 --board=adafruit_feather -O "platform_packages=framework-arduinopico@symlink:///home/runner/work/arduino-pico/arduino-pico" libraries/rp2040/examples/Multicore/Multicore.ino
273+
- name: Build Multicore Example (RISC-V)
274+
run: pio ci -v --board=rpipico2 -O "board_build.mcu = rp2350-riscv" -O "platform_packages=framework-arduinopico@symlink:///home/runner/work/arduino-pico/arduino-pico" libraries/rp2040/examples/Multicore/Multicore.ino
272275
- name: Build Fade Example
273276
run: pio ci --board=rpipico --board=adafruit_feather -O "platform_packages=framework-arduinopico@symlink:///home/runner/work/arduino-pico/arduino-pico" libraries/rp2040/examples/Fade/Fade.ino
274277
- name: Build TinyUSB Example

0 commit comments

Comments
 (0)
0