Changes to px4fmu-v3 for upstream Nuttx

This commit is contained in:
David Sidrane
2016-12-12 13:07:07 -10:00
committed by Lorenz Meier
parent d9575964a4
commit c89c47e57e
10 changed files with 896 additions and 388 deletions
+6 -2
View File
@@ -1,5 +1,7 @@
include(nuttx/px4_impl_nuttx)
px4_nuttx_configure(HWCLASS m4 CONFIG nsh ROMFS y ROMFSROOT px4fmu_common)
set(CMAKE_TOOLCHAIN_FILE ${PX4_SOURCE_DIR}/cmake/toolchains/Toolchain-arm-none-eabi.cmake)
set(config_uavcan_num_ifaces 2)
@@ -210,11 +212,13 @@ set(config_io_extra_libs
add_custom_target(sercon)
set_target_properties(sercon PROPERTIES
PRIORITY "SCHED_PRIORITY_DEFAULT"
MAIN "sercon" STACK_MAIN "2048"
MAIN "sercon"
STACK_MAIN "2048"
COMPILE_FLAGS "-Os")
add_custom_target(serdis)
set_target_properties(serdis PROPERTIES
PRIORITY "SCHED_PRIORITY_DEFAULT"
MAIN "serdis" STACK_MAIN "2048"
MAIN "serdis"
STACK_MAIN "2048"
COMPILE_FLAGS "-Os")