mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-30 11:37:06 +08:00
[modules] move AHRS from subsystems to modules
This commit is contained in:
@@ -9,23 +9,23 @@
|
||||
<configure name="AHRS_ALIGNER_LED" value="1" description="LED number to indicate AHRS alignment, none to disable (default is board dependent)"/>
|
||||
</doc>
|
||||
<header>
|
||||
<file name="ahrs.h" dir="subsystems"/>
|
||||
<file name="ahrs.h"/>
|
||||
</header>
|
||||
<init fun="ahrs_init()"/>
|
||||
<makefile target="!sim|fbw">
|
||||
<define name="AHRS_ALIGNER_LED" value="$(AHRS_ALIGNER_LED)" cond="ifneq ($(AHRS_ALIGNER_LED),none)"/>
|
||||
<define name="USE_AHRS"/>
|
||||
<define name="USE_AHRS_ALIGNER"/>
|
||||
<file name="ahrs.c" dir="subsystems"/>
|
||||
<file name="ahrs_aligner.c" dir="subsystems/ahrs"/>
|
||||
<file name="ahrs.c"/>
|
||||
<file name="ahrs_aligner.c"/>
|
||||
<test>
|
||||
<define name="PRIMARY_AHRS" value="ahrs_dcm"/>
|
||||
<define name="AHRS_TYPE_H" value="subsystems/ahrs/ahrs_float_dcm_wrapper.h" type="string"/>
|
||||
<define name="AHRS_TYPE_H" value="modules/ahrs/ahrs_float_dcm_wrapper.h" type="string"/>
|
||||
</test>
|
||||
</makefile>
|
||||
<makefile target="sim">
|
||||
<define name="USE_AHRS"/>
|
||||
<file name="ahrs.c" dir="subsystems"/>
|
||||
<file name="ahrs.c"/>
|
||||
</makefile>
|
||||
</module>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user