mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-07 00:53:41 +08:00
fa2d6026e6
replaced CONFIG with BOARD_CONFIG removed booz_geometry_xxxx (now replaced by math/pprz_trig_int and math/pprz_algebra_xxx ) moved booz/arm7 to booz/arch/lpc21 and booz/stm32 to booz/arch/stm32
44 lines
976 B
XML
44 lines
976 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 += -DBOARD_CONFIG=\"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>
|