Revision 126ace3c modules/NUCLEO-L476RG/halconf.h
modules/NUCLEO-L476RG/halconf.h | ||
---|---|---|
18 | 18 |
|
19 | 19 |
/** |
20 | 20 |
* @file |
21 |
* @brief HAL configuration header for the DiWheelDrive v1.1 module.
|
|
21 |
* @brief HAL configuration header for the NUCLEO-L476RG module.
|
|
22 | 22 |
* @details HAL configuration file, this file allows to enable or disable the |
23 | 23 |
* various device drivers from your application. You may also use |
24 | 24 |
* this file in order to override the device drivers default settings. |
25 | 25 |
* |
26 |
* @addtogroup STM32L476RGNUCLEO64_HAL_CONF
|
|
26 |
* @addtogroup NUCLEO-L476RG_HAL_CONF
|
|
27 | 27 |
* @{ |
28 | 28 |
*/ |
29 | 29 |
|
... | ... | |
33 | 33 |
#define _CHIBIOS_HAL_CONF_ |
34 | 34 |
#define _CHIBIOS_HAL_CONF_VER_6_0_ |
35 | 35 |
|
36 |
#include <alldconf.h> |
|
36 | 37 |
#include "mcuconf.h" |
37 | 38 |
|
38 | 39 |
/** |
... | ... | |
88 | 89 |
* @brief Enables the I2C subsystem. |
89 | 90 |
*/ |
90 | 91 |
#if !defined(HAL_USE_I2C) || defined(__DOXYGEN__) |
92 |
// enable if MPU6050 demo is enabled |
|
93 |
#if defined(AMIROLLD_CFG_MPU6050) |
|
94 |
#define HAL_USE_I2C TRUE |
|
95 |
#else |
|
91 | 96 |
#define HAL_USE_I2C FALSE |
92 | 97 |
#endif |
98 |
#endif |
|
93 | 99 |
|
94 | 100 |
/** |
95 | 101 |
* @brief Enables the I2S subsystem. |
Also available in: Unified diff