Support for os abstraction.

This commit is contained in:
James Goppert
2015-09-07 23:58:31 -04:00
parent 1d6b31d196
commit 29520c0834
5 changed files with 156 additions and 78 deletions
+1 -1
View File
@@ -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()
+3 -4
View File
@@ -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(