move posix, nuttx, qurt components into platforms

This commit is contained in:
Daniel Agar
2018-01-31 17:17:07 +01:00
committed by Lorenz Meier
parent a644ed90dd
commit 2ff81393bc
115 changed files with 251 additions and 306 deletions
+1 -3
View File
@@ -165,9 +165,7 @@ function(px4_os_add_flags)
DEFINITIONS ${DEFINITIONS})
set(added_include_dirs
src/modules/systemlib
src/platforms/posix/include
mavlink/include/mavlink
platforms/posix/include
)
# This block sets added_definitions and added_cxx_flags.
+2 -2
View File
@@ -32,7 +32,7 @@ endfunction()
# sitl run targets
#
set(SITL_RUNNER_MAIN_CPP ${PX4_SOURCE_DIR}/src/platforms/posix/main.cpp)
set(SITL_RUNNER_MAIN_CPP src/main.cpp)
px4_add_sitl_app(APP_NAME px4
UPLOAD_NAME upload
MAIN_SRC ${SITL_RUNNER_MAIN_CPP}
@@ -111,7 +111,7 @@ foreach(viewer ${viewers})
set(SITL_RUNNER_MODEL_FILE ${PX4_SOURCE_DIR}/${config_sitl_rcS_dir}/${model})
set(SITL_RUNNER_WORKING_DIRECTORY ${SITL_WORKING_DIR})
configure_file(${PX4_SOURCE_DIR}/src/platforms/posix/sitl_runner_main.cpp.in sitl_runner_main_${model}.cpp @ONLY)
configure_file(src/sitl_runner_main.cpp.in sitl_runner_main_${model}.cpp @ONLY)
px4_add_sitl_app(APP_NAME px4_${model}
UPLOAD_NAME upload_${model}