|
|
@ -484,12 +484,12 @@ do_compile_with_builder() {
|
|
|
|
-build-path "${BUILD_PATH}" \
|
|
|
|
-build-path "${BUILD_PATH}" \
|
|
|
|
-ide-version "${ARDUINO_IDE_VERSION}" \
|
|
|
|
-ide-version "${ARDUINO_IDE_VERSION}" \
|
|
|
|
-built-in-libraries "${ARDUINO_PATH}/libraries" \
|
|
|
|
-built-in-libraries "${ARDUINO_PATH}/libraries" \
|
|
|
|
-prefs "compiler.cpp.extra_flags=${ARDUINO_CFLAGS} ${LOCAL_CFLAGS}" \
|
|
|
|
-prefs compiler.cpp.extra_flags="${ARDUINO_CFLAGS} ${LOCAL_CFLAGS}" \
|
|
|
|
-prefs "compiler.path=${COMPILER_PATH}" \
|
|
|
|
-prefs compiler.path="${COMPILER_PATH}" \
|
|
|
|
-prefs "compiler.c.cmd=${_CMD_CC}" \
|
|
|
|
-prefs compiler.c.cmd="${_CMD_CC}" \
|
|
|
|
-prefs "compiler.cpp.cmd=${_CMD_CXX}" \
|
|
|
|
-prefs compiler.cpp.cmd="${_CMD_CXX}" \
|
|
|
|
-prefs "compiler.ar.cmd=${_CMD_AR}" \
|
|
|
|
-prefs compiler.ar.cmd="${_CMD_AR}" \
|
|
|
|
-prefs "compiler.c.elf.cmd=${_CMD_CXX}" \
|
|
|
|
-prefs compiler.c.elf.cmd="${_CMD_CXX}" \
|
|
|
|
$CCACHE_ENABLE \
|
|
|
|
$CCACHE_ENABLE \
|
|
|
|
-warnings all \
|
|
|
|
-warnings all \
|
|
|
|
${ARDUINO_VERBOSE} \
|
|
|
|
${ARDUINO_VERBOSE} \
|
|
|
@ -505,6 +505,12 @@ do_compile_with_cli() {
|
|
|
|
--libraries "${KALEIDOSCOPE_DIR}/.." \
|
|
|
|
--libraries "${KALEIDOSCOPE_DIR}/.." \
|
|
|
|
--build-path=${BUILD_PATH} \
|
|
|
|
--build-path=${BUILD_PATH} \
|
|
|
|
--output-dir=${OUTPUT_PATH} \
|
|
|
|
--output-dir=${OUTPUT_PATH} \
|
|
|
|
|
|
|
|
--build-properties "compiler.cpp.extra_flags=${ARDUINO_CFLAGS} ${LOCAL_CFLAGS}" \
|
|
|
|
|
|
|
|
--build-properties "compiler.path=${COMPILER_PATH}" \
|
|
|
|
|
|
|
|
--build-properties "compiler.c.cmd=${_CMD_CC}" \
|
|
|
|
|
|
|
|
--build-properties "compiler.cpp.cmd=${_CMD_CXX}" \
|
|
|
|
|
|
|
|
--build-properties "compiler.ar.cmd=${_CMD_AR}" \
|
|
|
|
|
|
|
|
--build-properties "compiler.c.elf.cmd=${_CMD_CXX}" \
|
|
|
|
"${SKETCH_FILE_PATH}"
|
|
|
|
"${SKETCH_FILE_PATH}"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|