mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-06 15:38:53 +08:00
Support for os abstraction.
This commit is contained in:
+1
-1
@@ -64,7 +64,7 @@ if (${OS} STREQUAL "nuttx")
|
||||
px4_nuttx_add_firmware(OUT fw_main.px4 EXE main)
|
||||
px4_add_upload(OUT upload OS ${OS} BOARD ${BOARD} BUNDLE fw_main.px4)
|
||||
|
||||
px4_nuttx_generate_romfs(OUT romfs.img ROOT ROMFS/px4fmu_common)
|
||||
px4_generate_romfs(OUT romfs.img ROOT ROMFS/px4fmu_common)
|
||||
|
||||
endif()
|
||||
|
||||
|
||||
@@ -33,10 +33,9 @@
|
||||
set(depends
|
||||
msg_gen
|
||||
)
|
||||
if(${OS} STREQUAL "nuttx")
|
||||
list(APPEND depends
|
||||
nuttx_export
|
||||
)
|
||||
|
||||
if (prebuild_targets)
|
||||
list(APPEND depends prebuild_targets)
|
||||
endif()
|
||||
|
||||
px4_add_module(
|
||||
|
||||
Reference in New Issue
Block a user