|
|
@ -291,8 +291,14 @@ hex_with_bootloader () {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
maybe_build () {
|
|
|
|
maybe_build () {
|
|
|
|
|
|
|
|
build_version
|
|
|
|
|
|
|
|
build_paths
|
|
|
|
|
|
|
|
build_filenames
|
|
|
|
|
|
|
|
|
|
|
|
if [ ! -e "${HEX_FILE_PATH}" ]; then
|
|
|
|
if [ ! -e "${HEX_FILE_PATH}" ]; then
|
|
|
|
build "$@"
|
|
|
|
build "$@"
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
SKETCH_DIR="$(find_sketch)"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -609,7 +615,7 @@ fi
|
|
|
|
# shellcheck disable=SC1090
|
|
|
|
# shellcheck disable=SC1090
|
|
|
|
. "${ROOT}/etc/kaleidoscope-builder.conf"
|
|
|
|
. "${ROOT}/etc/kaleidoscope-builder.conf"
|
|
|
|
|
|
|
|
|
|
|
|
if [ -n "${VERBOSE}" ] && [ "${VERBOSE}" -gt 0 ]; then
|
|
|
|
if [ -n "${VERBOSE}" ] && [[ "${VERBOSE}" -gt 0 ]]; then
|
|
|
|
ARDUINO_VERBOSE="-verbose"
|
|
|
|
ARDUINO_VERBOSE="-verbose"
|
|
|
|
else
|
|
|
|
else
|
|
|
|
ARDUINO_VERBOSE="-quiet"
|
|
|
|
ARDUINO_VERBOSE="-quiet"
|
|
|
|