aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpx4dev <px4@purgatory.org>2013-04-04 23:17:21 -0700
committerpx4dev <px4@purgatory.org>2013-04-04 23:17:21 -0700
commit976f1334efbb1218a0cd5af6e9f1d344b067eb13 (patch)
tree85cfb02cddd924f8341ce6390e7c1a7738c3dfd2
parentf243f6ef66cb17882a0ee8645a8a7c639272c753 (diff)
downloadpx4-firmware-976f1334efbb1218a0cd5af6e9f1d344b067eb13.tar.gz
px4-firmware-976f1334efbb1218a0cd5af6e9f1d344b067eb13.tar.bz2
px4-firmware-976f1334efbb1218a0cd5af6e9f1d344b067eb13.zip
More config for fmuv2
-rw-r--r--Makefile7
-rw-r--r--makefiles/board_px4fmu.mk2
-rw-r--r--makefiles/board_px4fmuv2.mk10
-rw-r--r--makefiles/board_px4io.mk2
4 files changed, 15 insertions, 6 deletions
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=<list-of-configs>"
+ @echo " A limited set of configs can be built with CONFIGS=<list-of-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
#
#