3      Copyright (C) Dean Camera, 2014. 
   5   dean [at] fourwalledcubicle [dot] com 
  10   Copyright 2014  Dean Camera (dean [at] fourwalledcubicle [dot] com) 
  12   Permission to use, copy, modify, distribute, and sell this 
  13   software and its documentation for any purpose is hereby granted 
  14   without fee, provided that the above copyright notice appear in 
  15   all copies and that both that the copyright notice and this 
  16   permission notice and warranty disclaimer appear in supporting 
  17   documentation, and that the name of the author not be used in 
  18   advertising or publicity pertaining to distribution of the 
  19   software without specific, written prior permission. 
  21   The author disclaims all warranties with regard to this 
  22   software, including all implied warranties of merchantability 
  23   and fitness.  In no event shall the author be liable for any 
  24   special, indirect or consequential damages or any damages 
  25   whatsoever resulting from loss of use, data or profits, whether 
  26   in an action of contract, negligence or other tortious action, 
  27   arising out of or in connection with the use or performance of 
  32  *  \brief Supported pre-made board hardware defines. 
  34  *  \copydetails Group_BoardTypes 
  36  *  \note Do not include this file directly, rather include the Common.h header file instead to gain this file's 
  40 /** \ingroup Group_Common 
  41  *  \defgroup Group_BoardTypes Board Types 
  42  *  \brief Supported pre-made board hardware defines. 
  44  *  Board macros for indicating the chosen physical board hardware to the library. These macros should be used when 
  45  *  defining the \c BOARD token to the chosen hardware via the \c -D switch in the project makefile. If a custom 
  46  *  board is used, the \ref BOARD_NONE or \ref BOARD_USER values should be selected. 
  51 #ifndef __LUFA_BOARDTYPES_H__ 
  52 #define __LUFA_BOARDTYPES_H__ 
  54         /* Preprocessor Checks: */ 
  55                 #if !defined(__INCLUDE_FROM_COMMON_H) 
  56                         #error Do not include this file directly. Include LUFA/Common/Common.h instead to gain this functionality. 
  59         /* Public Interface - May be used in end-application: */ 
  61                         /** Selects the user-defined board drivers, which should be placed in the user project's folder 
  62                          *  under a directory named \c /Board/. Each board driver should be named identically to the LUFA 
  63                          *  master board driver (i.e., driver in the \c LUFA/Drivers/Board directory) so that the library 
  64                          *  can correctly identify it. 
  68                         /** Disables board drivers when operation will not be adversely affected (e.g. LEDs) - use of board drivers 
  69                          *  such as the Joystick driver, where the removal would adversely affect the code's operation is still disallowed. */ 
  72                         /** Selects the USBKEY specific board drivers, including Temperature, Button, Dataflash, Joystick and LED drivers. */ 
  73                         #define BOARD_USBKEY               2 
  75                         /** Selects the STK525 specific board drivers, including Temperature, Button, Dataflash, Joystick and LED drivers. */ 
  76                         #define BOARD_STK525               3 
  78                         /** Selects the STK526 specific board drivers, including Temperature, Button, Dataflash, Joystick and LED drivers. */ 
  79                         #define BOARD_STK526               4 
  81                         /** Selects the RZUSBSTICK specific board drivers, including the driver for the boards LEDs. */ 
  82                         #define BOARD_RZUSBSTICK           5 
  84                         /** Selects the ATAVRUSBRF01 specific board drivers, including the driver for the board LEDs. */ 
  85                         #define BOARD_ATAVRUSBRF01         6 
  87                         /** Selects the BUMBLEB specific board drivers, using the officially recommended peripheral layout. */ 
  88                         #define BOARD_BUMBLEB              7 
  90                         /** Selects the XPLAIN (Revision 2 or newer) specific board drivers, including LED and Dataflash drivers. */ 
  91                         #define BOARD_XPLAIN               8 
  93                         /** Selects the XPLAIN (Revision 1) specific board drivers, including LED and Dataflash drivers. */ 
  94                         #define BOARD_XPLAIN_REV1          9 
  96                         /** Selects the EVK527 specific board drivers, including Temperature, Button, Dataflash, Joystick and LED drivers. */ 
  97                         #define BOARD_EVK527               10 
  99                         /** Selects the Teensy version 1.x specific board drivers, including the driver for the board LEDs. */ 
 100                         #define BOARD_TEENSY               11 
 102                         /** Selects the USBTINY MKII specific board drivers, including the Button and LEDs drivers. */ 
 103                         #define BOARD_USBTINYMKII          12 
 105                         /** Selects the Benito specific board drivers, including the Button and LEDs drivers. */ 
 106                         #define BOARD_BENITO               13 
 108                         /** Selects the JM-DB-U2 specific board drivers, including the Button and LEDs drivers. */ 
 109                         #define BOARD_JMDBU2               14 
 111                         /** Selects the Olimex AVR-USB-162 specific board drivers, including the Button and LEDs drivers. */ 
 112                         #define BOARD_OLIMEX162            15 
 114                         /** Selects the UDIP specific board drivers, including the Button and LEDs drivers. */ 
 115                         #define BOARD_UDIP                 16 
 117                         /** Selects the BUI specific board drivers, including the driver for the board LEDs. */ 
 120                         /** Selects the Arduino Uno specific board drivers, including the driver for the board LEDs. */ 
 123                         /** Selects the Busware CUL V3 specific board drivers, including the Button and LEDs drivers. */ 
 124                         #define BOARD_CULV3                19 
 126                         /** Selects the Blackcat USB JTAG specific board drivers, including the driver for the board LEDs. */ 
 127                         #define BOARD_BLACKCAT             20 
 129                         /** Selects the Maximus specific board drivers, including the driver for the board LEDs. */ 
 130                         #define BOARD_MAXIMUS              21 
 132                         /** Selects the Minimus specific board drivers, including the Button and LEDs drivers. */ 
 133                         #define BOARD_MINIMUS              22 
 135                         /** Selects the Adafruit U4 specific board drivers, including the Button driver. */ 
 136                         #define BOARD_ADAFRUITU4           23 
 138                         /** Selects the Microsin AVR-USB162 specific board drivers, including the Button and LEDs drivers. */ 
 139                         #define BOARD_MICROSIN162          24 
 141                         /** Selects the Kernel Concepts USBFOO specific board drivers, including the Button and LEDs drivers. */ 
 142                         #define BOARD_USBFOO               25 
 144                         /** Selects the Sparkfun ATMEGA8U2 specific board drivers, including the driver for the board LEDs. */ 
 145                         #define BOARD_SPARKFUN8U2          26 
 147                         /** Selects the Atmel EVK1101 specific board drivers, including the Button, Joystick and LED drivers. */ 
 148                         #define BOARD_EVK1101              27 
 150                         /** Selects the Busware TUL specific board drivers, including the Button and LED drivers. */ 
 153                         /** Selects the Atmel EVK1100 specific board drivers, including the Button, Joystick and LED drivers. */ 
 154                         #define BOARD_EVK1100              29 
 156                         /** Selects the Atmel EVK1104 specific board drivers, including the Button and LED drivers. */ 
 157                         #define BOARD_EVK1104              30 
 159                         /** Selects the Atmel XMEGA A3BU Xplained specific board drivers, including Dataflash, Button and LED drivers. */ 
 160                         #define BOARD_A3BU_XPLAINED        31 
 162                         /** Selects the Teensy version 2.x specific board drivers, including the driver for the board LEDs. */ 
 163                         #define BOARD_TEENSY2              32 
 165                         /** Selects the USB2AX version 1 and 2 specific board drivers, including the Button and LEDs drivers. */ 
 166                         #define BOARD_USB2AX               33 
 168                         /** Selects the USB2AX version 3 specific board drivers, including the Button and LEDs drivers. */ 
 169                         #define BOARD_USB2AX_V3            34 
 171                         /** Selects the Micropendous 32U2 specific board drivers, including the Button and LED drivers. */ 
 172                         #define BOARD_MICROPENDOUS_32U2    35 
 174                         /** Selects the Micropendous A specific board drivers, including the driver for the board Button. */ 
 175                         #define BOARD_MICROPENDOUS_A       36 
 177                         /** Selects the Micropendous 1 specific board drivers, including the driver for the board Button. */ 
 178                         #define BOARD_MICROPENDOUS_1       37 
 180                         /** Selects the Micropendous 2 specific board drivers, including the driver for the board Button. */ 
 181                         #define BOARD_MICROPENDOUS_2       38 
 183                         /** Selects the Micropendous 3 specific board drivers, including the driver for the board Button. */ 
 184                         #define BOARD_MICROPENDOUS_3       39 
 186                         /** Selects the Micropendous 4 specific board drivers, including the driver for the board Button. */ 
 187                         #define BOARD_MICROPENDOUS_4       40 
 189                         /** Selects the Micropendous DIP specific board drivers, including the driver for the board Button. */ 
 190                         #define BOARD_MICROPENDOUS_DIP     41 
 192                         /** Selects the Micropendous (Arduino-like) revision 1 specific board drivers, including the Button and LED drivers. */ 
 193                         #define BOARD_MICROPENDOUS_REV1    42 
 195                         /** Selects the Micropendous (Arduino-like) revision 2 specific board drivers, including the Button and LED drivers. */ 
 196                         #define BOARD_MICROPENDOUS_REV2    43 
 198                         /** Selects the XMEGA B1 Xplained specific board drivers, including the Button and LED drivers. */ 
 199                         #define BOARD_B1_XPLAINED          44 
 201                         /** Selects the Bitwizard Multio specific board drivers, including the driver for the board LEDs. */ 
 202                         #define BOARD_MULTIO               45 
 204                         /** Selects the Bitwizard Big-Multio specific board drivers, including the driver for the board LEDs. */ 
 205                         #define BOARD_BIGMULTIO            46 
 207                         /** Selects the DorkbotPDX Duce specific board drivers, including the driver for the board LEDs. */ 
 208                         #define BOARD_DUCE                 47 
 210                         /** Selects the Olimex AVR-USB-32U4 specific board drivers, including the Button and LED drivers. */ 
 211                         #define BOARD_OLIMEX32U4           48 
 213                         /** Selects the Olimex AVR-USB-T32U4 specific board drivers, including the Button and LED drivers. */ 
 214                         #define BOARD_OLIMEXT32U4          49 
 216                         /** Selects the Olimex AVR-ISP-MK2 specific board drivers, including the Button and LED drivers. */ 
 217                         #define BOARD_OLIMEXISPMK2         50 
 219                         /** Selects the Arduino Leonardo specific board drivers, including the driver for the board LEDs. */ 
 220                         #define BOARD_LEONARDO             51 
 222                         /** Selects the UC3-A3 Xplained specific board drivers, including the Button and LED drivers. */ 
 223                         #define BOARD_UC3A3_XPLAINED       52 
 225                         /** Selects the USB2AX version 3.1 specific board drivers, including the Button and LEDs drivers. */ 
 226                         #define BOARD_USB2AX_V31           53 
 228                         /** Selects the Stange-ISP specific board drivers, including the Button and LEDs drivers. */ 
 229                         #define BOARD_STANGE_ISP           54 
 231                         /** Selects the XMEGA C3 XPLAINED specific board drivers, including the Button and LEDs drivers. */ 
 232                         #define BOARD_C3_XPLAINED          55 
 234                         /** Selects the U2S specific board drivers, including the Button and LEDs drivers. */ 
 237                         /** Selects the Arduino YUN specific board drivers, including the driver for the board LEDs. */ 
 240                         /** Selects the Arduino Micro specific board drivers, including the driver for the board LEDs. */ 
 241                         #define BOARD_MICRO                58 
 243                         /** Selects the Atmel Xplained-MINI specific board drivers, including the driver for the board LEDs. */ 
 244                         #define BOARD_XPLAINED_MINI        59 
 246                         #if !defined(__DOXYGEN__) 
 247                                 #define BOARD_                 BOARD_NONE 
 250                                         #define BOARD              BOARD_NONE