|
|
|
@ -304,13 +304,13 @@ compile () {
|
|
|
|
|
-ide-version "${ARDUINO_IDE_VERSION}" \
|
|
|
|
|
-built-in-libraries "${ARDUINO_PATH}/libraries" \
|
|
|
|
|
-prefs "compiler.cpp.extra_flags=-std=c++11 -Woverloaded-virtual -Wno-unused-parameter -Wno-unused-variable -Wno-ignored-qualifiers ${ARDUINO_CFLAGS} ${LOCAL_CFLAGS}" \
|
|
|
|
|
-prefs compiler.path=${COMPILER_PATH} \
|
|
|
|
|
-prefs compiler.path=${COMPILER_PATH} \
|
|
|
|
|
$CCACHE_ENABLE \
|
|
|
|
|
-warnings all \
|
|
|
|
|
${ARDUINO_VERBOSE} \
|
|
|
|
|
${ARDUINO_AVR_GCC_PREFIX_PARAM} \
|
|
|
|
|
"${SKETCH_DIR}/${SKETCH}.ino"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cp "${BUILD_PATH}/${SKETCH}.ino.hex" "${HEX_FILE_PATH}"
|
|
|
|
|
cp "${BUILD_PATH}/${SKETCH}.ino.elf" "${ELF_FILE_PATH}"
|
|
|
|
|
ln -sf "${OUTPUT_FILE_PREFIX}.hex" "${OUTPUT_PATH}/${SKETCH}-latest.hex"
|
|
|
|
|