New BOARD value option BOARD_NONE (equivelent to not specifying BOARD) which will...
[pub/USBasp.git] / LUFA / Common / BoardTypes.h
index ccbd475..10e31ac 100644 (file)
 \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