forked from wangyeee/STM32F4-FreeRTOS
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixup vibrate by enabling clocks. Also move to platform
* Add git version * note the new build script too
- Loading branch information
Showing
6 changed files
with
49 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/bash | ||
# Push firmware.pbz to the deviceA simple adb push script to get a RebbleOS firmware onto hardware | ||
platform=$1 | ||
|
||
if [[ -z $1 ]]; then | ||
echo "Defaulting to Snowy. Please use '$0 platform' if this isn't what you intended" | ||
platform="snowy" | ||
fi | ||
|
||
echo "I'm going to build platform $platform's PBZ, push it to a connected " | ||
echo "android device over ADB, and then invoke the flash prompt on the pebble app" | ||
|
||
if [ "$platform" != "tintin" ] && [ "$platform" != "snowy" ] && [ "$platform" != "chalk" ]; then | ||
echo "I don't know what platform $1 is!, sorry" | ||
exit 1 | ||
fi | ||
make $platform | ||
adb push ./build/$platform/$platform.pbz /sdcard/Download/ | ||
adb shell am start -n com.getpebble.android.basalt/com.getpebble.android.main.activity.MainActivity -a android.intent.action.VIEW -d file:///sdcard/Download/$platform.pbz |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters