mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-08-17 17:12:33 +08:00
[modules] actuators for more targets
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
<header>
|
||||
<file name="actuators_ppm.h" dir="subsystems/actuators"/>
|
||||
</header>
|
||||
<makefile>
|
||||
<makefile target="!sim|nps">
|
||||
<define name="ACTUATORS"/>
|
||||
<define name="SERVOS_PPM_MAT"/>
|
||||
<file_arch name="actuators_ppm_hw.c" dir="subsystems/actuators"/>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
<header>
|
||||
<file name="actuators_pwm.h" dir="subsystems/actuators"/>
|
||||
</header>
|
||||
<makefile>
|
||||
<makefile target="!sim|nps">
|
||||
<define name="ACTUATORS"/>
|
||||
<file_arch name="actuators_pwm_arch.c" dir="subsystems/actuators"/>
|
||||
<file_arch name="actuators_shared_arch.c" dir="subsystems/actuators" cond="ifeq ($(ARCH), stm32)"/>
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
<header>
|
||||
<file name="actuators_sbus.h" dir="subsystems/actuators"/>
|
||||
</header>
|
||||
<makefile>
|
||||
<makefile target="!sim|nps">
|
||||
<configure name="ACTUATORS_SBUS_DEV" default="uart4" case="upper|lower"/>
|
||||
<define name="ACTUATORS"/>
|
||||
<define name="ACTUATORS_SBUS_DEV" value="$(ACTUATORS_SBUS_DEV_LOWER)"/>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
<header>
|
||||
<file name="actuators_spektrum.h" dir="subsystems/actuators"/>
|
||||
</header>
|
||||
<makefile>
|
||||
<makefile target="!sim|nps">
|
||||
<configure name="ACTUATORS_SPEKTRUM_DEV" default="uart4" case="upper|lower"/>
|
||||
<configure name="ACTUATORS_SPEKTRUM_DEV2" case="upper|lower"/>
|
||||
<define name="ACTUATORS"/>
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
<header>
|
||||
<file name="motor_mixing.h" dir="subsystems/actuators"/>
|
||||
</header>
|
||||
<makefile>
|
||||
<makefile target="!sim">
|
||||
<define name="USE_MOTOR_MIXING"/>
|
||||
<file name="motor_mixing.c" dir="subsystems/actuators"/>
|
||||
</makefile>
|
||||
|
||||
Reference in New Issue
Block a user