|
|
@ -324,8 +324,7 @@ cmd_compile() {
|
|
|
|
--build-properties "compiler.ar.cmd=${_CMD_AR}" \
|
|
|
|
--build-properties "compiler.ar.cmd=${_CMD_AR}" \
|
|
|
|
--build-properties "compiler.c.elf.cmd=${_CMD_CXX}" \
|
|
|
|
--build-properties "compiler.c.elf.cmd=${_CMD_CXX}" \
|
|
|
|
--build-properties "compiler.cpp.extra_flags=${LOCAL_CFLAGS}" \
|
|
|
|
--build-properties "compiler.cpp.extra_flags=${LOCAL_CFLAGS}" \
|
|
|
|
"${ARDUINO_VERBOSE}" \
|
|
|
|
--warnings all ${ARDUINO_VERBOSE} \
|
|
|
|
--warnings all \
|
|
|
|
|
|
|
|
"${SKETCH_FILE_PATH}"
|
|
|
|
"${SKETCH_FILE_PATH}"
|
|
|
|
|
|
|
|
|
|
|
|
if [ -z "${LIBONLY}" ]; then
|
|
|
|
if [ -z "${LIBONLY}" ]; then
|
|
|
@ -451,7 +450,7 @@ _configure_arduino_cli_env
|
|
|
|
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=""
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
if [[ -z "${ARCH}" && -n "${FQBN}" ]]; then
|
|
|
|
if [[ -z "${ARCH}" && -n "${FQBN}" ]]; then
|
|
|
|