mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-09 22:49:53 +08:00
62646d68de
Add two new items in module's dependency: - recommends: a recommended module tells the sorting algo that if the module is found, it should be sorted accordingly. It is useful for optional dependencies, like shell or mission in some modules - suggests: if a functionality is not provided by the user, a module can suggest a list of modules that can provide them. It is a convenient way to have "default" modules. As a result the former autoload node is removed and replaced by suggested modules.
24 lines
783 B
XML
24 lines
783 B
XML
<!DOCTYPE module SYSTEM "module.dtd">
|
|
|
|
<module name="imu_chimera" dir="imu" task="sensors">
|
|
<doc>
|
|
<description>
|
|
MPU9250 IMU via I2C.
|
|
Basically the same as imu_mpu9250_i2c, only changed axes assignment for Chimera.
|
|
</description>
|
|
</doc>
|
|
<dep>
|
|
<depends>imu_mpu9250_i2c</depends>
|
|
<provides>imu</provides>
|
|
</dep>
|
|
<makefile target="!sim|nps|fbw">
|
|
<configure name="IMU_MPU9250_I2C_DEV" value="i2c1" case="upper|lower"/>
|
|
<define name="IMU_MPU9250_CHAN_X" value="1"/>
|
|
<define name="IMU_MPU9250_CHAN_Y" value="0"/>
|
|
<define name="IMU_MPU9250_CHAN_Z" value="2"/>
|
|
<define name="IMU_MPU9250_X_SIGN" value="-1"/>
|
|
<define name="IMU_MPU9250_Y_SIGN" value="-1"/>
|
|
<define name="IMU_MPU9250_Z_SIGN" value="-1"/>
|
|
</makefile>
|
|
</module>
|