/
turntable.xml
35 lines (24 loc) · 937 Bytes
/
turntable.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<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>