summaryrefslogtreecommitdiff
path: root/lib/led.c
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2012-09-25 14:34:01 +0000
committerChristian Pointner <equinox@spreadspace.org>2012-09-25 14:34:01 +0000
commitd83de3eaa684885284dc8f03d808bf36ce84d0e2 (patch)
tree678c5c4f188d4aa9f5842b3c4786c86e8dda22e8 /lib/led.c
parentUSB Manufacturer and Product are now configurable (diff)
build added support for minimus
blink lib added support for minimus git-svn-id: https://svn.spreadspace.org/avr/trunk@56 aa12f405-d877-488e-9caf-2d797e2a1cc7
Diffstat (limited to 'lib/led.c')
-rw-r--r--lib/led.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/led.c b/lib/led.c
index ea5bcc3..8f8f12c 100644
--- a/lib/led.c
+++ b/lib/led.c
@@ -30,7 +30,7 @@
#define HAS_LED 1
#endif
-#if defined(__BOARD_teensy1__) || defined(__BOARD_teensy1pp__)
+#if defined(__BOARD_teensy1__) || defined(__BOARD_teensy1pp__) || defined(__BOARD_minimus__) || defined(__BOARD_minimus32__)
#define LED_DIR 0
#else
#define LED_DIR 1
@@ -42,6 +42,12 @@
#define LED_PINNUM 6
#endif
+#if defined(__BOARD_minimus__) || defined(__BOARD_minimus32__)
+#define LED_PORT PORTD
+#define LED_DDR DDRD
+#define LED_PINNUM 5
+#endif
+
#if defined(__BOARD_hhd70dongle__)
#define LED_PORT PORTE
#define LED_DDR DDRE