Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions bin/build-nrf52.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ else
cp bin/*.uf2 $OUTDIR
fi

cp $OUTDIR/$basename.uf2 $OUTDIR/$basename-update.uf2

if (echo $1 | grep -q "rak4631"); then
echo "Copying hex file"
cp .pio/build/$1/firmware.hex $OUTDIR/$basename.hex
Expand Down
2 changes: 2 additions & 0 deletions bin/build-rp2xx0.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,7 @@ echo "Copying uf2 file"
SRCBIN=.pio/build/$1/firmware.uf2
cp $SRCBIN $OUTDIR/$basename.uf2

cp $OUTDIR/$basename.uf2 $OUTDIR/$basename-update.uf2

cp bin/device-install.* $OUTDIR
cp bin/device-update.* $OUTDIR
2 changes: 2 additions & 0 deletions bin/build-stm32wl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,5 @@ cp $SRCELF $OUTDIR/$basename.elf

SRCBIN=.pio/build/$1/firmware.bin
cp $SRCBIN $OUTDIR/$basename.bin

cp $OUTDIR/$basename.bin $OUTDIR/$basename-update.bin
Loading