mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-09 22:49:53 +08:00
ea77d1a395
- unused airframe xml files fronm conf_example and conf_test.xml were moved to untested folder closes #1249
36 lines
937 B
XML
36 lines
937 B
XML
<airframe name="Turntable">
|
|
|
|
<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_UART0 -DUART0_BAUD=B115200
|
|
main.srcs += mcu_periph/uart.c
|
|
main.srcs += $(SRC_ARCH)/mcu_periph/uart_arch.c
|
|
main.CFLAGS += -DDOWNLINK -DDOWNLINK_TRANSPORT=PprzTransport -DDOWNLINK_DEVICE=uart0
|
|
|
|
main.srcs += subsystems/datalink/downlink.c subsystems/datalink/pprz_transport.c
|
|
|
|
</makefile>
|
|
|
|
</airframe>
|