Update Arduino.mk
Clarify decoupling of the mcu in the comment.
This commit is contained in:
parent
105a731d3f
commit
f2906a1bd4
1 changed files with 2 additions and 2 deletions
|
@ -1282,8 +1282,8 @@ ifndef AVRDUDE_OPTS
|
||||||
AVRDUDE_OPTS = -q -V
|
AVRDUDE_OPTS = -q -V
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Avrdude uses mcu attiny84 to upload to the attiny84a, but we want to be able to set
|
# Decouple the mcu between the compiler options (-mmcu) and the avrdude options (-p).
|
||||||
# the gcc mmcu flag to attiny84a.
|
# This is needed to be able to compile for attiny84a but specify the upload mcu as attiny84.
|
||||||
ifeq ($(MCU), attiny84a)
|
ifeq ($(MCU), attiny84a)
|
||||||
AVRDUDE_MCU = attiny84
|
AVRDUDE_MCU = attiny84
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue