mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-15 08:13:33 +08:00
cmake organize code coverage handling and base
This commit is contained in:
@@ -50,8 +50,6 @@
|
||||
#include <unistd.h>
|
||||
#include <math.h>
|
||||
|
||||
#include <px4iofirmware/protocol.h>
|
||||
|
||||
#include "mixer.h"
|
||||
|
||||
#define debug(fmt, args...) do { } while(0)
|
||||
|
||||
@@ -52,7 +52,6 @@
|
||||
#include <math.h>
|
||||
|
||||
#include <mathlib/math/Limits.hpp>
|
||||
#include <px4iofirmware/protocol.h>
|
||||
#include <drivers/drv_pwm_output.h>
|
||||
|
||||
#include "mixer.h"
|
||||
|
||||
@@ -53,7 +53,7 @@ add_definitions(
|
||||
-DHW_VERSION_MINOR=${uavcanblid_hw_version_minor}
|
||||
)
|
||||
|
||||
px4_share_subdirectory(RELDIR ../uavcan/libuavcan ARGS EXCLUDE_FROM_ALL)
|
||||
add_subdirectory(../uavcan/libuavcan uavcanesc_libuavcan)
|
||||
add_dependencies(uavcan platforms__nuttx)
|
||||
|
||||
include_directories(../../drivers/bootloaders/include)
|
||||
@@ -71,12 +71,12 @@ px4_add_module(
|
||||
-Wno-deprecated-declarations
|
||||
-O3
|
||||
SRCS
|
||||
uavcanesc_main.cpp
|
||||
indication_controller.cpp
|
||||
led.cpp
|
||||
uavcanesc_params.c
|
||||
../systemlib/flashparams/flashparams.c
|
||||
../systemlib/flashparams/flashfs.c
|
||||
uavcanesc_main.cpp
|
||||
indication_controller.cpp
|
||||
led.cpp
|
||||
uavcanesc_params.c
|
||||
../systemlib/flashparams/flashparams.c
|
||||
../systemlib/flashparams/flashfs.c
|
||||
|
||||
DEPENDS
|
||||
platforms__common
|
||||
|
||||
@@ -53,7 +53,7 @@ add_definitions(
|
||||
-DHW_VERSION_MINOR=${uavcanblid_hw_version_minor}
|
||||
)
|
||||
|
||||
px4_share_subdirectory(RELDIR ../uavcan/libuavcan ARGS EXCLUDE_FROM_ALL)
|
||||
add_subdirectory(../uavcan/libuavcan uavcannode_libuavcan)
|
||||
add_dependencies(uavcan platforms__nuttx)
|
||||
|
||||
include_directories(../../drivers/bootloaders/include)
|
||||
@@ -72,11 +72,11 @@ px4_add_module(
|
||||
-O3
|
||||
SRCS
|
||||
uavcannode_main.cpp
|
||||
indication_controller.cpp
|
||||
sim_controller.cpp
|
||||
led.cpp
|
||||
resources.cpp
|
||||
uavcannode_params.c
|
||||
indication_controller.cpp
|
||||
sim_controller.cpp
|
||||
led.cpp
|
||||
resources.cpp
|
||||
uavcannode_params.c
|
||||
|
||||
DEPENDS
|
||||
platforms__common
|
||||
|
||||
Reference in New Issue
Block a user