aboutsummaryrefslogtreecommitdiff
path: root/makefiles
diff options
context:
space:
mode:
authorDavid Sidrane <david_s5@nscdg.com>2015-03-25 11:24:43 -1000
committerDavid Sidrane <david_s5@nscdg.com>2015-04-22 02:30:13 -1000
commit55b49aa8f66c980137e82009ff9b254e549237e3 (patch)
tree05f7241b28693fc34b5a6932c97ebfe8b5cec95e /makefiles
parent2b7ea2d21b91d58cfd11080a7b83196350a29ae2 (diff)
downloadpx4-firmware-55b49aa8f66c980137e82009ff9b254e549237e3.tar.gz
px4-firmware-55b49aa8f66c980137e82009ff9b254e549237e3.tar.bz2
px4-firmware-55b49aa8f66c980137e82009ff9b254e549237e3.zip
Builds and runs - needs testing
Diffstat (limited to 'makefiles')
-rw-r--r--makefiles/config_px4cannode-v1_default.mk26
1 files changed, 25 insertions, 1 deletions
diff --git a/makefiles/config_px4cannode-v1_default.mk b/makefiles/config_px4cannode-v1_default.mk
index 913b6eb53..de3902877 100644
--- a/makefiles/config_px4cannode-v1_default.mk
+++ b/makefiles/config_px4cannode-v1_default.mk
@@ -16,22 +16,46 @@ MODULES += drivers/boards/px4cannode-v1
MODULES += systemcmds/reboot
MODULES += systemcmds/top
MODULES += systemcmds/config
-MODULES += systemcmds/nshterm
MODULES += systemcmds/ver
#
+# General system control
+#
+MODULES += modules/uavcannode
+
+#
# Library modules
#
MODULES += modules/systemlib
+
#
# Unit tests
#
#MODULES += modules/unit_test
#MODULES += modules/commander/commander_tests
+# Generate parameter XML file
+GEN_PARAM_XML = 1
+
+
#
# Demo apps
#
+#
+# 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
+
+BUILTIN_COMMANDS := \
+ $(call _B, null, , 60, null_main)
+