<airframe name="Examples">

  <makefile>

ARCHI=arm7

FLASH_MODE = IAP



#
# USE_GPS :
#
#
example_gps.ARCHDIR = $(ARCHI)

example_gps.CFLAGS += -DBOARD_CONFIG=\"conf_demo.h\"
example_gps.srcs = example/example_gps.c

example_gps.CFLAGS += -DPERIODIC_TASK_PERIOD='CPU_TICKS_OF_SEC(10e-2)'
example_gps.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c

example_gps.CFLAGS += -DUSE_LED

example_gps.srcs += $(SRC_ARCH)/armVIC.c

example_gps.CFLAGS += -DUSE_UART0 -DUART0_BAUD=B38400
example_gps.srcs += $(SRC_ARCH)/mcu_periph/uart_arch.c

example_gps.CFLAGS += -DDOWNLINK -DDOWNLINK_TRANSPORT=PprzTransport -DDOWNLINK_DEVICE=Uart0
example_gps.srcs += subsystems/datalink/downlink.c subsystems/datalink/pprz_transport.c

example_gps.CFLAGS += -DUSE_UART1 -DUART1_BAUD=B38400
example_gps.CFLAGS += -DUSE_GPS -DUBX -DGPS_LINK=Uart0 -DDOWNLINK_GPS_DEVICE=Uart0 -DGPS_BAUD=38400
example_gps.srcs += gps_ubx.c gps.c latlong.c


  </makefile>

</airframe>
