diff options
Diffstat (limited to 'lib/chibios-contrib/testhal/KINETIS/MCHCK/PWM/halconf_community.h')
-rw-r--r-- | lib/chibios-contrib/testhal/KINETIS/MCHCK/PWM/halconf_community.h | 173 |
1 files changed, 173 insertions, 0 deletions
diff --git a/lib/chibios-contrib/testhal/KINETIS/MCHCK/PWM/halconf_community.h b/lib/chibios-contrib/testhal/KINETIS/MCHCK/PWM/halconf_community.h new file mode 100644 index 000000000..43fdbf869 --- /dev/null +++ b/lib/chibios-contrib/testhal/KINETIS/MCHCK/PWM/halconf_community.h | |||
@@ -0,0 +1,173 @@ | |||
1 | /* | ||
2 | ChibiOS - Copyright (C) 2014 Uladzimir Pylinsky aka barthess | ||
3 | |||
4 | Licensed under the Apache License, Version 2.0 (the "License"); | ||
5 | you may not use this file except in compliance with the License. | ||
6 | You may obtain a copy of the License at | ||
7 | |||
8 | http://www.apache.org/licenses/LICENSE-2.0 | ||
9 | |||
10 | Unless required by applicable law or agreed to in writing, software | ||
11 | distributed under the License is distributed on an "AS IS" BASIS, | ||
12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
13 | See the License for the specific language governing permissions and | ||
14 | limitations under the License. | ||
15 | */ | ||
16 | |||
17 | #ifndef HALCONF_COMMUNITY_H | ||
18 | #define HALCONF_COMMUNITY_H | ||
19 | |||
20 | /** | ||
21 | * @brief Enables the community overlay. | ||
22 | */ | ||
23 | #if !defined(HAL_USE_COMMUNITY) || defined(__DOXYGEN__) | ||
24 | #define HAL_USE_COMMUNITY TRUE | ||
25 | #endif | ||
26 | |||
27 | /** | ||
28 | * @brief Enables the FSMC subsystem. | ||
29 | */ | ||
30 | #if !defined(HAL_USE_FSMC) || defined(__DOXYGEN__) | ||
31 | #define HAL_USE_FSMC FALSE | ||
32 | #endif | ||
33 | |||
34 | /** | ||
35 | * @brief Enables the NAND subsystem. | ||
36 | */ | ||
37 | #if !defined(HAL_USE_NAND) || defined(__DOXYGEN__) | ||
38 | #define HAL_USE_NAND FALSE | ||
39 | #endif | ||
40 | |||
41 | /** | ||
42 | * @brief Enables the 1-wire subsystem. | ||
43 | */ | ||
44 | #if !defined(HAL_USE_ONEWIRE) || defined(__DOXYGEN__) | ||
45 | #define HAL_USE_ONEWIRE FALSE | ||
46 | #endif | ||
47 | |||
48 | /** | ||
49 | * @brief Enables the EICU subsystem. | ||
50 | */ | ||
51 | #if !defined(HAL_USE_EICU) || defined(__DOXYGEN__) | ||
52 | #define HAL_USE_EICU FALSE | ||
53 | #endif | ||
54 | |||
55 | /** | ||
56 | * @brief Enables the CRC subsystem. | ||
57 | */ | ||
58 | #if !defined(HAL_USE_CRC) || defined(__DOXYGEN__) | ||
59 | #define HAL_USE_CRC FALSE | ||
60 | #endif | ||
61 | |||
62 | /** | ||
63 | * @brief Enables the RNG subsystem. | ||
64 | */ | ||
65 | #if !defined(HAL_USE_RNG) || defined(__DOXYGEN__) | ||
66 | #define HAL_USE_RNG FALSE | ||
67 | #endif | ||
68 | |||
69 | /** | ||
70 | * @brief Enables the EEPROM subsystem. | ||
71 | */ | ||
72 | #if !defined(HAL_USE_EEPROM) || defined(__DOXYGEN__) | ||
73 | #define HAL_USE_EEPROM FALSE | ||
74 | #endif | ||
75 | |||
76 | /** | ||
77 | * @brief Enables the TIMCAP subsystem. | ||
78 | */ | ||
79 | #if !defined(HAL_USE_TIMCAP) || defined(__DOXYGEN__) | ||
80 | #define HAL_USE_TIMCAP FALSE | ||
81 | #endif | ||
82 | |||
83 | /** | ||
84 | * @brief Enables the TIMCAP subsystem. | ||
85 | */ | ||
86 | #if !defined(HAL_USE_COMP) || defined(__DOXYGEN__) | ||
87 | #define HAL_USE_COMP FALSE | ||
88 | #endif | ||
89 | |||
90 | /** | ||
91 | * @brief Enables the QEI subsystem. | ||
92 | */ | ||
93 | #if !defined(HAL_USE_QEI) || defined(__DOXYGEN__) | ||
94 | #define HAL_USE_QEI FALSE | ||
95 | #endif | ||
96 | |||
97 | /** | ||
98 | * @brief Enables the USBH subsystem. | ||
99 | */ | ||
100 | #if !defined(HAL_USE_USBH) || defined(__DOXYGEN__) | ||
101 | #define HAL_USE_USBH FALSE | ||
102 | #endif | ||
103 | |||
104 | /** | ||
105 | * @brief Enables the USB_MSD subsystem. | ||
106 | */ | ||
107 | #if !defined(HAL_USE_USB_MSD) || defined(__DOXYGEN__) | ||
108 | #define HAL_USE_USB_MSD FALSE | ||
109 | #endif | ||
110 | |||
111 | /*===========================================================================*/ | ||
112 | /* FSMCNAND driver related settings. */ | ||
113 | /*===========================================================================*/ | ||
114 | |||
115 | /** | ||
116 | * @brief Enables the @p nandAcquireBus() and @p nanReleaseBus() APIs. | ||
117 | * @note Disabling this option saves both code and data space. | ||
118 | */ | ||
119 | #if !defined(NAND_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) | ||
120 | #define NAND_USE_MUTUAL_EXCLUSION TRUE | ||
121 | #endif | ||
122 | |||
123 | /*===========================================================================*/ | ||
124 | /* 1-wire driver related settings. */ | ||
125 | /*===========================================================================*/ | ||
126 | /** | ||
127 | * @brief Enables strong pull up feature. | ||
128 | * @note Disabling this option saves both code and data space. | ||
129 | */ | ||
130 | #define ONEWIRE_USE_STRONG_PULLUP FALSE | ||
131 | |||
132 | /** | ||
133 | * @brief Enables search ROM feature. | ||
134 | * @note Disabling this option saves both code and data space. | ||
135 | */ | ||
136 | #define ONEWIRE_USE_SEARCH_ROM TRUE | ||
137 | |||
138 | /*===========================================================================*/ | ||
139 | /* QEI driver related settings. */ | ||
140 | /*===========================================================================*/ | ||
141 | |||
142 | /** | ||
143 | * @brief Enables discard of overlow | ||
144 | */ | ||
145 | #if !defined(QEI_USE_OVERFLOW_DISCARD) || defined(__DOXYGEN__) | ||
146 | #define QEI_USE_OVERFLOW_DISCARD FALSE | ||
147 | #endif | ||
148 | |||
149 | /** | ||
150 | * @brief Enables min max of overlow | ||
151 | */ | ||
152 | #if !defined(QEI_USE_OVERFLOW_MINMAX) || defined(__DOXYGEN__) | ||
153 | #define QEI_USE_OVERFLOW_MINMAX FALSE | ||
154 | #endif | ||
155 | |||
156 | /*===========================================================================*/ | ||
157 | /* EEProm driver related settings. */ | ||
158 | /*===========================================================================*/ | ||
159 | |||
160 | /** | ||
161 | * @brief Enables 24xx series I2C eeprom device driver. | ||
162 | * @note Disabling this option saves both code and data space. | ||
163 | */ | ||
164 | #define EEPROM_USE_EE24XX FALSE | ||
165 | /** | ||
166 | * @brief Enables 25xx series SPI eeprom device driver. | ||
167 | * @note Disabling this option saves both code and data space. | ||
168 | */ | ||
169 | #define EEPROM_USE_EE25XX FALSE | ||
170 | |||
171 | #endif /* HALCONF_COMMUNITY_H */ | ||
172 | |||
173 | /** @} */ | ||