mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-02-05 18:51:00 +08:00
type Ctrl-C two to stop the program launched from the console on ardrone2 and bebop close #1008
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
# Hey Emacs, this is a -*- makefile -*-
|
|
#
|
|
# bebop.makefile
|
|
#
|
|
# http://wiki.paparazziuav.org/wiki/Bebop
|
|
#
|
|
|
|
BOARD=bebop
|
|
BOARD_CFG=\"boards/$(BOARD).h\"
|
|
|
|
ARCH=linux
|
|
$(TARGET).ARCHDIR = $(ARCH)
|
|
# include conf/Makefile.bebop (with specific upload rules) instead of only Makefile.linux:
|
|
ap.MAKEFILE = bebop
|
|
|
|
# -----------------------------------------------------------------------
|
|
USER=foobar
|
|
HOST?=192.168.42.1
|
|
SUB_DIR=paparazzi
|
|
FTP_DIR=/data/ftp
|
|
TARGET_DIR=$(FTP_DIR)/$(SUB_DIR)
|
|
# -----------------------------------------------------------------------
|
|
|
|
# The datalink default uses UDP
|
|
MODEM_HOST ?= \"192.168.42.255\"
|
|
|
|
# The GPS sensor is connected internally
|
|
GPS_PORT ?= UART1
|
|
GPS_BAUD ?= B230400
|
|
$(TARGET).CFLAGS += -DUART1_DEV=\"/dev/ttyPA1\"
|
|
|
|
# handle linux signals by hand
|
|
$(TARGET).CFLAGS += -DUSE_LINUX_SIGNAL
|
|
|
|
# -----------------------------------------------------------------------
|
|
|
|
# default LED configuration
|
|
RADIO_CONTROL_LED ?= none
|
|
BARO_LED ?= none
|
|
AHRS_ALIGNER_LED ?= 1
|
|
GPS_LED ?= none
|
|
SYS_TIME_LED ?= 0
|