bugfix: Pico W build.

This commit is contained in:
Antti Pohjola
2026-05-13 14:04:56 +03:00
parent bbf50b09eb
commit 9cf52a0665
4 changed files with 19 additions and 5 deletions
+16
View File
@@ -102,6 +102,15 @@ jobs:
-DENABLE_BATT_LED=OFF
cmake --build build/no-batt-led --target ds5-bridge
- name: Build Pico W firmware
run: |
cmake -S . -B build/picow -G Ninja \
-DCMAKE_BUILD_TYPE=Release \
-DPICO_SDK_PATH="$PICO_SDK_PATH" \
-DPICO_W_BUILD=ON
cmake --build build/picow --target ds5-bridge
cp build/picow/ds5-bridge.uf2 artifacts/ds5-bridge-picow.uf2
- name: Upload standard UF2 artifact
uses: actions/upload-artifact@v7
with:
@@ -115,3 +124,10 @@ jobs:
path: artifacts/ds5-bridge-debug.uf2
archive: false
if-no-files-found: error
- name: Upload PicoW UF2 artifact
uses: actions/upload-artifact@v7
with:
path: artifacts/ds5-bridge-picow.uf2
archive: false
if-no-files-found: error