dev flash uses build image, not release
parent
a493df75a1
commit
7dc9995465
|
@ -5,11 +5,6 @@
|
||||||
|
|
||||||
cd $JEBBATIMEGITROOT
|
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
|
# Reboot thang into bootloader
|
||||||
echo "Rebooting development PineTime watch into bootloader..."
|
echo "Rebooting development PineTime watch into bootloader..."
|
||||||
./tools/wasptool \
|
./tools/wasptool \
|
||||||
|
@ -22,9 +17,10 @@ sleep 4
|
||||||
|
|
||||||
# Flash
|
# Flash
|
||||||
echo "Flashing..."
|
echo "Flashing..."
|
||||||
|
# Use image in build dir
|
||||||
./tools/ota-dfu/dfu.py \
|
./tools/ota-dfu/dfu.py \
|
||||||
--legacy \
|
--legacy \
|
||||||
--verbose \
|
--verbose \
|
||||||
--address=$JEBBATIMEDEVDFUMAC \
|
--address=$JEBBATIMEDEVDFUMAC \
|
||||||
--zip=/tmp/micropython.zip
|
--zip=build-pinetime/micropython.zip
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue