mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-28 09:58:23 +08:00
matek f405 wing autopilot makefile
This commit is contained in:
@@ -0,0 +1,57 @@
|
|||||||
|
# Hey Emacs, this is a -*- makefile -*-
|
||||||
|
#
|
||||||
|
# omnibus_f4_aio.makefile
|
||||||
|
#
|
||||||
|
# https://www.openpilot.org/products/openpilot-revolution-platform/
|
||||||
|
#
|
||||||
|
|
||||||
|
BOARD=matek_f405_wing
|
||||||
|
BOARD_VERSION=v1
|
||||||
|
BOARD_CFG=\"boards/$(BOARD)_$(BOARD_VERSION).h\"
|
||||||
|
|
||||||
|
ARCH=stm32
|
||||||
|
ARCH_L=f4
|
||||||
|
HARD_FLOAT=yes
|
||||||
|
$(TARGET).ARCHDIR = $(ARCH)
|
||||||
|
$(TARGET).LDSCRIPT=$(SRC_ARCH)/openpilot_revo.ld
|
||||||
|
|
||||||
|
# -----------------------------------------------------------------------
|
||||||
|
|
||||||
|
# default flash mode is via SWD
|
||||||
|
# other possibilities: DFU, DFU-UTIL, SWD, STLINK
|
||||||
|
FLASH_MODE ?= DFU-UTIL
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#
|
||||||
|
# default LED configuration
|
||||||
|
#
|
||||||
|
RADIO_CONTROL_LED ?= none
|
||||||
|
BARO_LED ?= none
|
||||||
|
AHRS_ALIGNER_LED ?= none
|
||||||
|
GPS_LED ?=2
|
||||||
|
SYS_TIME_LED ?=1
|
||||||
|
|
||||||
|
#
|
||||||
|
# default uart configuration
|
||||||
|
#
|
||||||
|
RADIO_CONTROL_SPEKTRUM_PRIMARY_PORT ?= UART3
|
||||||
|
|
||||||
|
MODEM_PORT ?= UART6
|
||||||
|
MODEM_BAUD ?= B57600
|
||||||
|
|
||||||
|
GPS_PORT ?= UART1
|
||||||
|
GPS_BAUD ?= B38400
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#
|
||||||
|
# default actuator configuration
|
||||||
|
#
|
||||||
|
# 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_pwm
|
||||||
Reference in New Issue
Block a user