Revision 732a4657 modules/STM32F407G-DISC1/halconf.h
| modules/STM32F407G-DISC1/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 |
/*===========================================================================*/ |
| ... | ... | |
| 342 | 349 |
#endif |
| 343 | 350 |
|
| 344 | 351 |
/*===========================================================================*/ |
| 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 |
|
| 362 |
#endif |
|
| 363 |
|
|
| 364 |
/*===========================================================================*/ |
|
| 365 | 352 |
/* SDC driver related settings. */ |
| 366 | 353 |
/*===========================================================================*/ |
| 367 | 354 |
|
| ... | ... | |
| 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