dev flash uses build image, not release
parent
a493df75a1
commit
7dc9995465
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue