Keyboard firmwares for Atmel AVR and Cortex-M
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Board.h 5.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. /*
  2. LUFA Library
  3. Copyright (C) Dean Camera, 2014.
  4. dean [at] fourwalledcubicle [dot] com
  5. www.lufa-lib.org
  6. */
  7. /*
  8. Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com)
  9. Permission to use, copy, modify, distribute, and sell this
  10. software and its documentation for any purpose is hereby granted
  11. without fee, provided that the above copyright notice appear in
  12. all copies and that both that the copyright notice and this
  13. permission notice and warranty disclaimer appear in supporting
  14. documentation, and that the name of the author not be used in
  15. advertising or publicity pertaining to distribution of the
  16. software without specific, written prior permission.
  17. The author disclaims all warranties with regard to this
  18. software, including all implied warranties of merchantability
  19. and fitness. In no event shall the author be liable for any
  20. special, indirect or consequential damages or any damages
  21. whatsoever resulting from loss of use, data or profits, whether
  22. in an action of contract, negligence or other tortious action,
  23. arising out of or in connection with the use or performance of
  24. this software.
  25. */
  26. /** \file
  27. * \brief Board hardware information driver.
  28. *
  29. * This file is the master dispatch header file for the board-specific information driver, to give information
  30. * on the hardware contained on a specific board.
  31. *
  32. * User code should include this file, which will in turn include the correct board driver header file for the
  33. * currently selected board.
  34. *
  35. * If the \c BOARD value is set to \c BOARD_USER, this will include the \c /Board/Board.h file in the user project
  36. * directory.
  37. *
  38. * For possible \c BOARD makefile values, see \ref Group_BoardTypes.
  39. */
  40. /** \ingroup Group_BoardDrivers
  41. * \defgroup Group_BoardInfo Board Information Driver - LUFA/Drivers/Board/Board.h
  42. * \brief Board hardware information driver.
  43. *
  44. * \section Sec_BoardInfo_Dependencies Module Source Dependencies
  45. * The following files must be built with any user project that uses this module:
  46. * - None
  47. *
  48. * @{
  49. */
  50. #ifndef __BOARD_H__
  51. #define __BOARD_H__
  52. /* Macros: */
  53. #define __INCLUDE_FROM_BOARD_H
  54. /* Includes: */
  55. #include "../../Common/Common.h"
  56. #if (BOARD == BOARD_USBKEY)
  57. #include "AVR8/USBKEY/Board.h"
  58. #elif (BOARD == BOARD_STK525)
  59. #include "AVR8/STK525/Board.h"
  60. #elif (BOARD == BOARD_STK526)
  61. #include "AVR8/STK526/Board.h"
  62. #elif (BOARD == BOARD_RZUSBSTICK)
  63. #include "AVR8/RZUSBSTICK/Board.h"
  64. #elif (BOARD == BOARD_ATAVRUSBRF01)
  65. #include "AVR8/ATAVRUSBRF01/Board.h"
  66. #elif ((BOARD == BOARD_XPLAIN) || (BOARD == BOARD_XPLAIN_REV1))
  67. #include "AVR8/XPLAIN/Board.h"
  68. #elif (BOARD == BOARD_BUMBLEB)
  69. #include "AVR8/BUMBLEB/Board.h"
  70. #elif (BOARD == BOARD_EVK527)
  71. #include "AVR8/EVK527/Board.h"
  72. #elif ((BOARD == BOARD_TEENSY) || (BOARD == BOARD_TEENSY2))
  73. #include "AVR8/TEENSY/Board.h"
  74. #elif (BOARD == BOARD_USBTINYMKII)
  75. #include "AVR8/USBTINYMKII/Board.h"
  76. #elif (BOARD == BOARD_BENITO)
  77. #include "AVR8/BENITO/Board.h"
  78. #elif (BOARD == BOARD_JMDBU2)
  79. #include "AVR8/JMDBU2/Board.h"
  80. #elif (BOARD == BOARD_OLIMEX162)
  81. #include "AVR8/OLIMEX162/Board.h"
  82. #elif (BOARD == BOARD_USBFOO)
  83. #include "AVR8/USBFOO/Board.h"
  84. #elif (BOARD == BOARD_UDIP)
  85. #include "AVR8/UDIP/Board.h"
  86. #elif (BOARD == BOARD_BUI)
  87. #include "AVR8/BUI/Board.h"
  88. #elif (BOARD == BOARD_UNO)
  89. #include "AVR8/UNO/Board.h"
  90. #elif (BOARD == BOARD_CULV3)
  91. #include "AVR8/CULV3/Board.h"
  92. #elif (BOARD == BOARD_BLACKCAT)
  93. #include "AVR8/BLACKCAT/Board.h"
  94. #elif (BOARD == BOARD_MAXIMUS)
  95. #include "AVR8/MAXIMUS/Board.h"
  96. #elif (BOARD == BOARD_MINIMUS)
  97. #include "AVR8/MINIMUS/Board.h"
  98. #elif (BOARD == BOARD_ADAFRUITU4)
  99. #include "AVR8/ADAFRUITU4/Board.h"
  100. #elif (BOARD == BOARD_MICROSIN162)
  101. #include "AVR8/MICROSIN162/Board.h"
  102. #elif (BOARD == BOARD_SPARKFUN8U2)
  103. #include "AVR8/SPARKFUN8U2/Board.h"
  104. #elif (BOARD == BOARD_EVK1101)
  105. #include "UC3/EVK1101/Board.h"
  106. #elif (BOARD == BOARD_TUL)
  107. #include "AVR8/TUL/Board.h"
  108. #elif (BOARD == BOARD_EVK1100)
  109. #include "UC3/EVK1100/Board.h"
  110. #elif (BOARD == BOARD_EVK1104)
  111. #include "UC3/EVK1104/Board.h"
  112. #elif (BOARD == BOARD_A3BU_XPLAINED)
  113. #include "XMEGA/A3BU_XPLAINED/Board.h"
  114. #elif ((BOARD == BOARD_USB2AX) || (BOARD == BOARD_USB2AX_V3) || (BOARD == BOARD_USB2AX_V31))
  115. #include "AVR8/USB2AX/Board.h"
  116. #elif ((BOARD == BOARD_MICROPENDOUS_REV1) || (BOARD == BOARD_MICROPENDOUS_REV2) || \
  117. (BOARD == BOARD_MICROPENDOUS_32U2) || (BOARD == BOARD_MICROPENDOUS_A) || \
  118. (BOARD == BOARD_MICROPENDOUS_1) || (BOARD == BOARD_MICROPENDOUS_2) || \
  119. (BOARD == BOARD_MICROPENDOUS_3) || (BOARD == BOARD_MICROPENDOUS_4) || \
  120. (BOARD == BOARD_MICROPENDOUS_DIP))
  121. #include "AVR8/MICROPENDOUS/Board.h"
  122. #elif (BOARD == BOARD_B1_XPLAINED)
  123. #include "XMEGA/B1_XPLAINED/Board.h"
  124. #elif (BOARD == BOARD_MULTIO)
  125. #include "AVR8/MULTIO/Board.h"
  126. #elif (BOARD == BOARD_BIGMULTIO)
  127. #include "AVR8/BIGMULTIO/Board.h"
  128. #elif (BOARD == BOARD_DUCE)
  129. #include "AVR8/DUCE/Board.h"
  130. #elif (BOARD == BOARD_OLIMEX32U4)
  131. #include "AVR8/OLIMEX32U4/Board.h"
  132. #elif (BOARD == BOARD_OLIMEXT32U4)
  133. #include "AVR8/OLIMEXT32U4/Board.h"
  134. #elif (BOARD == BOARD_OLIMEXISPMK2)
  135. #include "AVR8/OLIMEXISPMK2/Board.h"
  136. #elif (BOARD == BOARD_LEONARDO)
  137. #include "AVR8/LEONARDO/Board.h"
  138. #elif (BOARD == BOARD_UC3A3_XPLAINED)
  139. #include "UC3/UC3A3_XPLAINED/Board.h"
  140. #elif (BOARD == BOARD_STANGE_ISP)
  141. #include "AVR8/STANGE_ISP/Board.h"
  142. #elif (BOARD == BOARD_C3_XPLAINED)
  143. #include "XMEGA/C3_XPLAINED/Board.h"
  144. #elif (BOARD == BOARD_U2S)
  145. #include "AVR8/U2S/Board.h"
  146. #elif (BOARD == BOARD_YUN)
  147. #include "AVR8/YUN/Board.h"
  148. #elif (BOARD == BOARD_MICRO)
  149. #include "AVR8/MICRO/Board.h"
  150. #else
  151. #include "Board/Board.h"
  152. #endif
  153. #endif
  154. /** @} */