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

11 wiersze
297 B
Bash
Czysty Zwykły widok Historia

#!/usr/bin/env bash
2021-04-11 05:58:48 +00:00
set -e
2021-06-27 16:58:36 +00: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 02:21:54 +00:00
bin/uf2conv.py .pio/build/t-echo/firmware.hex -f 0xADA52840
2021-04-11 05:58:48 +00:00
cp flash.uf2 /media/kevinh/FTH*BOOT/