mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-18 08:03:44 +08:00
a008da49b4
add usb_serial implementation and using that for telemetry_usb closes #998
31 lines
771 B
XML
31 lines
771 B
XML
<!DOCTYPE module SYSTEM "module.dtd">
|
|
|
|
<module name="usb_serial_stm32_example1" dir="com">
|
|
<doc>
|
|
<description>
|
|
STM32 USB-serial example.
|
|
Example of USB-serial module on STM32 architecture, using libopencm3 library.
|
|
This example tests the capability of USB-serial port by sending a lots of data.
|
|
To be used with Lisa M/MX 2.1
|
|
</description>
|
|
</doc>
|
|
|
|
<header>
|
|
<file name="usb_serial_stm32.h"/>
|
|
</header>
|
|
|
|
<init fun="init_usb_serial()"/>
|
|
|
|
<periodic fun="periodic_usb_serial()" freq="10." autorun="TRUE"/>
|
|
|
|
<event fun="event_usb_serial()"/>
|
|
|
|
<makefile target="ap">
|
|
<raw>
|
|
ap.srcs += $(SRC_ARCH)/usb_ser_hw.c
|
|
</raw>
|
|
<define name="USE_USB_SERIAL"/>
|
|
<file name="usb_serial_stm32_example2.c"/>
|
|
</makefile>
|
|
</module>
|