cangrow.sh add help text
This commit is contained in:
parent
f4556f75d4
commit
4fc9f62a26
1 changed files with 5 additions and 0 deletions
|
@ -12,6 +12,11 @@ ACLI_CMD="$ACLI --config-file arduino-cli.yml"
|
|||
|
||||
function help() {
|
||||
echo "$0 [setup|build|upload|webupload|monitor]"
|
||||
echo "setup: setup build environment, download arduino-cli, install all dependencies for arduino ide"
|
||||
echo "build: build firmware binary. will be saved into build/"
|
||||
echo "upload: upload firmware by serial connection $TTY"
|
||||
echo "webupload: upload firmware with webupload to $IP"
|
||||
echo "monitor: serial monitor $TTY"
|
||||
exit 1
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue