Browse Source
Merge pull request #795 from tahnok/python3-build-sh
Use python3 not python in build.sh
pull/818/head
Liam Cottle
9 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
build.sh
|
|
|
@ -60,7 +60,7 @@ build_firmware() { |
|
|
|
|
|
|
|
# build .uf2 for nrf52 boards |
|
|
|
if [[ -f .pio/build/$1/firmware.zip && -f .pio/build/$1/firmware.hex ]]; then |
|
|
|
python bin/uf2conv/uf2conv.py .pio/build/$1/firmware.hex -c -o .pio/build/$1/firmware.uf2 -f 0xADA52840 |
|
|
|
python3 bin/uf2conv/uf2conv.py .pio/build/$1/firmware.hex -c -o .pio/build/$1/firmware.uf2 -f 0xADA52840 |
|
|
|
fi |
|
|
|
|
|
|
|
# copy .bin, .uf2, and .zip to out folder |
|
|
|
|