mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
Added nuttx sim config.
This commit is contained in:
parent
bf18c84652
commit
323ae36d9f
1
Makefile
1
Makefile
@ -9,7 +9,6 @@ nuttx_px4fmu-v2_simple:
|
||||
px4fmu-v2_simple: nuttx_px4fmu-v2_simple
|
||||
|
||||
nuttx_sim_simple:
|
||||
echo "nuttx-sim-simple is a work in progress"
|
||||
mkdir -p $d/build_$@ && cd $d/build_$@ && \
|
||||
cmake .. -DCMAKE_TOOLCHAIN_FILE=../cmake/toolchains/Toolchain-native.cmake \
|
||||
-DOS=nuttx -DBOARD=sim -DLABEL=simple && \
|
||||
|
||||
23
cmake/configs/config_nuttx_sim_simple.cmake
Normal file
23
cmake/configs/config_nuttx_sim_simple.cmake
Normal file
@ -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()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user