cangrow.sh add help text

This commit is contained in:
Marcus 2024-06-16 00:02:34 +02:00
parent f4556f75d4
commit 4fc9f62a26

View file

@ -12,6 +12,11 @@ ACLI_CMD="$ACLI --config-file arduino-cli.yml"
function help() { function help() {
echo "$0 [setup|build|upload|webupload|monitor]" 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 exit 1
} }