Build without pio

TEMP - uses nuttx_next_cmake version long term
This commit is contained in:
David Sidrane
2015-11-13 12:45:07 -10:00
committed by Lorenz Meier
parent ece822d0e7
commit 2641ebb99b
+7 -3
View File
@@ -41,13 +41,17 @@ add_custom_target(check_weak
if(NOT ${BOARD} STREQUAL "sim")
if (config_io_board)
set(extras "${CMAKE_BINARY_DIR}/src/modules/px4iofirmware/${config_io_board}.bin")
endif()
px4_nuttx_add_romfs(OUT romfs
ROOT ROMFS/px4fmu_common
EXTRAS ${CMAKE_BINARY_DIR}/src/modules/px4iofirmware/${config_io_board}.bin
EXTRAS ${extras}
)
add_dependencies(romfs fw_io)
if (config_io_board)
add_dependencies(romfs fw_io)
endif()
set(fw_file
${CMAKE_CURRENT_BINARY_DIR}/${OS}-${BOARD}-${LABEL}.px4)