aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Common
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2012-08-12 14:03:57 +0000
committerDean Camera <dean@fourwalledcubicle.com>2012-08-12 14:03:57 +0000
commitf0e5425208d94dfb7bd4da9d72f68651a9ce1589 (patch)
tree990463fb74b7213f75dd77ac6937bab28cc51ea2 /LUFA/Common
parentffbb30e0f86a774e6bfd866db36254fc7c8926d8 (diff)
downloadlufa-f0e5425208d94dfb7bd4da9d72f68651a9ce1589.tar.gz
lufa-f0e5425208d94dfb7bd4da9d72f68651a9ce1589.tar.bz2
lufa-f0e5425208d94dfb7bd4da9d72f68651a9ce1589.zip
Added support for the Arduino Leonardo board. Swap Olimex 32U4 RX/TX LED masks so that it lines up with the Arduino boards.
Diffstat (limited to 'LUFA/Common')
-rw-r--r--LUFA/Common/BoardTypes.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/LUFA/Common/BoardTypes.h b/LUFA/Common/BoardTypes.h
index 59e9bb744..378dd7f0c 100644
--- a/LUFA/Common/BoardTypes.h
+++ b/LUFA/Common/BoardTypes.h
@@ -216,7 +216,9 @@
/** Selects the Olimex AVR-ISP-MK2 specific board drivers, including the Button and LED drivers. */
#define BOARD_OLIMEXISPMK2 50
-
+ /** Selects the Arduino Leonardo specific board drivers, including the driver for the board LEDs. */
+ #define BOARD_LEONARDO 51
+
#if !defined(__DOXYGEN__)
#define BOARD_ BOARD_NONE