Skip to content

Commit 9323402

Browse files
committed
TEMP: REMOVEME: add adb wrapper in core
1 parent 750e51d commit 9323402

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

extras/adb-wrapper

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/bash
2+
3+
adb push $2 /tmp
4+
FILENAME=`basename $2`
5+
adb shell openocd -f /home/fio/extra/openocd_script.cfg -c "\"init; halt; flash write_image /tmp/$FILENAME 0x8100000; reset; shutdown\""

platform.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,9 @@ tools.imgtool.flags=sign --key "{build.keys.keychain}/{build.keys.sign_key}" --e
199199
# ADB WRAPPER
200200
#
201201

202-
tools.adb.path={runtime.tools.adb.path}
202+
#tools.adb.path={runtime.tools.adb.path}
203+
# temp
204+
tools.adb.path={runtime.platform.path}/extras/
203205
tools.adb.cmd=adb-wrapper
204206
tools.adb.upload.params.verbose=-v
205207
tools.adb.upload.params.quiet=

0 commit comments

Comments
 (0)