More documentation added for the tools
This commit is contained in:
@@ -1,2 +1,4 @@
|
||||
# Source:
|
||||
# luatool.py
|
||||
**Not** supported with python 3.x
|
||||
## Source:
|
||||
https://github.com/4refr0nt/luatool/tree/master/luatool
|
||||
|
@@ -5,6 +5,13 @@ LUATOOL=./tools/luatool.py
|
||||
DEVICE=$1
|
||||
BAUD=115200
|
||||
|
||||
# check environment
|
||||
if [ ! -f $LUATOOL ]; then
|
||||
echo "$LUATOOL not found"
|
||||
echo "is the command prompt at the same level as the tools folder ?"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# check the serial connection
|
||||
|
||||
if [ ! -c $DEVICE ]; then
|
||||
@@ -12,7 +19,6 @@ if [ ! -c $DEVICE ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
if [ $# -eq 0 ]; then
|
||||
echo ""
|
||||
echo "e.g. usage $0 <device> [<files to upoad>]"
|
||||
|
Reference in New Issue
Block a user