Skip to content
Snippets Groups Projects
Commit 75b20532 authored by Daniel Agar's avatar Daniel Agar
Browse files

move uavcan from modules to drivers

parent bbab66d9
No related branches found
No related tags found
No related merge requests found
Showing
with 3 additions and 5 deletions
File moved
File moved
......@@ -42,5 +42,3 @@ px4_add_module(
PRIORITY "SCHED_PRIORITY_DEFAULT-30"
DEPENDS
)
#
......@@ -31,7 +31,9 @@
#
############################################################################
px4_add_git_submodule(TARGET git_uavcan PATH "../uavcan/libuavcan")
set(LIBUAVCAN_DIR ${PX4_SOURCE_DIR}/src/drivers/uavcan/libuavcan)
px4_add_git_submodule(TARGET git_uavcan PATH ${LIBUAVCAN_DIR})
set(UAVCAN_USE_CPP03 ON CACHE BOOL "uavcan cpp03")
set(UAVCAN_PLATFORM stm32 CACHE STRING "uavcan platform")
......@@ -50,8 +52,6 @@ add_definitions(
-DUAVCAN_USE_EXTERNAL_SNPRINT
)
set(LIBUAVCAN_DIR ${PX4_SOURCE_DIR}/src/modules/uavcan/libuavcan)
add_subdirectory(${LIBUAVCAN_DIR} uavcannode_libuavcan)
add_dependencies(uavcan prebuild_targets)
......
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