|
|
|
@ -41,6 +41,7 @@ firmware_size () {
|
|
|
|
|
echo "${output}" | sed -e "s/\(Program:.*\)(\([0-9\.]*%\) Full)/\1(${PERCENT}% Full)/"
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
find_sketch () {
|
|
|
|
|
SKETCH="${SKETCH:-${DEFAULT_SKETCH}}"
|
|
|
|
|
LIBRARY="${LIBRARY:-${SKETCH}}"
|
|
|
|
@ -294,12 +295,12 @@ EOF
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
usage () {
|
|
|
|
|
cat <<EOF
|
|
|
|
|
Usage: $0 SKETCH commands...
|
|
|
|
|
cat <<- EOF
|
|
|
|
|
Usage: $0 SKETCH commands...
|
|
|
|
|
|
|
|
|
|
Runs all of the commands in the context of the Sketch.
|
|
|
|
|
Runs all of the commands in the context of the Sketch.
|
|
|
|
|
|
|
|
|
|
Available commands:
|
|
|
|
|
Available commands:
|
|
|
|
|
|
|
|
|
|
help
|
|
|
|
|
This help screen.
|
|
|
|
@ -330,7 +331,7 @@ Available commands:
|
|
|
|
|
|
|
|
|
|
build-all
|
|
|
|
|
Build all Sketches we can find.
|
|
|
|
|
EOF
|
|
|
|
|
EOF
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
help () {
|
|
|
|
|