|
|
@ -418,7 +418,7 @@ compile () {
|
|
|
|
-tools "${ARDUINO_PATH}/tools-builder" \
|
|
|
|
-tools "${ARDUINO_PATH}/tools-builder" \
|
|
|
|
-fqbn "${FQBN}" \
|
|
|
|
-fqbn "${FQBN}" \
|
|
|
|
-libraries "." \
|
|
|
|
-libraries "." \
|
|
|
|
-libraries "${ROOT}" \
|
|
|
|
-libraries "${KALEIDOSCOPE_DIR}" \
|
|
|
|
-libraries "${BOARD_HARDWARE_PATH}/.." \
|
|
|
|
-libraries "${BOARD_HARDWARE_PATH}/.." \
|
|
|
|
${local_LIBS} \
|
|
|
|
${local_LIBS} \
|
|
|
|
${EXTRA_BUILDER_ARGS} \
|
|
|
|
${EXTRA_BUILDER_ARGS} \
|
|
|
@ -656,8 +656,8 @@ fi
|
|
|
|
##
|
|
|
|
##
|
|
|
|
## - if there is only one argument, that's a command
|
|
|
|
## - if there is only one argument, that's a command
|
|
|
|
|
|
|
|
|
|
|
|
ROOT="$(cd "$(dirname "$0")"/..; pwd)"
|
|
|
|
KALEIDOSCOPE_DIR="$(cd "$(dirname "$0")"/..; pwd)"
|
|
|
|
export ROOT
|
|
|
|
|
|
|
|
# shellcheck disable=SC2155
|
|
|
|
# shellcheck disable=SC2155
|
|
|
|
export SOURCEDIR="$(pwd)"
|
|
|
|
export SOURCEDIR="$(pwd)"
|
|
|
|
|
|
|
|
|
|
|
@ -677,7 +677,7 @@ if [ -e "${SOURCEDIR}/kaleidoscope-builder.conf" ]; then
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
# shellcheck disable=SC1090
|
|
|
|
# shellcheck disable=SC1090
|
|
|
|
. "${ROOT}/etc/kaleidoscope-builder.conf"
|
|
|
|
. "${KALEIDOSCOPE_DIR}/etc/kaleidoscope-builder.conf"
|
|
|
|
|
|
|
|
|
|
|
|
if [ -n "${VERBOSE}" ] && [[ "${VERBOSE}" -gt 0 ]]; then
|
|
|
|
if [ -n "${VERBOSE}" ] && [[ "${VERBOSE}" -gt 0 ]]; then
|
|
|
|
ARDUINO_VERBOSE="-verbose"
|
|
|
|
ARDUINO_VERBOSE="-verbose"
|
|
|
|