Skip to content

Commit 19fb7aa

Browse files
committed
Use python3 not python in build.sh
Since the bin/uf2conv/uf2conf.py script uses python3, use python3 as the command instead of python. On my ubuntu 24.04 machine, I don't have a python command in my path by default
1 parent 5377d7c commit 19fb7aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ build_firmware() {
6060

6161
# build .uf2 for nrf52 boards
6262
if [[ -f .pio/build/$1/firmware.zip && -f .pio/build/$1/firmware.hex ]]; then
63-
python bin/uf2conv/uf2conv.py .pio/build/$1/firmware.hex -c -o .pio/build/$1/firmware.uf2 -f 0xADA52840
63+
python3 bin/uf2conv/uf2conv.py .pio/build/$1/firmware.hex -c -o .pio/build/$1/firmware.uf2 -f 0xADA52840
6464
fi
6565

6666
# copy .bin, .uf2, and .zip to out folder

0 commit comments

Comments
 (0)