forked from kendryte/kendryte-openmv
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
1,230 additions
and
805 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/sh | ||
|
||
K210_BIN_PATH=`pwd`/build | ||
|
||
#here should set to yours | ||
BRUN_SCRIPT_PATH=/home/xel/K210/pyScript | ||
|
||
bin_file=$K210_BIN_PATH"/"$1".bin" | ||
|
||
echo $bin_file | ||
|
||
cd $BRUN_SCRIPT_PATH | ||
|
||
if [ ! -n "$2" ] ;then | ||
python3 isp.py -b 115200 $bin_file -d /dev/ttyUSB0 | ||
else | ||
python3 isp.py -b 115200 $bin_file -d $2 | ||
fi | ||
|
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,22 @@ | ||
#!/bin/sh | ||
|
||
if [ ! -n "$1" ] ;then | ||
echo "you have to select a Bin File!" | ||
exit | ||
fi | ||
|
||
K210_BIN_PATH=`pwd`/build | ||
BRUN_SCRIPT_PATH=/home/xel/K210/pyScript | ||
|
||
bin_file=$K210_BIN_PATH"/"$1".bin" | ||
|
||
echo $bin_file | ||
|
||
cd $BRUN_SCRIPT_PATH | ||
|
||
if [ ! -n "$2" ] ;then | ||
python3 kflash.py -b 2000000 $bin_file -p /dev/ttyUSB0 | ||
else | ||
python3 kflash.py -b 1000000 $bin_file -p $2 | ||
fi | ||
|
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,2 @@ | ||
/home/xel/kendryte-toolchain-8.2/bin/riscv64-unknown-elf-gdb -ex "set remotetimeout 240" -ex "target extended-remote localhost:3333" -ex "monitor reset halt" -ex "load" $1 | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/sh | ||
|
||
cd ./build | ||
cmake .. -DPROJ=$1 -DTOOLCHAIN=/home/xel/kendryte-toolchain-8.2/bin && make |
Binary file not shown.
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
Oops, something went wrong.