Files
paparazzi/conf/boards/stm32f4_discovery.makefile
T
2014-07-27 00:58:33 +02:00

56 lines
1.0 KiB
Makefile

# Hey Emacs, this is a -*- makefile -*-
#
# stm32f4_discovery.makefile
#
#
BOARD=stm32f4_discovery
BOARD_VERSION=
BOARD_CFG=\"boards/$(BOARD).h\"
ARCH=stm32
ARCH_L=f4
ARCH_DIR=stm32
SRC_ARCH=arch/$(ARCH_DIR)
$(TARGET).ARCHDIR = $(ARCH)
$(TARGET).LDSCRIPT=$(SRC_ARCH)/stm32f4_discovery.ld
HARD_FLOAT=yes
# default flash mode is via usb dfu bootloader
# possibilities: STLINK, DFU-UTIL, SWD, JTAG_BMP
FLASH_MODE ?= STLINK
#
# default LED configuration
#
RADIO_CONTROL_LED ?= 4
BARO_LED ?= none
AHRS_ALIGNER_LED ?= 5
GPS_LED ?= 6
SYS_TIME_LED ?= 3
#
# default UART configuration (modem, gps, spektrum)
#
MODEM_PORT ?= UART6
MODEM_BAUD ?= B57600
GPS_PORT ?= UART3
GPS_BAUD ?= B38400
RADIO_CONTROL_SPEKTRUM_PRIMARY_PORT ?= UART1
#
# 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