mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-02-07 20:28:04 +08:00
Modules for MCU peripherals. Previous subsystems or direct definition in firmware makefile are kept for now, until dependencies are properly handled.
24 lines
681 B
XML
24 lines
681 B
XML
<!DOCTYPE module SYSTEM "module.dtd">
|
|
|
|
<module name="uart" dir="mcu_periph" task="mcu">
|
|
<doc>
|
|
<description>
|
|
General UART driver
|
|
To activate a specific UART peripheral, define flag USE_UARTX where X is your UART peripheral number
|
|
</description>
|
|
</doc>
|
|
<header>
|
|
<file name="uart.h" dir="mcu_periph"/>
|
|
</header>
|
|
<makefile>
|
|
<file name="uart.c" dir="mcu_periph"/>
|
|
<file_arch name="uart_arch.c" dir="mcu_periph"/>
|
|
<file name="serial_port.c" dir="arch/linux" cond="ifeq ($(ARCH), linux)"/>
|
|
</makefile>
|
|
<makefile target="sim|nps">
|
|
<include name="arch/linux"/>
|
|
<file name="serial_port.c" dir="arch/linux"/>
|
|
</makefile>
|
|
</module>
|
|
|