mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-09 22:49:53 +08:00
50 lines
910 B
Makefile
50 lines
910 B
Makefile
#
|
|
# tiny_2.1.makefile
|
|
#
|
|
# http://wiki.paparazziuav.org/wiki/Tiny_v2
|
|
#
|
|
|
|
ARCH=lpc21
|
|
|
|
BOARD=tiny
|
|
BOARD_VERSION=2.1
|
|
|
|
BOARD_CFG=\"boards/$(BOARD)_$(BOARD_VERSION).h\"
|
|
|
|
# default flash mode is via usb bootloader
|
|
FLASH_MODE ?= IAP
|
|
|
|
|
|
LPC21ISP_BAUD = 38400
|
|
LPC21ISP_XTAL = 12000
|
|
|
|
#
|
|
# default LED configuration
|
|
#
|
|
RADIO_CONTROL_LED ?= none
|
|
BARO_LED ?= none
|
|
AHRS_ALIGNER_LED ?= none
|
|
GPS_LED ?= 2
|
|
SYS_TIME_LED ?= none
|
|
|
|
|
|
#
|
|
# default uart settings
|
|
#
|
|
MODEM_PORT ?= UART1
|
|
MODEM_BAUD ?= B57600
|
|
|
|
GPS_PORT ?= UART0
|
|
GPS_BAUD ?= B38400
|
|
|
|
#
|
|
# you can use different actuators by adding a configure option to your firmware section
|
|
# e.g. <configure name="ACTUATORS" value="actuators_ppm/>
|
|
# and by setting the correct "driver" attribute in servo section
|
|
# e.g. <servo driver="Ppm">
|
|
#
|
|
ACTUATORS ?= actuators_4017
|
|
|
|
# All targets on the TINY board run on the same processor achitecture
|
|
$(TARGET).ARCHDIR = $(ARCH)
|