]> git.gir.st - tmk_keyboard.git/blob - protocol/lufa/LUFA-git/LUFA/CodeTemplates/DriverStubs/Board.h
Squashed 'tmk_core/' changes from caca2c0..dc0e46e
[tmk_keyboard.git] / protocol / lufa / LUFA-git / LUFA / CodeTemplates / DriverStubs / 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 LUFA Custom Board Hardware Information Driver (Template)
33 *
34 * This is a stub driver header file, for implementing custom board
35 * layout hardware with compatible LUFA board specific drivers. If
36 * the library is configured to use the BOARD_USER board mode, this
37 * driver file should be completed and copied into the "/Board/" folder
38 * inside the application's folder.
39 *
40 * This stub is for the board-specific component of the LUFA Board Hardware
41 * information driver.
42 */
43
44 #ifndef __BOARD_USER_H__
45 #define __BOARD_USER_H__
46
47 /* Includes: */
48 // TODO: Add any required includes here
49
50 /* Enable C linkage for C++ Compilers: */
51 #if defined(__cplusplus)
52 extern "C" {
53 #endif
54
55 /* Preprocessor Checks: */
56 #if !defined(__INCLUDE_FROM_BOARD_H)
57 #error Do not include this file directly. Include LUFA/Drivers/Board/Board.h instead.
58 #endif
59
60 /* Public Interface - May be used in end-application: */
61 /* Macros: */
62 /** Indicates the board has hardware Buttons mounted if defined. */
63 // #define BOARD_HAS_BUTTONS
64
65 /** Indicates the board has a hardware Dataflash mounted if defined. */
66 // #define BOARD_HAS_DATAFLASH
67
68 /** Indicates the board has a hardware Joystick mounted if defined. */
69 // #define BOARD_HAS_JOYSTICK
70
71 /** Indicates the board has hardware LEDs mounted if defined. */
72 // #define BOARD_HAS_LEDS
73
74 /* Disable C linkage for C++ Compilers: */
75 #if defined(__cplusplus)
76 }
77 #endif
78
79 #endif
80
81 /** @} */
82
Imprint / Impressum