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 2.6KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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 specific information header for the PJRC Teensy 1.x/2.x boards.
  28. * \copydetails Group_BoardInfo_TEENSY
  29. *
  30. * \note This file should not be included directly. It is automatically included as needed by the Board driver
  31. * dispatch header located in LUFA/Drivers/Board/Board.h.
  32. */
  33. /** \ingroup Group_BoardInfo
  34. * \defgroup Group_BoardInfo_TEENSY2 TEENSY2
  35. * \brief Board specific information header for the PJRC Teensy 2 boards.
  36. *
  37. * See \ref Group_BoardInfo_TEENSY for more details.
  38. */
  39. /** \ingroup Group_BoardInfo
  40. * \defgroup Group_BoardInfo_TEENSY TEENSY
  41. * \brief Board specific information header for the PJRC Teensy 1.x/2.x boards.
  42. *
  43. * Board specific information header for the PJRC Teensy boards (http://www.pjrc.com/teensy/index.html).
  44. *
  45. * @{
  46. */
  47. #ifndef __BOARD_TEENSY_H__
  48. #define __BOARD_TEENSY_H__
  49. /* Includes: */
  50. #include "../../../../Common/Common.h"
  51. #include "../../LEDs.h"
  52. /* Enable C linkage for C++ Compilers: */
  53. #if defined(__cplusplus)
  54. extern "C" {
  55. #endif
  56. /* Preprocessor Checks: */
  57. #if !defined(__INCLUDE_FROM_BOARD_H)
  58. #error Do not include this file directly. Include LUFA/Drivers/Board/Board.h instead.
  59. #endif
  60. /* Public Interface - May be used in end-application: */
  61. /* Macros: */
  62. /** Indicates the board has hardware LEDs mounted. */
  63. #define BOARD_HAS_LEDS
  64. /* Disable C linkage for C++ Compilers: */
  65. #if defined(__cplusplus)
  66. }
  67. #endif
  68. #endif
  69. /** @} */