X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/6a10d6b465be27db090d760dc0fbe722c94e4344..18b0d408a9e68cbc1ce36da89d74a799d7fc31de:/LUFA/Common/BoardTypes.h diff --git a/LUFA/Common/BoardTypes.h b/LUFA/Common/BoardTypes.h index d4a36550e..3a2d8b0fd 100644 --- a/LUFA/Common/BoardTypes.h +++ b/LUFA/Common/BoardTypes.h @@ -36,6 +36,15 @@ * \note Do not include this file directly, rather include the Common.h header file instead to gain this file's * functionality. */ + +/** \ingroup Group_Common + * @defgroup Group_BoardTypes Board Types + * + * Macros for indicating the chosen physical board hardware to the library. These macros should be used when + * defining the BOARD token to the chosen hardware via the -D switch in the project makefile. + * + * @{ + */ #ifndef __BOARDTYPES_H__ #define __BOARDTYPES_H__ @@ -47,13 +56,13 @@ /* Public Interface - May be used in end-application: */ /* Macros: */ - /** Selects the USBKEY specific board drivers, including Dataflash, Joystick and LED drivers. */ + /** Selects the USBKEY specific board drivers, including Temperature, Button, Dataflash, Joystick and LED drivers. */ #define BOARD_USBKEY 0 - /** Selects the STK525 specific board drivers, including Dataflash, Joystick and LED drivers. */ + /** Selects the STK525 specific board drivers, including Temperature, Button, Dataflash, Joystick and LED drivers. */ #define BOARD_STK525 1 - /** Selects the STK526 specific board drivers, including Dataflash, Joystick and LED drivers. */ + /** Selects the STK526 specific board drivers, including Temperature, Button, Dataflash, Joystick and LED drivers. */ #define BOARD_STK526 2 /** Selects the RZUSBSTICK specific board drivers, including the driver for the boards LEDs. */ @@ -69,4 +78,18 @@ */ #define BOARD_USER 5 + /** Selects the BUMBLEB specific board drivers, using the officially recommended peripheral layout. */ + #define BOARD_BUMBLEB 6 + + /** Selects the XPLAIN (Revision 2 or newer) specific board drivers, including LED and Dataflash driver. */ + #define BOARD_XPLAIN 7 + + /** Selects the XPLAIN (Revision 1) specific board drivers, including LED and Dataflash driver. */ + #define BOARD_XPLAIN_REV1 8 + + /** Selects the EVK527 specific board drivers, including Temperature, Button, Dataflash, Joystick and LED drivers. */ + #define BOARD_EVK527 9 + #endif + +/** @} */