Revision 4c72a54c modules/NUCLEO-L476RG/halconf.h
modules/NUCLEO-L476RG/halconf.h | ||
---|---|---|
33 | 33 |
#define _CHIBIOS_HAL_CONF_ |
34 | 34 |
#define _CHIBIOS_HAL_CONF_VER_7_0_ |
35 | 35 |
|
36 |
#include <alldconf.h> |
|
37 |
#include "mcuconf.h" |
|
36 |
#include <mcuconf.h> |
|
38 | 37 |
|
39 | 38 |
/** |
40 | 39 |
* @brief Enables the PAL subsystem. |
... | ... | |
82 | 81 |
* @brief Enables the I2C subsystem. |
83 | 82 |
*/ |
84 | 83 |
#if !defined(HAL_USE_I2C) || defined(__DOXYGEN__) |
85 |
// enable if MPU6050 demo is enabled |
|
86 |
#if defined(AMIROLLD_CFG_MPU6050) |
|
87 | 84 |
#define HAL_USE_I2C TRUE |
88 |
#else |
|
89 |
#define HAL_USE_I2C FALSE |
|
90 |
#endif |
|
91 | 85 |
#endif |
92 | 86 |
|
93 | 87 |
/** |
Also available in: Unified diff