aboutsummaryrefslogtreecommitdiff
path: root/makefiles/config_px4cannode-v1_default.mk
diff options
context:
space:
mode:
Diffstat (limited to 'makefiles/config_px4cannode-v1_default.mk')
-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)
+