|
|
|
@ -10,7 +10,6 @@
|
|
|
|
|
########
|
|
|
|
|
|
|
|
|
|
: "${BOARD:=model01}"
|
|
|
|
|
: "${MCU:=atmega32u4}"
|
|
|
|
|
|
|
|
|
|
if [ -z "${ARCH}" ]; then
|
|
|
|
|
ARCH=$(echo "${FQBN}" | sed -n -e 's/^[^:]\+:\([^:]\+\).*/\1/p')
|
|
|
|
@ -197,7 +196,7 @@ OBJCOPY_BASENAME=$(basename ${OBJCOPY:-objcopy})
|
|
|
|
|
# Allow the compiler prefix to be empty for virtual builds
|
|
|
|
|
COMPILER_PREFIX="${COMPILER_PREFIX-avr-}"
|
|
|
|
|
: "${AVR_SIZE:=${COMPILER_PATH}/${COMPILER_PREFIX}size}"
|
|
|
|
|
: "${AVR_SIZE_FLAGS:=-C --mcu=${MCU}}"
|
|
|
|
|
: "${AVR_SIZE_FLAGS:=-C --mcu=$(get_arduino_pref 'build.mcu')}"
|
|
|
|
|
: "${AVR_OBJDUMP:=${COMPILER_PATH}/${COMPILER_PREFIX}objdump}"
|
|
|
|
|
: "${AVR_OBJCOPY:=${COMPILER_PATH}/${COMPILER_PREFIX}objcopy}"
|
|
|
|
|
: "${AVR_NM:=${COMPILER_PATH}/${COMPILER_PREFIX}nm}"
|
|
|
|
|