Files
paparazzi/conf/airframes/example.xml
T
2008-04-16 21:35:25 +00:00

44 lines
970 B
XML

<airframe name="Examples">
<makefile>
ARCHI=arm7
FLASH_MODE = IAP
#
# GPS :
#
#
example_gps.ARCHDIR = $(ARCHI)
example_gps.ARCH = arm7tdmi
example_gps.TARGET = example_gps
example_gps.TARGETDIR = example_gps
example_gps.CFLAGS += -DCONFIG=\"conf_demo.h\"
example_gps.srcs = example/example_gps.c
example_gps.CFLAGS += -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC(10e-2)'
example_gps.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c
example_gps.CFLAGS += -DLED
example_gps.srcs += $(SRC_ARCH)/armVIC.c
example_gps.CFLAGS += -DUSE_UART0 -DUART0_BAUD=B38400
example_gps.srcs += $(SRC_ARCH)/uart_hw.c
example_gps.CFLAGS += -DDOWNLINK -DDOWNLINK_TRANSPORT=PprzTransport -DDOWNLINK_DEVICE=Uart0
example_gps.srcs += downlink.c pprz_transport.c
example_gps.CFLAGS += -DUSE_UART1 -DUART1_BAUD=B38400
example_gps.CFLAGS += -DGPS -DUBX -DGPS_LINK=Uart0 -DDOWNLINK_GPS_DEVICE=Uart0 -DGPS_BAUD=38400
example_gps.srcs += gps_ubx.c gps.c latlong.c
</makefile>
</airframe>