Revision 732a4657 modules/DiWheelDrive_1-1/halconf.h
modules/DiWheelDrive_1-1/halconf.h | ||
---|---|---|
31 | 31 |
#define HALCONF_H |
32 | 32 |
|
33 | 33 |
#define _CHIBIOS_HAL_CONF_ |
34 |
#define _CHIBIOS_HAL_CONF_VER_6_0_
|
|
34 |
#define _CHIBIOS_HAL_CONF_VER_7_0_
|
|
35 | 35 |
|
36 | 36 |
#include "mcuconf.h" |
37 | 37 |
|
... | ... | |
71 | 71 |
#endif |
72 | 72 |
|
73 | 73 |
/** |
74 |
* @brief Enables the EXT subsystem. |
|
75 |
*/ |
|
76 |
#if !defined(HAL_USE_EXT) || defined(__DOXYGEN__) |
|
77 |
#define HAL_USE_EXT FALSE |
|
78 |
#endif |
|
79 |
|
|
80 |
/** |
|
81 | 74 |
* @brief Enables the GPT subsystem. |
82 | 75 |
*/ |
83 | 76 |
#if !defined(HAL_USE_GPT) || defined(__DOXYGEN__) |
... | ... | |
134 | 127 |
#endif |
135 | 128 |
|
136 | 129 |
/** |
137 |
* @brief Enables the QSPI subsystem. |
|
138 |
*/ |
|
139 |
#if !defined(HAL_USE_QSPI) || defined(__DOXYGEN__) |
|
140 |
#define HAL_USE_QSPI FALSE |
|
141 |
#endif |
|
142 |
|
|
143 |
/** |
|
144 | 130 |
* @brief Enables the RTC subsystem. |
145 | 131 |
*/ |
146 | 132 |
#if !defined(HAL_USE_RTC) || defined(__DOXYGEN__) |
... | ... | |
169 | 155 |
#endif |
170 | 156 |
|
171 | 157 |
/** |
158 |
* @brief Enables the SIO subsystem. |
|
159 |
*/ |
|
160 |
#if !defined(HAL_USE_SIO) || defined(__DOXYGEN__) |
|
161 |
#define HAL_USE_SIO FALSE |
|
162 |
#endif |
|
163 |
|
|
164 |
/** |
|
172 | 165 |
* @brief Enables the SPI subsystem. |
173 | 166 |
*/ |
174 | 167 |
#if !defined(HAL_USE_SPI) || defined(__DOXYGEN__) |
... | ... | |
176 | 169 |
#endif |
177 | 170 |
|
178 | 171 |
/** |
172 |
* @brief Enables the TRNG subsystem. |
|
173 |
*/ |
|
174 |
#if !defined(HAL_USE_TRNG) || defined(__DOXYGEN__) |
|
175 |
#define HAL_USE_TRNG FALSE |
|
176 |
#endif |
|
177 |
|
|
178 |
/** |
|
179 | 179 |
* @brief Enables the UART subsystem. |
180 | 180 |
*/ |
181 | 181 |
#if !defined(HAL_USE_UART) || defined(__DOXYGEN__) |
... | ... | |
196 | 196 |
#define HAL_USE_WDG FALSE |
197 | 197 |
#endif |
198 | 198 |
|
199 |
/** |
|
200 |
* @brief Enables the WSPI subsystem. |
|
201 |
*/ |
|
202 |
#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__) |
|
203 |
#define HAL_USE_WSPI FALSE |
|
204 |
#endif |
|
205 |
|
|
199 | 206 |
/*===========================================================================*/ |
200 | 207 |
/* PAL driver related settings. */ |
201 | 208 |
/*===========================================================================*/ |
... | ... | |
225 | 232 |
* @note Disabling this option saves both code and data space. |
226 | 233 |
*/ |
227 | 234 |
#if !defined(ADC_USE_WAIT) || defined(__DOXYGEN__) |
228 |
#define ADC_USE_WAIT FALSE
|
|
235 |
#define ADC_USE_WAIT TRUE
|
|
229 | 236 |
#endif |
230 | 237 |
|
231 | 238 |
/** |
... | ... | |
233 | 240 |
* @note Disabling this option saves both code and data space. |
234 | 241 |
*/ |
235 | 242 |
#if !defined(ADC_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) |
236 |
#define ADC_USE_MUTUAL_EXCLUSION FALSE
|
|
243 |
#define ADC_USE_MUTUAL_EXCLUSION TRUE
|
|
237 | 244 |
#endif |
238 | 245 |
|
239 | 246 |
/*===========================================================================*/ |
... | ... | |
322 | 329 |
* @brief Enables an event sources for incoming packets. |
323 | 330 |
*/ |
324 | 331 |
#if !defined(MAC_USE_EVENTS) || defined(__DOXYGEN__) |
325 |
#define MAC_USE_EVENTS FALSE
|
|
332 |
#define MAC_USE_EVENTS TRUE
|
|
326 | 333 |
#endif |
327 | 334 |
|
328 | 335 |
/*===========================================================================*/ |
... | ... | |
338 | 345 |
* use a DMA channel and heavily loads the CPU. |
339 | 346 |
*/ |
340 | 347 |
#if !defined(MMC_NICE_WAITING) || defined(__DOXYGEN__) |
341 |
#define MMC_NICE_WAITING FALSE |
|
342 |
#endif |
|
343 |
|
|
344 |
/*===========================================================================*/ |
|
345 |
/* QSPI driver related settings. */ |
|
346 |
/*===========================================================================*/ |
|
347 |
|
|
348 |
/** |
|
349 |
* @brief Enables synchronous APIs. |
|
350 |
* @note Disabling this option saves both code and data space. |
|
351 |
*/ |
|
352 |
#if !defined(QSPI_USE_WAIT) || defined(__DOXYGEN__) |
|
353 |
#define QSPI_USE_WAIT TRUE |
|
354 |
#endif |
|
355 |
|
|
356 |
/** |
|
357 |
* @brief Enables the @p qspiAcquireBus() and @p qspiReleaseBus() APIs. |
|
358 |
* @note Disabling this option saves both code and data space. |
|
359 |
*/ |
|
360 |
#if !defined(QSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) |
|
361 |
#define QSPI_USE_MUTUAL_EXCLUSION TRUE |
|
348 |
#define MMC_NICE_WAITING TRUE |
|
362 | 349 |
#endif |
363 | 350 |
|
364 | 351 |
/*===========================================================================*/ |
... | ... | |
389 | 376 |
* lower priority, this may slow down the driver a bit however. |
390 | 377 |
*/ |
391 | 378 |
#if !defined(SDC_NICE_WAITING) || defined(__DOXYGEN__) |
392 |
#define SDC_NICE_WAITING FALSE
|
|
379 |
#define SDC_NICE_WAITING TRUE
|
|
393 | 380 |
#endif |
394 | 381 |
|
395 | 382 |
/** |
... | ... | |
522 | 509 |
#define USB_USE_WAIT FALSE |
523 | 510 |
#endif |
524 | 511 |
|
512 |
/*===========================================================================*/ |
|
513 |
/* WSPI driver related settings. */ |
|
514 |
/*===========================================================================*/ |
|
515 |
|
|
516 |
/** |
|
517 |
* @brief Enables synchronous APIs. |
|
518 |
* @note Disabling this option saves both code and data space. |
|
519 |
*/ |
|
520 |
#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__) |
|
521 |
#define WSPI_USE_WAIT TRUE |
|
522 |
#endif |
|
523 |
|
|
524 |
/** |
|
525 |
* @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs. |
|
526 |
* @note Disabling this option saves both code and data space. |
|
527 |
*/ |
|
528 |
#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) |
|
529 |
#define WSPI_USE_MUTUAL_EXCLUSION TRUE |
|
530 |
#endif |
|
531 |
|
|
525 | 532 |
#endif /* HALCONF_H */ |
526 | 533 |
|
527 | 534 |
/** @} */ |
Also available in: Unified diff