From f2906a1bd407420343bb5d1bafef6b5a5881987b Mon Sep 17 00:00:00 2001 From: hhgarnes Date: Mon, 1 Jun 2015 02:06:47 +0200 Subject: [PATCH] Update Arduino.mk Clarify decoupling of the mcu in the comment. --- Arduino.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Arduino.mk b/Arduino.mk index 16ed2ba..d8bf51b 100644 --- a/Arduino.mk +++ b/Arduino.mk @@ -1282,8 +1282,8 @@ ifndef AVRDUDE_OPTS AVRDUDE_OPTS = -q -V endif -# Avrdude uses mcu attiny84 to upload to the attiny84a, but we want to be able to set -# the gcc mmcu flag to attiny84a. +# Decouple the mcu between the compiler options (-mmcu) and the avrdude options (-p). +# This is needed to be able to compile for attiny84a but specify the upload mcu as attiny84. ifeq ($(MCU), attiny84a) AVRDUDE_MCU = attiny84 else