mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
cmake: Fixes for qurt and nuttx
Added px4_parameters.c to nuttx executable src list. Minor syntax fix in Tools/px_generate_params.py for semicolon. Added handling of PX4_MAIN which was not yet supoprted in the cmake build. Fixed include quotes in muorb_test_example.cpp Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
@@ -82,12 +82,12 @@ src += """
|
||||
};
|
||||
|
||||
#ifdef __PX4_DARWIN
|
||||
#define ___param__attributes ;
|
||||
#define ___param__attributes
|
||||
#else
|
||||
#define ___param__attributes __attribute__((alias("px4_parameters_impl")));
|
||||
#define ___param__attributes __attribute__((alias("px4_parameters_impl")))
|
||||
#endif
|
||||
|
||||
extern const struct px4_parameters_t px4_parameters ___param__attributes
|
||||
extern const struct px4_parameters_t px4_parameters ___param__attributes;
|
||||
""" % i
|
||||
|
||||
fp_header.write(header)
|
||||
|
||||
Reference in New Issue
Block a user