mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 02:43:33 +08:00
Added nuttx sim config.
This commit is contained in:
@@ -9,7 +9,6 @@ nuttx_px4fmu-v2_simple:
|
|||||||
px4fmu-v2_simple: nuttx_px4fmu-v2_simple
|
px4fmu-v2_simple: nuttx_px4fmu-v2_simple
|
||||||
|
|
||||||
nuttx_sim_simple:
|
nuttx_sim_simple:
|
||||||
echo "nuttx-sim-simple is a work in progress"
|
|
||||||
mkdir -p $d/build_$@ && cd $d/build_$@ && \
|
mkdir -p $d/build_$@ && cd $d/build_$@ && \
|
||||||
cmake .. -DCMAKE_TOOLCHAIN_FILE=../cmake/toolchains/Toolchain-native.cmake \
|
cmake .. -DCMAKE_TOOLCHAIN_FILE=../cmake/toolchains/Toolchain-native.cmake \
|
||||||
-DOS=nuttx -DBOARD=sim -DLABEL=simple && \
|
-DOS=nuttx -DBOARD=sim -DLABEL=simple && \
|
||||||
|
|||||||
@@ -0,0 +1,23 @@
|
|||||||
|
include(nuttx/px4_impl_nuttx)
|
||||||
|
|
||||||
|
message(WARNING "this is a work in progress and doesn't build yet")
|
||||||
|
|
||||||
|
function(px4_set_config_modules out_module_list)
|
||||||
|
|
||||||
|
set(config_module_list
|
||||||
|
platforms/nuttx
|
||||||
|
platforms/nuttx/px4_layer
|
||||||
|
platforms/common
|
||||||
|
drivers/led
|
||||||
|
drivers/device
|
||||||
|
modules/systemlib
|
||||||
|
modules/uORB
|
||||||
|
examples/px4_simple_app
|
||||||
|
lib/mathlib/math/filter
|
||||||
|
lib/conversion
|
||||||
|
)
|
||||||
|
|
||||||
|
set(${out_module_list} ${config_module_list} PARENT_SCOPE)
|
||||||
|
|
||||||
|
endfunction()
|
||||||
|
|
||||||
Reference in New Issue
Block a user