mirror of
https://github.com/ClaytonWWilson/miryoku_zmk.git
synced 2025-12-13 09:48:47 +00:00
Remove Show dts.pre.tmp and Convert seeeduino_xiao bin to uf2 steps
This commit is contained in:
parent
914dd6ccf4
commit
9d8b93c264
17
.github/workflows/main.yml
vendored
17
.github/workflows/main.yml
vendored
@ -237,23 +237,6 @@ jobs:
|
||||
run: west zephyr-export
|
||||
- name: Build
|
||||
run: west build -s zmk/app -b ${{ matrix.board }} -- ${{ steps.variables.outputs.shield-arg }} -DZMK_CONFIG="${GITHUB_WORKSPACE}/config"
|
||||
- name: Show dts.pre.tmp
|
||||
if: ${{ failure() }}
|
||||
run: |
|
||||
dts="build/zephyr/${{ matrix.board }}.dts.pre.tmp"
|
||||
if [ -f "$dts" ]
|
||||
then
|
||||
cat -n "$dts"
|
||||
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
|
||||
run: |
|
||||
for extension in "hex" "uf2"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user