mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-05 23:49:00 +08:00
32 lines
602 B
XML
32 lines
602 B
XML
<!DOCTYPE airframe SYSTEM "../../airframe.dtd">
|
|
|
|
<!--
|
|
just remain quiet
|
|
-->
|
|
|
|
<airframe name="Logger">
|
|
|
|
<makefile>
|
|
|
|
CONFIG = \"tiny_2_1_1_usb.h\"
|
|
|
|
include $(PAPARAZZI_SRC)/conf/firmwares/tiny.makefile
|
|
|
|
FLASH_MODE=IAP
|
|
|
|
ap.CFLAGS += -DBOARD_CONFIG=$(CONFIG)
|
|
ap.srcs = sys_time.c $(SRC_ARCH)/sys_time_hw.c $(SRC_ARCH)/armVIC.c main_logger.c
|
|
|
|
#choose one
|
|
ap.CFLAGS += -DLOG_XBEE
|
|
|
|
#set the speed
|
|
ap.CFLAGS += -DUSE_UART0 -DUART0_BAUD=B57600 -DUSE_UART0_RX_ONLY
|
|
ap.CFLAGS += -DUSE_UART1 -DUART1_BAUD=B57600 -DUSE_UART1_RX_ONLY
|
|
ap.srcs += $(SRC_ARCH)/mcu_periph/uart_arch.c
|
|
|
|
</makefile>
|
|
|
|
</airframe>
|
|
|