|
|
|
@ -106,8 +106,6 @@ elif [ "${uname_S}" = "FreeBSD" ]; then
|
|
|
|
|
: "${AVR_SIZE:=/usr/local/bin/avr-size}"
|
|
|
|
|
: "${AVR_NM:=/usr/local/bin/avr-nm}"
|
|
|
|
|
: "${AVR_OBJDUMP:=/usr/local/bin/avr-objdump}"
|
|
|
|
|
: "${AVRDUDE:=/usr/local/bin/avrdude}"
|
|
|
|
|
: "${AVRDUDE_CONF:=/usr/local/etc/avrdude.conf}"
|
|
|
|
|
|
|
|
|
|
find_bootloader_ports() {
|
|
|
|
|
DEVICE_PORT_PROBER="${KALEIDOSCPE_BIN_DIR}/find-device-port-freebsd"
|
|
|
|
@ -172,14 +170,14 @@ fi
|
|
|
|
|
|
|
|
|
|
: "${ARDUINO_PATH:=/usr/local/arduino}"
|
|
|
|
|
: "${ARDUINO_LOCAL_LIB_PATH:=${HOME}/Arduino}"
|
|
|
|
|
: "${ARDUINO_TOOLS_PATH:=${ARDUINO_PATH}/hardware/tools}"
|
|
|
|
|
|
|
|
|
|
######
|
|
|
|
|
###### Executable paths
|
|
|
|
|
######
|
|
|
|
|
|
|
|
|
|
# Allow the compiler path to be empty for virtual builds
|
|
|
|
|
: "${COMPILER_PATH=${ARDUINO_TOOLS_PATH}/avr/bin/}"
|
|
|
|
|
# should use compiler.path instead of appending bin, but we don't have substitution het
|
|
|
|
|
: "${COMPILER_PATH=$(get_arduino_pref 'runtime.tools.avr-gcc.path')/bin}"
|
|
|
|
|
|
|
|
|
|
COMPILER_SUFFIX=""
|
|
|
|
|
|
|
|
|
@ -199,6 +197,6 @@ COMPILER_PREFIX="${COMPILER_PREFIX-avr-}"
|
|
|
|
|
: "${AVR_GCC:=${COMPILER_PATH}/${COMPILER_PREFIX}${C_COMPILER_BASENAME}}"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
: "${AVRDUDE:=${ARDUINO_TOOLS_PATH}/avr/bin/avrdude}"
|
|
|
|
|
: "${AVRDUDE_CONF:=${ARDUINO_TOOLS_PATH}/avr/etc/avrdude.conf}"
|
|
|
|
|
# TO DO should use tools.avrdude.cmd.path and tools.avrdude.config.path instead of hardcoding
|
|
|
|
|
: "${AVRDUDE:=$(get_arduino_pref 'runtime.tools.avrdude.path')/bin/avrdude}"
|
|
|
|
|
: "${AVRDUDE_CONF:=$(get_arduino_pref 'runtime.tools.avrdude.path')/etc/avrdude.conf}"
|
|
|
|
|