Files
paparazzi/conf/modules/imu_apogee.xml
T
Felix Ruess 17d32772c0 [imu] convert imu subsystems to modules (#1788)
* [imu] convert imu subsystems to modules

Also
- get rid of explicit imu init|event|periodic calls in main
- each imu implementation has their own imu_x_init/event/periodic

* [imu] fix some imu modules

* [imu] fix bad paths

* [imu] add imu_common module that every implementation autoloads

and put body_to_imu settings in imu_common module

* [imu] fix imu_ardrone2

* [conf] add imu_common settings module in conf_example and conf_tests
2016-08-12 12:02:38 +02:00

32 lines
881 B
XML

<!DOCTYPE module SYSTEM "module.dtd">
<module name="imu_apogee" dir="imu">
<doc>
<description>
Driver for IMU on Apogee board.
- Accelerometer/Gyroscope: MPU60x0 via I2C1
</description>
</doc>
<autoload name="imu_common"/>
<autoload name="imu_nps"/>
<header>
<file name="imu_apogee.h" dir="boards/apogee"/>
</header>
<init fun="imu_apogee_init()"/>
<periodic fun="imu_apogee_periodic()"/>
<event fun="imu_apogee_event()"/>
<makefile target="!sim|nps|fbw">
<!-- MPU is on I2C1 on Apogee -->
<define name="IMU_APOGEE_I2C_DEV" value="i2c1"/>
<define name="USE_I2C1"/>
<define name="IMU_TYPE_H" value="boards/apogee/imu_apogee.h" type="string"/>
<file name="mpu60x0.c" dir="peripherals"/>
<file name="mpu60x0_i2c.c" dir="peripherals"/>
<file name="imu_apogee.c" dir="boards/apogee"/>
</makefile>
</module>