mirror of
https://github.com/rtlduino/RTL8710AF_GCC.git
synced 2026-07-08 12:35:39 +00:00
rtlduino rtl8710af gcc base version
This commit is contained in:
parent
7675bdb95f
commit
9c0c9edf61
2097 changed files with 779974 additions and 2 deletions
|
|
@ -0,0 +1,21 @@
|
|||
#!/bin/sh
|
||||
|
||||
OS=`uname | cut -c 1-6`
|
||||
|
||||
PID=`ps aux | grep openocd | gawk '{print $1}'`
|
||||
|
||||
if [ ! -z "$PID" -a "$PID" != " " ]; then
|
||||
echo Found openocd running, Kill it
|
||||
kill $PID
|
||||
else
|
||||
if [ $OS == CYGWIN ]; then
|
||||
echo Try to search windows process
|
||||
PID=`ps --windows | grep openocd | gawk '{print $1}'`
|
||||
if [ -n PID ]; then
|
||||
echo Found openocd running, Kill it
|
||||
taskkill /F /pid $PID
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
openocd -f interface/cmsis-dap.cfg -f ../../../component/soc/realtek/8195a/misc/gcc_utility/openocd/ameba1.cfg
|
||||
Loading…
Add table
Add a link
Reference in a new issue