1
0
Fork 0

set time after flash

jebbatime
ml server 2021-06-12 16:54:56 -06:00
parent e86b207360
commit 38fdaf5b1c
4 changed files with 26 additions and 4 deletions

View File

@ -16,7 +16,7 @@ echo "Waiting..."
sleep 4
# Flash
echo "Flashing..."
echo "Flashing, will take ~5 minutes..."
# Use image in build dir
./tools/ota-dfu/dfu.py \
--legacy \
@ -24,3 +24,9 @@ echo "Flashing..."
--address=$JEBBATIMEDEVDFUMAC \
--zip=build-pinetime/micropython.zip
sleep 1
echo "Setting time on watch"
./tools/wasptool \
--rtc \
--device $JEBBATIMEDEVMAC

View File

@ -21,10 +21,16 @@ echo "Waiting..."
sleep 4
# Flash
echo "Flashing..."
echo "Flashing, will take ~5 minutes..."
./tools/ota-dfu/dfu.py \
--legacy \
--verbose \
--address=$JEBBATIMEDEVDFUMAC \
--zip=/tmp/micropython-dev.zip
sleep 1
echo "Setting time on watch"
./tools/wasptool \
--rtc \
--device $JEBBATIMEDEVMAC

View File

@ -16,7 +16,7 @@ echo "Waiting..."
sleep 4
# Flash
echo "Flashing..."
echo "Flashing, will take ~5 minutes..."
# Use image in build dir
./tools/ota-dfu/dfu.py \
--legacy \
@ -24,3 +24,9 @@ echo "Flashing..."
--address=$JEBBATIMEDFUMAC \
--zip=build-pinetime/micropython.zip
sleep 1
echo "Setting time on watch"
./tools/wasptool \
--rtc \
--device $JEBBATIMEMAC

View File

@ -28,5 +28,9 @@ echo "Flashing, will take ~5 minutes..."
--address=$JEBBATIMEDFUMAC \
--zip=/tmp/micropython.zip
echo
sleep 1
echo "Setting time on watch"
./tools/wasptool \
--rtc \
--device $JEBBATIMEMAC