Files
paparazzi/conf/airframes/untested/turntable_usb.xml
T
Felix Ruess 7e68b0f306 [airframes] replace subsystem by module
find conf/airframes -name "*.xml" -exec sed -i 's/subsystem/module/g' {} +
this change should be fully backwards compatible
2016-04-18 22:00:56 +02:00

37 lines
1.0 KiB
XML

<airframe name="TurntableUsb">
<makefile>
ARCH=lpc21
FLASH_MODE = IAP
MB=firmwares/motor_bench
main.ARCHDIR = $(ARCH)
# uncomment the next line to set the number of steps the encoder has (default 256)
#main.CFLAGS += -DNB_STEP=256
main.CFLAGS += -DBOARD_CONFIG=\"boards/olimex_lpc_h2148.h\" -I$(MB)
main.CFLAGS += -DPERIPHERALS_AUTO_INIT
main.srcs = $(MB)/main_turntable.c
main.srcs += $(SRC_ARCH)/armVIC.c
main.srcs += mcu.c
main.srcs += $(SRC_ARCH)/mcu_arch.c
main.CFLAGS += -DUSE_LED
main.CFLAGS += -DPERIODIC_FREQUENCY='512.' -DSYS_TIME_LED=1
main.srcs += mcu_periph/sys_time.c $(MB)/turntable_systime.c
main.CFLAGS += -DUSE_USB_SERIAL
main.srcs += $(SRC_ARCH)/usb_ser_hw.c
main.srcs += $(SRC_ARCH)/lpcusb/usbhw_lpc.c $(SRC_ARCH)/lpcusb/usbinit.c
main.srcs += $(SRC_ARCH)/lpcusb/usbcontrol.c $(SRC_ARCH)/lpcusb/usbstdreq.c
main.CFLAGS += -DDOWNLINK -DDOWNLINK_TRANSPORT=PprzTransport -DDOWNLINK_DEVICE=usb_serial
main.srcs += modules/datalink/downlink.c modules/datalink/pprz_transport.c
</makefile>
</airframe>