Skip to content
Snippets Groups Projects
Commit 71b2306a authored by Holger Steinhaus's avatar Holger Steinhaus Committed by Andrew Tridgell
Browse files

PX4: enabled support for UAVCAN

parent 57d2fc1d
No related branches found
No related tags found
No related merge requests found
...@@ -345,6 +345,13 @@ else ...@@ -345,6 +345,13 @@ else
sh /etc/init.d/rc.error sh /etc/init.d/rc.error
fi fi
if uavcan start 1
then
echo "started uavcan OK"
else
echo "failed to start uavcan"
fi
if mtd readtest /fs/mtd if mtd readtest /fs/mtd
then then
echo "mtd readtest OK" echo "mtd readtest OK"
......
...@@ -74,6 +74,10 @@ MODULES += modules/libtomcrypt ...@@ -74,6 +74,10 @@ MODULES += modules/libtomcrypt
endif endif
MODULES += lib/conversion MODULES += lib/conversion
MODULES += modules/uavcan
MODULES += lib/mathlib
LIBRARIES += lib/mathlib/CMSIS
# #
# Transitional support - add commands from the NuttX export archive. # Transitional support - add commands from the NuttX export archive.
# #
......
...@@ -31,6 +31,7 @@ PX4_GIT_VERSION := $(shell cd $(PX4_ROOT) && git rev-parse HEAD | cut -c1-8) ...@@ -31,6 +31,7 @@ PX4_GIT_VERSION := $(shell cd $(PX4_ROOT) && git rev-parse HEAD | cut -c1-8)
EXTRAFLAGS += -DNUTTX_GIT_VERSION="\"$(NUTTX_GIT_VERSION)\"" EXTRAFLAGS += -DNUTTX_GIT_VERSION="\"$(NUTTX_GIT_VERSION)\""
EXTRAFLAGS += -DPX4_GIT_VERSION="\"$(PX4_GIT_VERSION)\"" EXTRAFLAGS += -DPX4_GIT_VERSION="\"$(PX4_GIT_VERSION)\""
EXTRAFLAGS += -DUAVCAN=1
# we have different config files for V1 and V2 # we have different config files for V1 and V2
PX4_V1_CONFIG_FILE=$(MK_DIR)/PX4/config_px4fmu-v1_APM.mk PX4_V1_CONFIG_FILE=$(MK_DIR)/PX4/config_px4fmu-v1_APM.mk
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment