mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-02-05 18:51:00 +08:00
* [chibios] Add STM32H7 * [chibios] Update to latest version * [chibios] Cleanup board configuration * [chibios] Cleanup peripheral drivers * [chibios] Fix bootloader interrupt vector done inside ChibiOS * [sdlogger] Enable RTC by default * [chibios] Fix DMA buffers SPI/I2C * [formatting] Fix formatting/styling of files * [chibios] Change PWM configuration (small fixes i2c and makefile) * [chibios] Generic board files * [boards] Fix apogee board * [conf] Cleanup airframes and remove Navstik board
50 lines
1.2 KiB
Makefile
50 lines
1.2 KiB
Makefile
# Hey Emacs, this is a -*- makefile -*-
|
|
#
|
|
# Lisa_MX_2.1_chibios.makefile
|
|
#
|
|
#
|
|
|
|
BOARD=lisa_mx
|
|
BOARD_VERSION=2.1
|
|
BOARD_DIR=$(BOARD)/chibios/v$(BOARD_VERSION)
|
|
BOARD_CFG=\"boards/$(BOARD_DIR)/board.h\"
|
|
|
|
ARCH=chibios
|
|
$(TARGET).ARCHDIR = $(ARCH)
|
|
|
|
RTOS=chibios
|
|
|
|
## FPU on F4
|
|
USE_FPU=hard
|
|
|
|
# See list of supported Tier 3 architectures at: https://forge.rust-lang.org/platform-support.html
|
|
RUST_ARCH = thumbv7em-none-eabihf
|
|
|
|
$(TARGET).CFLAGS += -DPPRZLINK_ENABLE_FD
|
|
|
|
##############################################################################
|
|
# Architecture or project specific options
|
|
#
|
|
# Define project name here (target)
|
|
PROJECT = $(TARGET)
|
|
|
|
# Project specific files and paths (see Makefile.chibios for details)
|
|
CHIBIOS_BOARD_PLATFORM = STM32F4xx/platform.mk
|
|
CHIBIOS_BOARD_LINKER = STM32F407xG.ld
|
|
CHIBIOS_BOARD_STARTUP = startup_stm32f4xx.mk
|
|
|
|
# bootloader for Lisa MX is available from https://github.com/podhrmic/aggieair-bootloader
|
|
HAS_LUFTBOOT ?= 0
|
|
ifeq (,$(findstring $(HAS_LUFTBOOT),0 FALSE))
|
|
$(TARGET).CFLAGS+=-DLUFTBOOT
|
|
DFU_ADDR = 0x8004000
|
|
DFU_PRODUCT = Lisa/Lia
|
|
endif
|
|
|
|
##############################################################################
|
|
# Compiler settings
|
|
#
|
|
MCU = cortex-m4
|
|
|
|
include $(PAPARAZZI_SRC)/conf/boards/lisa_mx_defaults.makefile
|