|
|
|
@ -394,12 +394,6 @@ set_executable_paths() {
|
|
|
|
|
: "${AVR_OBJCOPY:=${COMPILER_PATH}/${COMPILER_PREFIX}objcopy}"
|
|
|
|
|
: "${AVR_NM:=${COMPILER_PATH}/${COMPILER_PREFIX}nm}"
|
|
|
|
|
: "${AVR_AR:=${COMPILER_PATH}/${COMPILER_PREFIX}ar}"
|
|
|
|
|
|
|
|
|
|
# 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}"
|
|
|
|
|
AVRDUDE_CMD="${AVRDUDE} -v-C \"${AVRDUDE_CONF}\" -D -p\"$(get_arduino_pref 'build.mcu')\""
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
do_compile() {
|
|
|
|
|