|
|
@ -125,9 +125,14 @@ compile () {
|
|
|
|
local_LIBS="-libraries \"${ARDUINO_LOCAL_LIB_PATH}/libraries\""
|
|
|
|
local_LIBS="-libraries \"${ARDUINO_LOCAL_LIB_PATH}/libraries\""
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ARDUINO_PACKAGES=""
|
|
|
|
|
|
|
|
if [ -d "${HOME}/.arduino15/packages" ]; then
|
|
|
|
|
|
|
|
ARDUINO_PACKAGES="-hardware \"${HOME}/.arduino15/packages\""
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
${ARDUINO_BUILDER} \
|
|
|
|
${ARDUINO_BUILDER} \
|
|
|
|
-compile \
|
|
|
|
-compile \
|
|
|
|
-hardware "${HOME}/.arduino15/packages" \
|
|
|
|
${ARDUINO_PACKAGES} \
|
|
|
|
-hardware "${ARDUINO_PATH}/hardware" \
|
|
|
|
-hardware "${ARDUINO_PATH}/hardware" \
|
|
|
|
-hardware "${BOARD_HARDWARE_PATH}" \
|
|
|
|
-hardware "${BOARD_HARDWARE_PATH}" \
|
|
|
|
${ARDUINO_TOOLS_PARAM} \
|
|
|
|
${ARDUINO_TOOLS_PARAM} \
|
|
|
|