Files
firmware/bin/upload-to-bootloader.sh

9 lines
276 B
Bash
Raw Normal View History

2021-04-11 13:58:48 +08:00
set -e
2021-06-27 09:58:36 -07:00
echo "building for t-echo"
pio run --environment t-echo
echo "Converting to uf2 for NRF52 Adafruit bootloader - double tap on the reset button to force bootloader entry"
2021-04-27 10:21:54 +08:00
bin/uf2conv.py .pio/build/t-echo/firmware.hex -f 0xADA52840
2021-04-11 13:58:48 +08:00
cp flash.uf2 /media/kevinh/FTH*BOOT/