mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-12 10:19:11 +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.
31 lines
1.1 KiB
XML
31 lines
1.1 KiB
XML
<!DOCTYPE module SYSTEM "module.dtd">
|
|
|
|
<module name="syslink_dl" dir="datalink/bitcraze" task="datalink">
|
|
<doc>
|
|
<description>
|
|
Bitcraze syslink module
|
|
</description>
|
|
<configure name="SYSLINK_PORT" value="UARTX" description="Select syslink port"/>
|
|
<configure name="SYSLINK_BAUD" value="B1000000" description="Syslink baudrate"/>
|
|
</doc>
|
|
<header>
|
|
<file name="syslink_dl.h"/>
|
|
</header>
|
|
<init fun="syslink_dl_init()"/>
|
|
<periodic fun="syslink_dl_periodic()" freq="2"/>
|
|
<event fun="syslink_dl_event()"/>
|
|
|
|
<makefile target="!fbw|sim|nps|hitl">
|
|
<configure name="SYSLINK_PORT" default="uart6" case="upper|lower"/>
|
|
<configure name="SYSLINK_BAUD" default="B1000000" case="upper|lower"/>
|
|
<define name="SYSLINK_DEV" value="$(SYSLINK_PORT_LOWER)"/>
|
|
<define name="USE_$(SYSLINK_PORT_UPPER)"/>
|
|
<define name="$(SYSLINK_PORT_UPPER)_BAUD" value="$(SYSLINK_BAUD)"/>
|
|
<define name="USE_UART_SOFT_FLOW_CONTROL"/>
|
|
<define name="USE_SYSLINK"/>
|
|
<define name="CHARGING_LED" value="$(CHARGING_LED)" cond="ifneq ($(CHARGING_LED),none)"/>
|
|
<file name="syslink_dl.c"/>
|
|
<file name="syslink.c"/>
|
|
</makefile>
|
|
</module>
|