When setting ARDUINO_MODEL=mega2560, the mega ARDUINO_VARIANT will be used by default.

pull/2/head
Michael Seifert 9 years ago
parent ce0a257d31
commit d8b3991ca6

@ -245,7 +245,7 @@ endif
# This makefile part is incomplete. Best set variant explicitly at the top.
# Default is "standard".
ifeq ($(ARDUINO_VARIANT),)
ifeq "$(ARDUINO_MODEL)" "mega"
ifeq ("$(ARDUINO_MODEL)", $(filter "$(ARDUINO_MODEL)", "mega" "mega2560"))
ARDUINO_VARIANT ?= $(ARDUINO_DIR)/hardware/arduino/avr/variants/mega
else
ifeq "$(ARDUINO_MODEL)" "micro"

Loading…
Cancel
Save