Revision 1678f270 modules/RT-STM32L476RG-NUCLEO64/module.h

View differences:

modules/RT-STM32L476RG-NUCLEO64/module.h
87 87
#define MODULE_HAL_PROGIF                       SD2
88 88

  
89 89
/**
90
 * @brief   I2C driver to access multiplexer, proximity sensors 5 to 8, power monitors for VSYS4.2, VIO 5.0 and VDD, EEPROM, touch sensor, and fuel gauge (front battery).
91
 */
92
#define MODULE_HAL_I2C_MPU6050 I2CD3
93

  
94
/**
95
 * @brief   Configuration for the multiplexer, proximity sensors 1 to 4, power monitors for VIO1.8 and VIO 3.3, and fuel gauge (rear battery) I2C driver.
96
 */
97
extern I2CConfig moduleHalI2cMpu6050Config;
98

  
99
/**
90 100
 * @brief   Configuration for the programmer serial interface driver.
91 101
 */
92 102
extern SerialConfig moduleHalProgIfConfig;
......
197 207

  
198 208
/** @} */
199 209

  
210

  
200 211
/*===========================================================================*/
201 212
/**
202 213
 * @name AMiRo-OS core configurations
......
259 270
extern ROMCONST char* moduleShellPrompt;
260 271
#endif
261 272

  
273
/**
274
 * @brief   Unit test initialization hook.
275
 */
276
#define MODULE_INIT_TESTS() {                                                 \
277
  /* add unit-test shell commands */                                          \
278
  aosShellAddCommand(&aos.shell, &moduleUtAlldMpu6050.shellcmd);              \
279
}
280

  
281
#include <alld_mpu6050.h>
282

  
283
/**
284
 * @brief   Accelerometer (MPU6050) driver.
285
 */
286
extern MPU6050Driver moduleLldMpu6050;
287

  
288
#include <ut_alld_mpu6050.h>
289

  
290
/**
291
 * @brief   MPU6050 unit test object.
292
 */
293
extern aos_unittest_t moduleUtAlldMpu6050;
294

  
262 295
#endif /* _AMIROOS_MODULE_H_ */
263 296

  
264 297
/** @} */

Also available in: Unified diff