|
|
@ -41,6 +41,7 @@ firmware_size () {
|
|
|
|
echo "${output}" | sed -e "s/\(Program:.*\)(\([0-9\.]*%\) Full)/\1(${PERCENT}% Full)/"
|
|
|
|
echo "${output}" | sed -e "s/\(Program:.*\)(\([0-9\.]*%\) Full)/\1(${PERCENT}% Full)/"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
find_sketch () {
|
|
|
|
find_sketch () {
|
|
|
|
SKETCH="${SKETCH:-${DEFAULT_SKETCH}}"
|
|
|
|
SKETCH="${SKETCH:-${DEFAULT_SKETCH}}"
|
|
|
|
LIBRARY="${LIBRARY:-${SKETCH}}"
|
|
|
|
LIBRARY="${LIBRARY:-${SKETCH}}"
|
|
|
@ -294,7 +295,7 @@ EOF
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
usage () {
|
|
|
|
usage () {
|
|
|
|
cat <<EOF
|
|
|
|
cat <<- EOF
|
|
|
|
Usage: $0 SKETCH commands...
|
|
|
|
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.
|
|
|
|