mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-11 16:02:47 +08:00
9eebb1747a
* Add ChibiOS USB Serial. * do not terminate shell thread on read error. * build usb serial * Condition for building usb_ser_hw.c * match UART buffer size * include USB serial in uart module. * Shell dependency on uart. * Add missing attribute in DTD. * Add setting to enable USB storage. * Allows to use USB serial with logger. * Allow defining USB_RX_BUFFER_SIZE.
28 lines
823 B
XML
28 lines
823 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>
|
|
<dep>
|
|
<depends>mcu</depends>
|
|
</dep>
|
|
<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)"/>
|
|
<file_arch name="usb_ser_hw.c" dir="." cond="ifneq ($(filter $(ARCH),chibios stm32),)"/>
|
|
</makefile>
|
|
<makefile target="sim|nps|hitl">
|
|
<include name="arch/linux"/>
|
|
<file name="serial_port.c" dir="arch/linux"/>
|
|
</makefile>
|
|
</module>
|
|
|