From 976f1334efbb1218a0cd5af6e9f1d344b067eb13 Mon Sep 17 00:00:00 2001 From: px4dev Date: Thu, 4 Apr 2013 23:17:21 -0700 Subject: More config for fmuv2 --- Makefile | 7 +++---- makefiles/board_px4fmu.mk | 2 +- makefiles/board_px4fmuv2.mk | 10 ++++++++++ makefiles/board_px4io.mk | 2 +- 4 files changed, 15 insertions(+), 6 deletions(-) create mode 100644 makefiles/board_px4fmuv2.mk diff --git a/Makefile b/Makefile index d0ffeb740..e87513e78 100644 --- a/Makefile +++ b/Makefile @@ -42,7 +42,8 @@ include $(PX4_BASE)makefiles/setup.mk # # Canned firmware configurations that we build. # -CONFIGS ?= px4fmu_default px4io_default +CONFIGS ?= $(subst config_,,$(basename $(notdir $(wildcard $(PX4_MK_DIR)config_*.mk)))) +#CONFIGS ?= px4fmu_default px4io_default # # Boards that we build NuttX export kits for. @@ -162,9 +163,7 @@ help: @echo "" @echo " all" @echo " Build all firmware configs: $(CONFIGS)" - @echo " A limited set of configs can be built with:" - @echo "" - @echo " CONFIGS=" + @echo " A limited set of configs can be built with CONFIGS=" @echo "" @for config in $(CONFIGS); do \ echo " $$config"; \ diff --git a/makefiles/board_px4fmu.mk b/makefiles/board_px4fmu.mk index 959e4ed26..837069644 100644 --- a/makefiles/board_px4fmu.mk +++ b/makefiles/board_px4fmu.mk @@ -1,5 +1,5 @@ # -# Platform-specific definitions for the PX4FMU +# Board-specific definitions for the PX4FMU # # diff --git a/makefiles/board_px4fmuv2.mk b/makefiles/board_px4fmuv2.mk new file mode 100644 index 000000000..4b3b7e585 --- /dev/null +++ b/makefiles/board_px4fmuv2.mk @@ -0,0 +1,10 @@ +# +# Board-specific definitions for the PX4FMUv2 +# + +# +# Configure the toolchain +# +CONFIG_ARCH = CORTEXM4F + +include $(PX4_MK_DIR)/toolchain_gnu-arm-eabi.mk diff --git a/makefiles/board_px4io.mk b/makefiles/board_px4io.mk index 275014aba..b0eb2dae7 100644 --- a/makefiles/board_px4io.mk +++ b/makefiles/board_px4io.mk @@ -1,5 +1,5 @@ # -# Platform-specific definitions for the PX4IO +# Board-specific definitions for the PX4IO # # -- cgit v1.2.3