Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
udp module

General UDP driver

To activate a specific UDP peripheral, define flag USE_UDPX where X is your UDP peripheral number

Example for airframe file

Add to your firmware section:

<module name="udp"/>

Files

Header Files

The following headers are automatically included in modules.h

Source Files

Raw udp.xml file:

<!DOCTYPE module SYSTEM "module.dtd">
<module name="udp" dir="mcu_periph" task="mcu">
<doc>
<description>
General UDP driver
To activate a specific UDP peripheral, define flag USE_UDPX where X is your UDP peripheral number
</description>
</doc>
<dep>
<depends>mcu</depends>
</dep>
<header>
<file name="udp.h" dir="mcu_periph"/>
</header>
<makefile>
<define name="USE_UDP"/>
<file name="udp.c" dir="mcu_periph"/>
<file_arch name="udp_arch.c" dir="mcu_periph"/>
<file name="udp_socket.c" dir="arch/linux" cond="ifeq ($(ARCH), linux)"/>
</makefile>
<makefile target="sim|nps">
<include name="arch/linux"/>
<file name="udp_socket.c" dir="arch/linux"/>
</makefile>
</module>