aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/Benito/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Projects/Benito/makefile')
-rw-r--r--Projects/Benito/makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Projects/Benito/makefile b/Projects/Benito/makefile
index 1d306803d..9b19f0da2 100644
--- a/Projects/Benito/makefile
+++ b/Projects/Benito/makefile
@@ -63,6 +63,10 @@
MCU = atmega32u2
+# Target architecture (see library "Board Types" documentation).
+ARCH = AVR8
+
+
# Target board (see library "Board Types" documentation, NONE for projects not requiring
# LUFA board drivers). If USER is selected, put custom board drivers in a directory called
# "Board" inside the application directory.
@@ -190,7 +194,7 @@ CSTANDARD = -std=c99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL
CDEFS += -DF_CLOCK=$(F_CLOCK)UL
-CDEFS += -DBOARD=BOARD_$(BOARD)
+CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
CDEFS += $(LUFA_OPTS)