Added ENABLE_TELNET_SERVER compile time option to the Webserver project to disable...
[pub/USBasp.git] / LUFA / Common / BoardTypes.h
index 11c9861..10e31ac 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
 \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
+                       #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