|
|
|
@ -77,8 +77,6 @@ if [ "${uname_S}" = "Darwin" ]; then
|
|
|
|
|
/bin/stty -f ${DEVICE_PORT} 1200
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
: "${ARDUINO_LOCAL_LIB_PATH:=${HOME}/Documents/Arduino}"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
find_bootloader_ports() {
|
|
|
|
|
find_device_vid_pid
|
|
|
|
@ -122,7 +120,6 @@ elif [ "${uname_O}" = "Cygwin" ]; then
|
|
|
|
|
#
|
|
|
|
|
# It's important that all of these be underneath /cygdrive/c so they can be converted to Windows paths that the
|
|
|
|
|
# Windows Arduino binaries can understand.
|
|
|
|
|
: "${ARDUINO_LOCAL_LIB_PATH:=/cygdrive/c/Users/${USER}/Arduino}"
|
|
|
|
|
: "${TMPDIR:=/cygdrive/c/Users/${USER}/AppData/Local/Temp}"
|
|
|
|
|
|
|
|
|
|
# We need to prevent Windows executables from being passed parameters that are absolute paths, since they won't
|
|
|
|
@ -136,7 +133,6 @@ elif [ "${uname_O}" = "Cygwin" ]; then
|
|
|
|
|
exit 1
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
ARDUINO_LOCAL_LIB_PATH="$(realpath --relative-to=./ ${ARDUINO_LOCAL_LIB_PATH})"
|
|
|
|
|
TMPDIR="$(realpath --relative-to=./ ${TMPDIR})"
|
|
|
|
|
|
|
|
|
|
find_device_port() {
|
|
|
|
@ -159,12 +155,6 @@ elif [ "${uname_O}" = "Cygwin" ]; then
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
######
|
|
|
|
|
###### Arduino tools configuration
|
|
|
|
|
######
|
|
|
|
|
|
|
|
|
|
: "${ARDUINO_LOCAL_LIB_PATH:=${HOME}/Arduino}"
|
|
|
|
|
|
|
|
|
|
######
|
|
|
|
|
###### Executable paths
|
|
|
|
|
######
|
|
|
|
|