mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-10 06:59:54 +08:00
46bec882f3
Modules for MCU peripherals. Previous subsystems or direct definition in firmware makefile are kept for now, until dependencies are properly handled.
25 lines
696 B
XML
25 lines
696 B
XML
<!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>
|
|
<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="nps">
|
|
<include name="arch/linux"/>
|
|
<file name="udp_socket.c" dir="arch/linux"/>
|
|
</makefile>
|
|
</module>
|
|
|