mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-19 18:42:46 +08:00
7e68b0f306
find conf/airframes -name "*.xml" -exec sed -i 's/subsystem/module/g' {} +
this change should be fully backwards compatible
36 lines
931 B
XML
36 lines
931 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 += modules/datalink/downlink.c modules/datalink/pprz_transport.c
|
|
|
|
</makefile>
|
|
|
|
</airframe>
|