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.
21 lines
537 B
XML
21 lines
537 B
XML
<!DOCTYPE module SYSTEM "module.dtd">
|
|
|
|
<module name="imu_aspirin_v1.5" dir="imu" task="sensors">
|
|
<doc>
|
|
<description>
|
|
Aspirin v1.5 IMU.
|
|
- Accelerometer: ADXL345 via SPI
|
|
- Gyroscope: ITG3200 via I2C
|
|
- Magnetometer: HMC58xx via I2C
|
|
For configuration see the imu_aspirin_common module
|
|
</description>
|
|
</doc>
|
|
<dep>
|
|
<depends>imu_aspirin_common</depends>
|
|
<provides>imu</provides>
|
|
</dep>
|
|
<makefile target="!sim|nps|fbw">
|
|
<define name="IMU_ASPIRIN_VERSION_1_5"/>
|
|
</makefile>
|
|
</module>
|