diff options
author | Christian Pointner <equinox@spreadspace.org> | 2012-09-25 14:34:01 +0000 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2012-09-25 14:34:01 +0000 |
commit | d83de3eaa684885284dc8f03d808bf36ce84d0e2 (patch) | |
tree | 678c5c4f188d4aa9f5842b3c4786c86e8dda22e8 /lib | |
parent | USB 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')
-rw-r--r-- | lib/led.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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 |