aboutsummaryrefslogtreecommitdiff
path: root/makefiles
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2014-01-04 17:05:19 +0100
committerLorenz Meier <lm@inf.ethz.ch>2014-01-04 17:05:19 +0100
commit05649eb09c0ad26e64d42471bf091dc7ee6ce5fb (patch)
tree042c74afc4760d69877e3aa313528352ffdd1fa3 /makefiles
parent7fa36a22d730ee9fbcd5ce8ecd61ae6e415b595e (diff)
downloadpx4-firmware-05649eb09c0ad26e64d42471bf091dc7ee6ce5fb.tar.gz
px4-firmware-05649eb09c0ad26e64d42471bf091dc7ee6ce5fb.tar.bz2
px4-firmware-05649eb09c0ad26e64d42471bf091dc7ee6ce5fb.zip
Create test config for FMUv1
Diffstat (limited to 'makefiles')
-rw-r--r--makefiles/config_px4fmu-v1_test.mk48
1 files changed, 48 insertions, 0 deletions
diff --git a/makefiles/config_px4fmu-v1_test.mk b/makefiles/config_px4fmu-v1_test.mk
new file mode 100644
index 000000000..41e8b95ff
--- /dev/null
+++ b/makefiles/config_px4fmu-v1_test.mk
@@ -0,0 +1,48 @@
+#
+# Makefile for the px4fmu_default configuration
+#
+
+#
+# Use the configuration's ROMFS.
+#
+ROMFS_ROOT = $(PX4_BASE)/ROMFS/px4fmu_test
+ROMFS_OPTIONAL_FILES = $(PX4_BASE)/Images/px4io-v1_default.bin
+
+#
+# Board support modules
+#
+MODULES += drivers/device
+MODULES += drivers/stm32
+MODULES += drivers/stm32/adc
+MODULES += drivers/stm32/tone_alarm
+MODULES += drivers/led
+MODULES += drivers/boards/px4fmu-v1
+MODULES += drivers/px4io
+MODULES += systemcmds/perf
+MODULES += systemcmds/reboot
+MODULES += systemcmds/tests
+MODULES += systemcmds/nshterm
+
+#
+# Library modules
+#
+MODULES += modules/systemlib
+MODULES += modules/systemlib/mixer
+MODULES += modules/uORB
+
+#
+# Transitional support - add commands from the NuttX export archive.
+#
+# In general, these should move to modules over time.
+#
+# Each entry here is <command>.<priority>.<stacksize>.<entrypoint> but we use a helper macro
+# to make the table a bit more readable.
+#
+define _B
+ $(strip $1).$(or $(strip $2),SCHED_PRIORITY_DEFAULT).$(or $(strip $3),CONFIG_PTHREAD_STACK_DEFAULT).$(strip $4)
+endef
+
+# command priority stack entrypoint
+BUILTIN_COMMANDS := \
+ $(call _B, sercon, , 2048, sercon_main ) \
+ $(call _B, serdis, , 2048, serdis_main )