-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
telemetry_intermcu.xml
34 lines (31 loc) · 1.48 KB
/
telemetry_intermcu.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<!DOCTYPE module SYSTEM "module.dtd">
<module name="telemetry_intermcu" dir="telemetry" task="datalink">
<doc>
<description>Telemetry over InterMCU
This module transmits Telemetry of the process "InterMCU" from AP to FBW. The FBW then transmits this telemetry further through PPRZ over an UART.
</description>
<configure name="TELEMETRY_INTERMCU_DEV" value="UART3" description="Device used to communicate the telemetry over on the FBW side"/>
<configure name="TELEMETRY_INTERMCU_BAUD" value="B19200" description="UART baud rate"/>
</doc>
<!-- <depends>intermcu</depends> -->
<header>
<file name="telemetry_intermcu.h"/>
</header>
<init fun="telemetry_intermcu_init()"/>
<periodic fun="telemetry_intermcu_periodic()"/>
<event fun="telemetry_intermcu_event()"/>
<makefile target="ap">
<file name="telemetry_intermcu_ap.c"/>
<file name="short_transport.c" dir="pprzlink/src"/>
<define name="TELEMETRY_INTERMCU"/>
</makefile>
<makefile target="fbw">
<file name="telemetry_intermcu_fbw.c"/>
<file name="pprz_transport.c" dir="pprzlink/src"/>
<configure name="TELEMETRY_INTERMCU_DEV" default="UART3" case="upper|lower"/>
<configure name="TELEMETRY_INTERMCU_BAUD" default="B19200"/>
<define name="USE_$(TELEMETRY_INTERMCU_DEV_UPPER)"/>
<define name="$(TELEMETRY_INTERMCU_DEV_UPPER)_BAUD" value="$(TELEMETRY_INTERMCU_BAUD)"/>
<define name="TELEMETRY_INTERMCU_DEV" value="$(TELEMETRY_INTERMCU_DEV_LOWER)"/>
</makefile>
</module>