Daniel Agar
ea79bd733d
cmake add a few include guards
...
- this is a minor cmake configure time optimization
5 years ago
Daniel Agar
fb7521eb5e
cmake px4_base -> px4_parse_function_args
5 years ago
Daniel Agar
d256fb8770
cmake px4_find_python_module move to standalone file
5 years ago
Daniel Agar
3e0a3559a9
cmake use standard mechanisms for settings flags
6 years ago
Daniel Agar
11be2b8873
cmake split px4_base into px4_add_module, px4_add_library, px4_add_common_flags
6 years ago
Daniel Agar
c258534aa5
cmake px4_add_board document and cleanup
6 years ago
Daniel Agar
ec4c9da253
remove BOARD_NAME from board_config.h and set automatically
6 years ago
Daniel Agar
abb3817d31
boards new split VENDOR_MODEL naming convention
6 years ago
Daniel Agar
f692ad04d0
boards organization
6 years ago
Mara Bos
d13836eb1e
Add dynamic modules on Posix.
...
You can now add `DYNAMIC` as an option to `px4_add_module`, which will
cause that module to no longer be compiled into the px4 executable, but
instead produce a separate shared library file, which can be loaded and
executed with the new `dyn` command:
pxh> dyn ./hello.px4mod start
This will load the shared object file `hello.px4mod` if it wasn't
already loaded, and execute its main function with the given arguments.
6 years ago
Daniel Agar
246b879aea
require MODULE_NAME
6 years ago
Beat Küng
dae292631c
Tools/serial: use per-module serial port config params, instead of per-port
6 years ago
Daniel Agar
ce18225710
cmake px4_add_module add unity build support
...
- a unity build is a single compilation unit per module
7 years ago
Daniel Agar
ac0988d519
travis-ci coverity properly run and submit scan
...
- the ignored warning (-Wno-missing-field-initializers) can be dropped in the future when GCC 4.8 is no longer supported
7 years ago
Daniel Agar
b1d3bb0403
stop ignoring Wmissing-field-initializers and fix ( #9912 )
7 years ago
Matthias Grob
ade70cbbdf
cmake px4_base: switch visibility.h back to relative include path ( #9981 )
7 years ago
Nuno Marques
83fd5a5fd1
Update micro-CDR to latest and fix API usage ( #9651 )
...
* uorb_microcdr: msg.cpp.template: update API for how the buffer length is obtained
* micrortps_bridge: CMakeLists: temporarily deactivate check endianness option
7 years ago
Daniel Agar
cf74166801
double promotion warning fix or ignore per module
7 years ago
Daniel Agar
ea3acb7121
cmake remove circular linking and reorganize
...
- px4_add_module now requires MAIN
- px4_add_library doesn't automatically link
7 years ago
Daniel Agar
bdf4f19867
enable -fno-math-errno as we never check errno ( #9281 )
...
- disables setting of the errno variable as required by C89/C99 on calling math library routines
7 years ago
Daniel Agar
9b5ae1ef7a
NuttX upgrade default compiler to GCC 7
7 years ago
Daniel Agar
822fc5725c
cmake px4_add_module() make properties private
7 years ago
Daniel Agar
53595bac0e
board support add px4_i2c_bus_external/px4_spi_bus_external
7 years ago
Daniel Agar
651df03f76
RTPS and micro-CDR build system cleanup ( #8084 )
7 years ago
Daniel Agar
01b3e6fd25
NuttX upgrade cmake wrapper ( #7873 )
...
* NuttX cmake
* px4_macros:Pass the stringified predicate as second arg to static assert
CC_ASSERT mapes to the c++ static_assert or provides the same
funtionality for c via the other macros. The c++ static assert
takes 2 argumants the prdicate and a message. This fixes the
lacking second argument.
* Updated nuttx and apps submodule to upstream nuttx 7.21+==master
This is the latest uptake of upstream nuttx and apps.
* ROMFS generate with xxd instead of objcopy
* delete nuttx-patches
* NuttX update submodules to latest px4_nuttx-master
* fix nuttx apps and board dependency
* docker_run update to latest container 2017-08-29
* cmake ROMFS portable sed usage
* NuttX update submodules to latest px4_nuttx-master
7 years ago
Daniel Agar
fb5cb87e9b
enable -Wlogical-op and fix bmi160
7 years ago
Daniel Agar
35e15ed540
cmake add -Wmissing-field-initializers and a few others
7 years ago
Daniel Agar
35d908b453
cmake stop ignoring sign-compare
8 years ago
Lorenz Meier
529def11e8
CMake / Clang: Increase warning level
8 years ago
Lorenz Meier
792b03628f
CMake: more clear instructions for python dependencies
8 years ago
Daniel Agar
f82e85f8ff
cmake remove -fno-math-errno and -fmerge-all-constants ( #7462 )
8 years ago
Daniel Agar
58ca307c9d
move -fno-math-errno to nuttx only
8 years ago
Daniel Agar
75a91f79ae
compiler optimizations add -fmerge-all-constants
8 years ago
Daniel Agar
aeb1fe5a55
compiler optimizations add -fno-math-errno
8 years ago
Daniel Agar
6a443765a5
cmake only include mavlink where used
8 years ago
Daniel Agar
f26cd01d16
param gen reorganize and fix DISABLE_PARAMS_MODULE_SCOPING
8 years ago
Daniel Agar
24b26e53b9
cmake organize code coverage handling and base
8 years ago
Daniel Agar
ac4a706da0
build system fixes and improvements
...
- deploy px4 metadata using target
- clang scan-build upload output to s3
- clang-tidy properly check headers
- add cppcheck helper
- force gcc color
8 years ago
Andrew C. Smith
d21b6655d2
Add the Gumstix AeroCore2 to the build system.
8 years ago
Daniel Agar
3721fb9d52
cmake cleanup nuttx dependency handling ( #7007 )
...
- closes #6501
- closes #6820
- closes #6881
8 years ago
Daniel Agar
827725fbe0
cmake remove -Weffc++ ( #7044 )
...
- closes #7040
8 years ago
James Goppert
10ebac2026
Fix build when px4 is a submodule ( #7006 )
...
* Fix build when px4 is a submodule
* Check if submodule directory exists.
* Fix submodule directory reading
8 years ago
Beat Küng
d7703173b2
Critical: Fixes Snapdragon Flight parameter synchronization problem ( #6910 )
...
* cmake: Fixes problem caused when the generated parameters.xml differs for the ARM and DSP builds.
* fix px4_getopt.h: add accidentally removed file
8 years ago
Beat Küng
941d17d74c
cmake: make sure params defined in external modules are found
8 years ago
Beat Küng
a4fc7ae95e
simplify px_process_params: remove --modules, use a list for --src-path instead
8 years ago
James Goppert
85f62f5da0
Fix param scoping to use cmake for parsing.
8 years ago
David Sidrane
c976a26156
Use wild card *_PX4_* for upload
...
Compliments the Bootloader change To simplify the ripple effect on the tools, we will be using /dev/serial/by-id/*_PX4_* to locate PX4 devices. Therefore moving forward all Bootloaders must contain the prefix "PX4 BL " in the USBDEVICESTRING
8 years ago
Daniel Agar
dcddcdd28e
cmake git ver depend on index and HEAD
8 years ago
Daniel Agar
6961a513c7
clang-tidy readability-braces-around-statements
8 years ago
mazahner
06d28b2635
Rework Includes during the uorb message generation
...
each CMakeFile that generates parameters should add its path to the msg_include_path
which will then be handled in the px_generate_uorb_topic_files.py
8 years ago