2015-09-10 19:00:20 -03:00
|
|
|
include(posix/px4_impl_posix-arm)
|
|
|
|
|
2015-09-10 23:52:23 -03:00
|
|
|
set(USE_TOOLCHAIN Toolchain-arm-linux-gnueabihf)
|
|
|
|
|
2015-09-10 23:01:51 -03:00
|
|
|
function(px4_get_config)
|
|
|
|
|
|
|
|
px4_parse_function_args(
|
|
|
|
NAME px4_set_config_modules
|
2015-09-10 23:38:22 -03:00
|
|
|
ONE_VALUE OUT_MODULES
|
|
|
|
REQUIRED OUT_MODULES
|
2015-09-10 23:01:51 -03:00
|
|
|
ARGN ${ARGN})
|
2015-09-10 19:00:20 -03:00
|
|
|
|
|
|
|
set(config_module_list
|
|
|
|
drivers/device
|
|
|
|
|
|
|
|
modules/uORB
|
|
|
|
|
|
|
|
platforms/posix/px4_layer
|
|
|
|
platforms/posix/work_queue
|
|
|
|
|
|
|
|
modules/muorb/krait
|
|
|
|
)
|
|
|
|
|
2015-09-10 23:38:22 -03:00
|
|
|
set(${OUT_MODULES} ${config_module_list} PARENT_SCOPE)
|
2015-09-10 19:00:20 -03:00
|
|
|
|
|
|
|
endfunction()
|
|
|
|
|