Document the Bluetooth ACL layer. Remove unneeded parameters from the signalling...
[pub/USBasp.git] / LUFA / Common / BoardTypes.h
index 3a2d8b0..700da98 100644 (file)
@@ -1,21 +1,21 @@
 /*\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
-\r
-  Permission to use, copy, modify, and distribute this software\r
-  and its documentation for any purpose and without fee is hereby\r
-  granted, provided that the above copyright notice appear in all\r
-  copies and that both that the copyright notice and this\r
-  permission notice and warranty disclaimer appear in supporting\r
-  documentation, and that the name of the author not be used in\r
-  advertising or publicity pertaining to distribution of the\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
+  without fee, provided that the above copyright notice appear in \r
+  all copies and that both that the copyright notice and this\r
+  permission notice and warranty disclaimer appear in supporting \r
+  documentation, and that the name of the author not be used in \r
+  advertising or publicity pertaining to distribution of the \r
   software without specific, written prior permission.\r
 \r
   The author disclaim all warranties with regard to this\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