diff --git a/scripts/jebbatime-dev-flash-build b/scripts/jebbatime-dev-flash-build index 986fdb3..d204000 100755 --- a/scripts/jebbatime-dev-flash-build +++ b/scripts/jebbatime-dev-flash-build @@ -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 + diff --git a/scripts/jebbatime-dev-flash-release b/scripts/jebbatime-dev-flash-release index 718224d..03e2a7c 100755 --- a/scripts/jebbatime-dev-flash-release +++ b/scripts/jebbatime-dev-flash-release @@ -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 + diff --git a/scripts/jebbatime-flash-build b/scripts/jebbatime-flash-build index 4dbf57e..6804791 100755 --- a/scripts/jebbatime-flash-build +++ b/scripts/jebbatime-flash-build @@ -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 + diff --git a/scripts/jebbatime-flash-release b/scripts/jebbatime-flash-release index f51051a..323f604 100755 --- a/scripts/jebbatime-flash-release +++ b/scripts/jebbatime-flash-release @@ -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