]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/chibios_test/teensy_lc_onekey/halconf.h
Add double arrow Unicode characters to FMU layer
[qmk_firmware.git] / keyboards / chibios_test / teensy_lc_onekey / halconf.h
1 /*\r
2     ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio\r
3 \r
4     Licensed under the Apache License, Version 2.0 (the "License");\r
5     you may not use this file except in compliance with the License.\r
6     You may obtain a copy of the License at\r
7 \r
8         http://www.apache.org/licenses/LICENSE-2.0\r
9 \r
10     Unless required by applicable law or agreed to in writing, software\r
11     distributed under the License is distributed on an "AS IS" BASIS,\r
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
13     See the License for the specific language governing permissions and\r
14     limitations under the License.\r
15 */\r
16 \r
17 /**\r
18  * @file    templates/halconf.h\r
19  * @brief   HAL configuration header.\r
20  * @details HAL configuration file, this file allows to enable or disable the\r
21  *          various device drivers from your application. You may also use\r
22  *          this file in order to override the device drivers default settings.\r
23  *\r
24  * @addtogroup HAL_CONF\r
25  * @{\r
26  */\r
27 \r
28 #ifndef _HALCONF_H_\r
29 #define _HALCONF_H_\r
30 \r
31 #include "mcuconf.h"\r
32 \r
33 /**\r
34  * @brief   Enables the PAL subsystem.\r
35  */\r
36 #if !defined(HAL_USE_PAL) || defined(__DOXYGEN__)\r
37 #define HAL_USE_PAL                 TRUE\r
38 #endif\r
39 \r
40 /**\r
41  * @brief   Enables the ADC subsystem.\r
42  */\r
43 #if !defined(HAL_USE_ADC) || defined(__DOXYGEN__)\r
44 #define HAL_USE_ADC                 FALSE\r
45 #endif\r
46 \r
47 /**\r
48  * @brief   Enables the CAN subsystem.\r
49  */\r
50 #if !defined(HAL_USE_CAN) || defined(__DOXYGEN__)\r
51 #define HAL_USE_CAN                 FALSE\r
52 #endif\r
53 \r
54 /**\r
55  * @brief   Enables the DAC subsystem.\r
56  */\r
57 #if !defined(HAL_USE_DAC) || defined(__DOXYGEN__)\r
58 #define HAL_USE_DAC                 FALSE\r
59 #endif\r
60 \r
61 /**\r
62  * @brief   Enables the EXT subsystem.\r
63  */\r
64 #if !defined(HAL_USE_EXT) || defined(__DOXYGEN__)\r
65 #define HAL_USE_EXT                 FALSE\r
66 #endif\r
67 \r
68 /**\r
69  * @brief   Enables the GPT subsystem.\r
70  */\r
71 #if !defined(HAL_USE_GPT) || defined(__DOXYGEN__)\r
72 #define HAL_USE_GPT                 FALSE\r
73 #endif\r
74 \r
75 /**\r
76  * @brief   Enables the I2C subsystem.\r
77  */\r
78 #if !defined(HAL_USE_I2C) || defined(__DOXYGEN__)\r
79 #define HAL_USE_I2C                 FALSE\r
80 #endif\r
81 \r
82 /**\r
83  * @brief   Enables the I2S subsystem.\r
84  */\r
85 #if !defined(HAL_USE_I2S) || defined(__DOXYGEN__)\r
86 #define HAL_USE_I2S                 FALSE\r
87 #endif\r
88 \r
89 /**\r
90  * @brief   Enables the ICU subsystem.\r
91  */\r
92 #if !defined(HAL_USE_ICU) || defined(__DOXYGEN__)\r
93 #define HAL_USE_ICU                 FALSE\r
94 #endif\r
95 \r
96 /**\r
97  * @brief   Enables the MAC subsystem.\r
98  */\r
99 #if !defined(HAL_USE_MAC) || defined(__DOXYGEN__)\r
100 #define HAL_USE_MAC                 FALSE\r
101 #endif\r
102 \r
103 /**\r
104  * @brief   Enables the MMC_SPI subsystem.\r
105  */\r
106 #if !defined(HAL_USE_MMC_SPI) || defined(__DOXYGEN__)\r
107 #define HAL_USE_MMC_SPI             FALSE\r
108 #endif\r
109 \r
110 /**\r
111  * @brief   Enables the PWM subsystem.\r
112  */\r
113 #if !defined(HAL_USE_PWM) || defined(__DOXYGEN__)\r
114 #define HAL_USE_PWM                 FALSE\r
115 #endif\r
116 \r
117 /**\r
118  * @brief   Enables the RTC subsystem.\r
119  */\r
120 #if !defined(HAL_USE_RTC) || defined(__DOXYGEN__)\r
121 #define HAL_USE_RTC                 FALSE\r
122 #endif\r
123 \r
124 /**\r
125  * @brief   Enables the SDC subsystem.\r
126  */\r
127 #if !defined(HAL_USE_SDC) || defined(__DOXYGEN__)\r
128 #define HAL_USE_SDC                 FALSE\r
129 #endif\r
130 \r
131 /**\r
132  * @brief   Enables the SERIAL subsystem.\r
133  */\r
134 #if !defined(HAL_USE_SERIAL) || defined(__DOXYGEN__)\r
135 #define HAL_USE_SERIAL              FALSE\r
136 #endif\r
137 \r
138 /**\r
139  * @brief   Enables the SERIAL over USB subsystem.\r
140  */\r
141 #if !defined(HAL_USE_SERIAL_USB) || defined(__DOXYGEN__)\r
142 #define HAL_USE_SERIAL_USB          FALSE\r
143 #endif\r
144 \r
145 /**\r
146  * @brief   Enables the SPI subsystem.\r
147  */\r
148 #if !defined(HAL_USE_SPI) || defined(__DOXYGEN__)\r
149 #define HAL_USE_SPI                 FALSE\r
150 #endif\r
151 \r
152 /**\r
153  * @brief   Enables the UART subsystem.\r
154  */\r
155 #if !defined(HAL_USE_UART) || defined(__DOXYGEN__)\r
156 #define HAL_USE_UART                FALSE\r
157 #endif\r
158 \r
159 /**\r
160  * @brief   Enables the USB subsystem.\r
161  */\r
162 #if !defined(HAL_USE_USB) || defined(__DOXYGEN__)\r
163 #define HAL_USE_USB                 TRUE\r
164 #endif\r
165 \r
166 /**\r
167  * @brief   Enables the WDG subsystem.\r
168  */\r
169 #if !defined(HAL_USE_WDG) || defined(__DOXYGEN__)\r
170 #define HAL_USE_WDG                 FALSE\r
171 #endif\r
172 \r
173 /*===========================================================================*/\r
174 /* USB driver related settings.                                              */\r
175 /*===========================================================================*/\r
176 \r
177 /**\r
178  * @brief   Enables synchronous APIs.\r
179  * @note    Disabling this option saves both code and data space.\r
180  */\r
181 #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__)\r
182 #define USB_USE_WAIT                TRUE\r
183 #endif\r
184 \r
185 #endif /* _HALCONF_H_ */\r
186 \r
187 /** @} */\r