Revision 732a4657 modules/NUCLEO-L476RG/halconf.h
modules/NUCLEO-L476RG/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 <alldconf.h> |
37 | 37 |
#include "mcuconf.h" |
... | ... | |
72 | 72 |
#endif |
73 | 73 |
|
74 | 74 |
/** |
75 |
* @brief Enables the EXT subsystem. |
|
76 |
*/ |
|
77 |
#if !defined(HAL_USE_EXT) || defined(__DOXYGEN__) |
|
78 |
#define HAL_USE_EXT FALSE |
|
79 |
#endif |
|
80 |
|
|
81 |
/** |
|
82 | 75 |
* @brief Enables the GPT subsystem. |
83 | 76 |
*/ |
84 | 77 |
#if !defined(HAL_USE_GPT) || defined(__DOXYGEN__) |
... | ... | |
140 | 133 |
#endif |
141 | 134 |
|
142 | 135 |
/** |
143 |
* @brief Enables the QSPI subsystem. |
|
144 |
*/ |
|
145 |
#if !defined(HAL_USE_QSPI) || defined(__DOXYGEN__) |
|
146 |
#define HAL_USE_QSPI FALSE |
|
147 |
#endif |
|
148 |
|
|
149 |
/** |
|
150 | 136 |
* @brief Enables the RTC subsystem. |
151 | 137 |
*/ |
152 | 138 |
#if !defined(HAL_USE_RTC) || defined(__DOXYGEN__) |
... | ... | |
175 | 161 |
#endif |
176 | 162 |
|
177 | 163 |
/** |
164 |
* @brief Enables the SIO subsystem. |
|
165 |
*/ |
|
166 |
#if !defined(HAL_USE_SIO) || defined(__DOXYGEN__) |
|
167 |
#define HAL_USE_SIO FALSE |
|
168 |
#endif |
|
169 |
|
|
170 |
/** |
|
178 | 171 |
* @brief Enables the SPI subsystem. |
179 | 172 |
*/ |
180 | 173 |
#if !defined(HAL_USE_SPI) || defined(__DOXYGEN__) |
... | ... | |
182 | 175 |
#endif |
183 | 176 |
|
184 | 177 |
/** |
178 |
* @brief Enables the TRNG subsystem. |
|
179 |
*/ |
|
180 |
#if !defined(HAL_USE_TRNG) || defined(__DOXYGEN__) |
|
181 |
#define HAL_USE_TRNG FALSE |
|
182 |
#endif |
|
183 |
|
|
184 |
/** |
|
185 | 185 |
* @brief Enables the UART subsystem. |
186 | 186 |
*/ |
187 | 187 |
#if !defined(HAL_USE_UART) || defined(__DOXYGEN__) |
... | ... | |
202 | 202 |
#define HAL_USE_WDG FALSE |
203 | 203 |
#endif |
204 | 204 |
|
205 |
/** |
|
206 |
* @brief Enables the WSPI subsystem. |
|
207 |
*/ |
|
208 |
#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__) |
|
209 |
#define HAL_USE_WSPI FALSE |
|
210 |
#endif |
|
211 |
|
|
205 | 212 |
/*===========================================================================*/ |
206 | 213 |
/* PAL driver related settings. */ |
207 | 214 |
/*===========================================================================*/ |
... | ... | |
348 | 355 |
#endif |
349 | 356 |
|
350 | 357 |
/*===========================================================================*/ |
351 |
/* QSPI driver related settings. */ |
|
352 |
/*===========================================================================*/ |
|
353 |
|
|
354 |
/** |
|
355 |
* @brief Enables synchronous APIs. |
|
356 |
* @note Disabling this option saves both code and data space. |
|
357 |
*/ |
|
358 |
#if !defined(QSPI_USE_WAIT) || defined(__DOXYGEN__) |
|
359 |
#define QSPI_USE_WAIT TRUE |
|
360 |
#endif |
|
361 |
|
|
362 |
/** |
|
363 |
* @brief Enables the @p qspiAcquireBus() and @p qspiReleaseBus() APIs. |
|
364 |
* @note Disabling this option saves both code and data space. |
|
365 |
*/ |
|
366 |
#if !defined(QSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) |
|
367 |
#define QSPI_USE_MUTUAL_EXCLUSION TRUE |
|
368 |
#endif |
|
369 |
|
|
370 |
/*===========================================================================*/ |
|
371 | 358 |
/* SDC driver related settings. */ |
372 | 359 |
/*===========================================================================*/ |
373 | 360 |
|
... | ... | |
528 | 515 |
#define USB_USE_WAIT FALSE |
529 | 516 |
#endif |
530 | 517 |
|
518 |
/*===========================================================================*/ |
|
519 |
/* WSPI driver related settings. */ |
|
520 |
/*===========================================================================*/ |
|
521 |
|
|
522 |
/** |
|
523 |
* @brief Enables synchronous APIs. |
|
524 |
* @note Disabling this option saves both code and data space. |
|
525 |
*/ |
|
526 |
#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__) |
|
527 |
#define WSPI_USE_WAIT TRUE |
|
528 |
#endif |
|
529 |
|
|
530 |
/** |
|
531 |
* @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs. |
|
532 |
* @note Disabling this option saves both code and data space. |
|
533 |
*/ |
|
534 |
#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) |
|
535 |
#define WSPI_USE_MUTUAL_EXCLUSION TRUE |
|
536 |
#endif |
|
537 |
|
|
531 | 538 |
#endif /* HALCONF_H */ |
532 | 539 |
|
533 | 540 |
/** @} */ |
Also available in: Unified diff