]> git.donarmstrong.com Git - qmk_firmware.git/blob - lib/lufa/LUFA/Drivers/Board/AVR8/TEENSY/Board.h
Merge commit '60b30c036397cb5627fa374bb930794b225daa29' as 'lib/lufa'
[qmk_firmware.git] / lib / lufa / LUFA / Drivers / Board / AVR8 / TEENSY / Board.h
1 /*
2              LUFA Library
3      Copyright (C) Dean Camera, 2017.
4
5   dean [at] fourwalledcubicle [dot] com
6            www.lufa-lib.org
7 */
8
9 /*
10   Copyright 2017  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 specific information header for the PJRC Teensy 1.x/2.x boards.
33  *  \copydetails Group_BoardInfo_TEENSY
34  *
35  *  \note This file should not be included directly. It is automatically included as needed by the Board driver
36  *        dispatch header located in LUFA/Drivers/Board/Board.h.
37  */
38
39 /** \ingroup Group_BoardInfo
40  *  \defgroup Group_BoardInfo_TEENSY2 TEENSY2
41  *  \brief Board specific information header for the PJRC Teensy 2 boards.
42  *
43  *  See \ref Group_BoardInfo_TEENSY for more details.
44  */
45
46 /** \ingroup Group_BoardInfo
47  *  \defgroup Group_BoardInfo_TEENSY TEENSY
48  *  \brief Board specific information header for the PJRC Teensy 1.x/2.x boards.
49  *
50  *  Board specific information header for the PJRC Teensy boards (http://www.pjrc.com/teensy/index.html).
51  *
52  *  @{
53  */
54
55 #ifndef __BOARD_TEENSY_H__
56 #define __BOARD_TEENSY_H__
57
58         /* Includes: */
59                 #include "../../../../Common/Common.h"
60                 #include "../../LEDs.h"
61
62         /* Enable C linkage for C++ Compilers: */
63                 #if defined(__cplusplus)
64                         extern "C" {
65                 #endif
66
67         /* Preprocessor Checks: */
68                 #if !defined(__INCLUDE_FROM_BOARD_H)
69                         #error Do not include this file directly. Include LUFA/Drivers/Board/Board.h instead.
70                 #endif
71
72         /* Public Interface - May be used in end-application: */
73                 /* Macros: */
74                         /** Indicates the board has hardware LEDs mounted. */
75                         #define BOARD_HAS_LEDS
76
77         /* Disable C linkage for C++ Compilers: */
78                 #if defined(__cplusplus)
79                         }
80                 #endif
81
82 #endif
83
84 /** @} */
85