Board.h 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. /*
  2. LUFA Library
  3. Copyright (C) Dean Camera, 2018.
  4. dean [at] fourwalledcubicle [dot] com
  5. www.lufa-lib.org
  6. */
  7. /*
  8. Copyright 2018 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 LUFA Custom Board Hardware Information Driver (Template)
  28. *
  29. * This is a stub driver header file, for implementing custom board
  30. * layout hardware with compatible LUFA board specific drivers. If
  31. * the library is configured to use the BOARD_USER board mode, this
  32. * driver file should be completed and copied into the "/Board/" folder
  33. * inside the application's folder.
  34. *
  35. * This stub is for the board-specific component of the LUFA Board Hardware
  36. * information driver.
  37. */
  38. #ifndef __BOARD_USER_H__
  39. #define __BOARD_USER_H__
  40. /* Includes: */
  41. // TODO: Add any required includes here
  42. /* Enable C linkage for C++ Compilers: */
  43. #if defined(__cplusplus)
  44. extern "C" {
  45. #endif
  46. /* Preprocessor Checks: */
  47. #if !defined(__INCLUDE_FROM_BOARD_H)
  48. #error Do not include this file directly. Include LUFA/Drivers/Board/Board.h instead.
  49. #endif
  50. /* Public Interface - May be used in end-application: */
  51. /* Macros: */
  52. /** Indicates the board has a hardware Buttons mounted if defined. */
  53. // #define BOARD_HAS_BUTTONS
  54. /** Indicates the board has a hardware Dataflash mounted if defined. */
  55. // #define BOARD_HAS_DATAFLASH
  56. /** Indicates the board has a hardware Joystick mounted if defined. */
  57. // #define BOARD_HAS_JOYSTICK
  58. /** Indicates the board has a hardware LEDs mounted if defined. */
  59. // #define BOARD_HAS_LEDS
  60. /* Disable C linkage for C++ Compilers: */
  61. #if defined(__cplusplus)
  62. }
  63. #endif
  64. #endif
  65. /** @} */