uORB move to PX4 platform layer

This commit is contained in:
Daniel Agar
2021-02-17 11:25:56 -05:00
committed by GitHub
parent 6bbb2faf8a
commit ab0d0fd0be
156 changed files with 261 additions and 212 deletions
@@ -32,7 +32,7 @@
############################################################################
# skip for px4_layer support on an IO board
if(NOT PX4_BOARD MATCHES "px4_io")
if(NOT PX4_BOARD MATCHES "io-v2")
add_library(px4_layer
board_crashdump.c
@@ -57,6 +57,7 @@ if(NOT PX4_BOARD MATCHES "px4_io")
nuttx_apps
nuttx_sched
px4_work_queue
uORB
)
else()
add_library(px4_layer ${PX4_SOURCE_DIR}/platforms/common/empty.c)
@@ -40,6 +40,7 @@
#include <lib/parameters/param.h>
#include <px4_platform_common/px4_work_queue/WorkQueueManager.hpp>
#include <px4_platform/cpuload.h>
#include <uORB/uORB.h>
#include <fcntl.h>
@@ -118,6 +119,10 @@ int px4_platform_init(void)
px4::WorkQueueManagerStart();
uorb_start();
px4_log_initialize();
return PX4_OK;
}