Make sure that the NVM bus/controller busy waits in the AVRISP MKII clone project...
[pub/USBasp.git] / LUFA / Common / BoardTypes.h
index 11c9861..700da98 100644 (file)
@@ -1,13 +1,13 @@
 /*\r
              LUFA Library\r
-     Copyright (C) Dean Camera, 2009.\r
+     Copyright (C) Dean Camera, 2010.\r
               \r
   dean [at] fourwalledcubicle [dot] com\r
       www.fourwalledcubicle.com\r
 */\r
 \r
 /*\r
-  Copyright 2009  Dean Camera (dean [at] fourwalledcubicle [dot] com)\r
+  Copyright 2010  Dean Camera (dean [at] fourwalledcubicle [dot] com)\r
 \r
   Permission to use, copy, modify, distribute, and sell this \r
   software and its documentation for any purpose is hereby granted\r
@@ -29,6 +29,7 @@
 */\r
 \r
 /** \file\r
+ *  \brief Supported board hardware defines.\r
  *\r
  *  This file contains constants which can be passed to the compiler (via setting the macro BOARD) in the\r
  *  user project makefile using the -D option to configure the library board-specific drivers.\r
 \r
                        /** Selects the EVK527 specific board drivers, including Temperature, Button, Dataflash, Joystick and LED drivers. */\r
                        #define BOARD_EVK527        9\r
+                       \r
+                       /** Disables board drivers when operation will not be adversely affected (e.g. LEDs) - use of board drivers\r
+                        *  such as the Joystick driver, where the removal would adversely affect the code's operation is still disallowed. */\r
+                       #define BOARD_NONE          10\r
+                       \r
+                       /** Selects the Teensy (all versions) specific board drivers, including the driver for the board LEDs. */\r
+                       #define BOARD_TEENSY        11\r
+                       \r
+                       /** Selects the USBTINY MKII specific board drivers, including the Button and LEDs drivers. */\r
+                       #define BOARD_USBTINYMKII   12\r
+                       \r
+                       /** Selects the Benito specific board drivers, including the Button and LEDs drivers. */\r
+                       #define BOARD_BENITO        13\r
+                       \r
+                       /** Selects the JM-DB-U2 specific board drivers, including the Button and LEDs drivers. */\r
+                       #define BOARD_JMDBU2        14\r
+\r
+                       #if !defined(__DOXYGEN__)\r
+                               #define BOARD_          BOARD_NONE\r
+                               \r
+                               #if !defined(BOARD)\r
+                                       #define BOARD       BOARD_NONE\r
+                               #endif\r
+                       #endif\r
 \r
 #endif\r
 \r