*/\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