1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 16:55:36 +03:00
betaflight/top_makefile
Michael Jakob 7634e4c635 AlienFligth F3 V2 support
Updated SPI driver (SPI3 on F3 targets)
AK8963 Mag support (part of MPU9250)
MPU9250 SPI support via MPU6500 driver
Updated LED driver for alternative LED sets
Enable gyro intterupt for AlienFlight F3 targets
Update AlienWii/AlienFlight documentation
Rename AlienWii to AlienFlight
2016-02-02 23:31:55 +01:00

72 lines
2.2 KiB
Text

ALL_TARGETS := naze
ALL_TARGETS += cc3d
ALL_TARGETS += cc3d_opbl
ALL_TARGETS += nazepro
ALL_TARGETS += olimexino
ALL_TARGETS += stm32f3discovery
ALL_TARGETS += chebuzzf3
#ALL_TARGETS += cjmcu
ALL_TARGETS += eustm32f103rc
ALL_TARGETS += spracingf3
ALL_TARGETS += port103r
ALL_TARGETS += sparky
ALL_TARGETS += alienwiif1
ALL_TARGETS += alienwiif3
ALL_TARGETS += colibri_race
ALL_TARGETS += lux_race
ALL_TARGETS += motolab
ALL_TARGETS += rmdo
ALL_TARGETS += ircfusionf3
CLEAN_TARGETS := $(addprefix clean_, $(ALL_TARGETS))
clean_naze naze : opts := TARGET=NAZE
clean_cc3d cc3d: opts := TARGET=CC3D
clean_cc3d_opbl cc3d_opbl : opts := TARGET=CC3D_OPBL
clean_nazepro nazepro : opts := TARGET=NAZE32PRO
clean_olimexino olimexino : opts := TARGET=OLIMEXINO
clean_stm32f3discovery stm32f3discovery : opts := TARGET=STM32F3DISCOVERY
clean_chebuzzf3 chebuzzf3 : opts := TARGET=CHEBUZZF3
clean_cjmcu cjmcu : opts := TARGET=CJMCU
clean_eustm32f103rc eustm32f103rc : opts := TARGET=EUSTM32F103RC
clean_spracingf3 spracingf3 : opts := TARGET=SPRACINGF3
clean_port103r port103r : opts := TARGET=PORT103R
clean_sparky sparky : opts := TARGET=SPARKY
clean_alienwiif1 alienwiif1 : opts := TARGET=ALIENFLIGHTF1
clean_alienwiif3 alienwiif3 : opts := TARGET=ALIENFLIGHTF3
clean_colibri_race colibri_race : opts := TARGET=COLIBRI_RACE
clean_lux_race lux_race : opts := TARGET=LUX_RACE
clean_motolab motolab : opts := TARGET=MOTOLAB
clean_rmdo rmdo : opts := TARGET=RMDO
clean_ircfusionf3 ircfusionf3 : opts := TARGET=IRCFUSIONF3
.PHONY: all clean
all: everything
clean: clean_everything
.PHONY: clean_everything
clean_everything: $(CLEAN_TARGETS)
.PHONY: everything
everything: $(ALL_TARGETS)
.PHONY:$(ALL_TARGETS)
$(ALL_TARGETS):
make -f Makefile $(opts)
.PHONY: $(CLEAN_TARGETS)
$(CLEAN_TARGETS):
make -f Makefile clean $(opts)
.PHONY: help
help:
@echo "This is your new top makefile. synopsis: make <target>" .
@echo "Valid targets":
@echo "all"
@echo "clean"
@echo "$(ALL_TARGETS)"
@echo "$(CLEAN_TARGETS)"