mirror of
https://github.com/ClaytonWWilson/miryoku_zmk.git
synced 2025-12-15 18:38:46 +00:00
Add step to workflow to convert to uf2 for seeeduino_xiao
This commit is contained in:
parent
6604c1410a
commit
ed64a853f3
9
.github/workflows/main.yml
vendored
9
.github/workflows/main.yml
vendored
@ -171,6 +171,15 @@ jobs:
|
|||||||
then
|
then
|
||||||
cat -n "$dts"
|
cat -n "$dts"
|
||||||
fi
|
fi
|
||||||
|
- name: Convert seeeduino_xiao bin to uf2
|
||||||
|
if: ${{ matrix.board == 'seeeduino_xiao' }}
|
||||||
|
run: |
|
||||||
|
bin='build/zephyr/zmk.bin'
|
||||||
|
uf2='build/zephyr/zmk.uf2'
|
||||||
|
if [ -f "$bin" -a ! -f "$uf2" ]
|
||||||
|
then
|
||||||
|
python3 ./tools/uf2/utils/uf2conv.py -c -f SAMD21 -o "$uf2" "$bin"
|
||||||
|
fi
|
||||||
- name: Prepare firmware artifacts
|
- name: Prepare firmware artifacts
|
||||||
run: |
|
run: |
|
||||||
for extension in "hex" "uf2"
|
for extension in "hex" "uf2"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user