]> git.gir.st - tmk_keyboard.git/blob - tmk_core/protocol/lufa/LUFA-git/LUFA/Drivers/Board/Board.h
Merge commit 'f6d56675f9f981c5464f0ca7a1fbb0162154e8c5'
[tmk_keyboard.git] / tmk_core / protocol / lufa / LUFA-git / LUFA / Drivers / Board / Board.h
1 /*
2 LUFA Library
3 Copyright (C) Dean Camera, 2014.
4
5 dean [at] fourwalledcubicle [dot] com
6 www.lufa-lib.org
7 */
8
9 /*
10 Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com)
11
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.
20
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
28 this software.
29 */
30
31 /** \file
32 * \brief Board hardware information driver.
33 *
34 * This file is the master dispatch header file for the board-specific information driver, to give information
35 * on the hardware contained on a specific board.
36 *
37 * User code should include this file, which will in turn include the correct board driver header file for the
38 * currently selected board.
39 *
40 * If the \c BOARD value is set to \c BOARD_USER, this will include the \c /Board/Board.h file in the user project
41 * directory.
42 *
43 * For possible \c BOARD makefile values, see \ref Group_BoardTypes.
44 */
45
46 /** \ingroup Group_BoardDrivers
47 * \defgroup Group_BoardInfo Board Information Driver - LUFA/Drivers/Board/Board.h
48 * \brief Board hardware information driver.
49 *
50 * \section Sec_BoardInfo_Dependencies Module Source Dependencies
51 * The following files must be built with any user project that uses this module:
52 * - None
53 *
54 * @{
55 */
56
57 #ifndef __BOARD_H__
58 #define __BOARD_H__
59
60 /* Macros: */
61 #define __INCLUDE_FROM_BOARD_H
62
63 /* Includes: */
64 #include "../../Common/Common.h"
65
66 #if (BOARD == BOARD_USBKEY)
67 #include "AVR8/USBKEY/Board.h"
68 #elif (BOARD == BOARD_STK525)
69 #include "AVR8/STK525/Board.h"
70 #elif (BOARD == BOARD_STK526)
71 #include "AVR8/STK526/Board.h"
72 #elif (BOARD == BOARD_RZUSBSTICK)
73 #include "AVR8/RZUSBSTICK/Board.h"
74 #elif (BOARD == BOARD_ATAVRUSBRF01)
75 #include "AVR8/ATAVRUSBRF01/Board.h"
76 #elif ((BOARD == BOARD_XPLAIN) || (BOARD == BOARD_XPLAIN_REV1))
77 #include "AVR8/XPLAIN/Board.h"
78 #elif (BOARD == BOARD_BUMBLEB)
79 #include "AVR8/BUMBLEB/Board.h"
80 #elif (BOARD == BOARD_EVK527)
81 #include "AVR8/EVK527/Board.h"
82 #elif ((BOARD == BOARD_TEENSY) || (BOARD == BOARD_TEENSY2))
83 #include "AVR8/TEENSY/Board.h"
84 #elif (BOARD == BOARD_USBTINYMKII)
85 #include "AVR8/USBTINYMKII/Board.h"
86 #elif (BOARD == BOARD_BENITO)
87 #include "AVR8/BENITO/Board.h"
88 #elif (BOARD == BOARD_JMDBU2)
89 #include "AVR8/JMDBU2/Board.h"
90 #elif (BOARD == BOARD_OLIMEX162)
91 #include "AVR8/OLIMEX162/Board.h"
92 #elif (BOARD == BOARD_USBFOO)
93 #include "AVR8/USBFOO/Board.h"
94 #elif (BOARD == BOARD_UDIP)
95 #include "AVR8/UDIP/Board.h"
96 #elif (BOARD == BOARD_BUI)
97 #include "AVR8/BUI/Board.h"
98 #elif (BOARD == BOARD_UNO)
99 #include "AVR8/UNO/Board.h"
100 #elif (BOARD == BOARD_CULV3)
101 #include "AVR8/CULV3/Board.h"
102 #elif (BOARD == BOARD_BLACKCAT)
103 #include "AVR8/BLACKCAT/Board.h"
104 #elif (BOARD == BOARD_MAXIMUS)
105 #include "AVR8/MAXIMUS/Board.h"
106 #elif (BOARD == BOARD_MINIMUS)
107 #include "AVR8/MINIMUS/Board.h"
108 #elif (BOARD == BOARD_ADAFRUITU4)
109 #include "AVR8/ADAFRUITU4/Board.h"
110 #elif (BOARD == BOARD_MICROSIN162)
111 #include "AVR8/MICROSIN162/Board.h"
112 #elif (BOARD == BOARD_SPARKFUN8U2)
113 #include "AVR8/SPARKFUN8U2/Board.h"
114 #elif (BOARD == BOARD_EVK1101)
115 #include "UC3/EVK1101/Board.h"
116 #elif (BOARD == BOARD_TUL)
117 #include "AVR8/TUL/Board.h"
118 #elif (BOARD == BOARD_EVK1100)
119 #include "UC3/EVK1100/Board.h"
120 #elif (BOARD == BOARD_EVK1104)
121 #include "UC3/EVK1104/Board.h"
122 #elif (BOARD == BOARD_A3BU_XPLAINED)
123 #include "XMEGA/A3BU_XPLAINED/Board.h"
124 #elif ((BOARD == BOARD_USB2AX) || (BOARD == BOARD_USB2AX_V3) || (BOARD == BOARD_USB2AX_V31))
125 #include "AVR8/USB2AX/Board.h"
126 #elif ((BOARD == BOARD_MICROPENDOUS_REV1) || (BOARD == BOARD_MICROPENDOUS_REV2) || \
127 (BOARD == BOARD_MICROPENDOUS_32U2) || (BOARD == BOARD_MICROPENDOUS_A) || \
128 (BOARD == BOARD_MICROPENDOUS_1) || (BOARD == BOARD_MICROPENDOUS_2) || \
129 (BOARD == BOARD_MICROPENDOUS_3) || (BOARD == BOARD_MICROPENDOUS_4) || \
130 (BOARD == BOARD_MICROPENDOUS_DIP))
131 #include "AVR8/MICROPENDOUS/Board.h"
132 #elif (BOARD == BOARD_B1_XPLAINED)
133 #include "XMEGA/B1_XPLAINED/Board.h"
134 #elif (BOARD == BOARD_MULTIO)
135 #include "AVR8/MULTIO/Board.h"
136 #elif (BOARD == BOARD_BIGMULTIO)
137 #include "AVR8/BIGMULTIO/Board.h"
138 #elif (BOARD == BOARD_DUCE)
139 #include "AVR8/DUCE/Board.h"
140 #elif (BOARD == BOARD_OLIMEX32U4)
141 #include "AVR8/OLIMEX32U4/Board.h"
142 #elif (BOARD == BOARD_OLIMEXT32U4)
143 #include "AVR8/OLIMEXT32U4/Board.h"
144 #elif (BOARD == BOARD_OLIMEXISPMK2)
145 #include "AVR8/OLIMEXISPMK2/Board.h"
146 #elif (BOARD == BOARD_LEONARDO)
147 #include "AVR8/LEONARDO/Board.h"
148 #elif (BOARD == BOARD_UC3A3_XPLAINED)
149 #include "UC3/UC3A3_XPLAINED/Board.h"
150 #elif (BOARD == BOARD_STANGE_ISP)
151 #include "AVR8/STANGE_ISP/Board.h"
152 #elif (BOARD == BOARD_C3_XPLAINED)
153 #include "XMEGA/C3_XPLAINED/Board.h"
154 #elif (BOARD == BOARD_U2S)
155 #include "AVR8/U2S/Board.h"
156 #elif (BOARD == BOARD_YUN)
157 #include "AVR8/YUN/Board.h"
158 #elif (BOARD == BOARD_MICRO)
159 #include "AVR8/MICRO/Board.h"
160 #else
161 #include "Board/Board.h"
162 #endif
163
164 #endif
165
166 /** @} */
167
Imprint / Impressum