1
0
Fork 0

dev flash uses build image, not release

jebbatime
ml server 2021-06-12 15:31:29 -06:00
parent a493df75a1
commit 7dc9995465
1 changed files with 2 additions and 6 deletions

View File

@ -5,11 +5,6 @@
cd $JEBBATIMEGITROOT
# Download latest release. XXX better link to latest.
rm -f /tmp/micropython.zip
wget -O /tmp/micropython.zip \
https://spacecruft.org/attachments/9238c4cc-cd29-4b95-89fe-b3246609339c
# Reboot thang into bootloader
echo "Rebooting development PineTime watch into bootloader..."
./tools/wasptool \
@ -22,9 +17,10 @@ sleep 4
# Flash
echo "Flashing..."
# Use image in build dir
./tools/ota-dfu/dfu.py \
--legacy \
--verbose \
--address=$JEBBATIMEDEVDFUMAC \
--zip=/tmp/micropython.zip
--zip=build-pinetime/micropython.zip