Daniel Agar
246b879aea
require MODULE_NAME
6 years ago
Lukas Woodtli
587c2e2477
Improve the use of ubsan in SITL pipeline
...
Also some general minor sanitizer improvements.
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
18a0b39968
sanitizers cleanup ( #10551 )
...
- add to AddressSanitizer and UndefinedBehaviorSanitizer to CMAKE_BUILD_TYPE options
- handle environment variable helpers outside of CMake
- add -O1 optimization
- cleanup whitespace
6 years ago
Daniel Agar
036734eb76
cmake git submodules handle all paths consistently
...
- relative to the PX4 source directory root
6 years ago
Lukas Woodtli
c1a58bda17
Add address sanitizer to SITL pipeline
...
- Environment variables for building with asan
- Docker argument for leak sanitizer
- Regex for tests to fail on sanitizer error
Signed-off-by: Lukas Woodtli <woodtli.lukas@gmail.com>
6 years ago
Daniel Agar
8fbeb6f717
cmake px4_add_git_submodule set USES_TERMINAL
...
- this allows interacting with the submodules check
7 years ago
Daniel Agar
f7a20acba6
[WIP] Jenkins code coverage updates
7 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
1481015675
ROMFS cmake update dependency handling
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
5de5d6ea49
Jenkins simple mission code coverage build
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
102c0ead53
cmake consolidate px4 executable builds and upload
7 years ago
Daniel Agar
9b5ae1ef7a
NuttX upgrade default compiler to GCC 7
7 years ago
Daniel Agar
f1bd94e25b
cmake add git submodule replace . in target name
7 years ago
Daniel Agar
d1a4c2dcd0
cmake handle git submodule depdencies
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
136d259876
travis-ci fix coverity scan and px4_metadata ( #8156 )
7 years ago
Daniel Agar
d83073f016
move RTPS to dedicated px4fmu-v{3,4,4pro,5}, posix, sdflight builds ( #8113 )
7 years ago
Daniel Agar
979d092628
travis-ci enable tests under address sanitizier ( #8095 )
7 years ago
Daniel Agar
651df03f76
RTPS and micro-CDR build system cleanup ( #8084 )
7 years ago
Daniel Agar
2113772443
improve nuttx verbose build
7 years ago
Daniel Agar
48f1e3ed1c
uORB generation move to msg/
7 years ago
Daniel Agar
474f216a0a
UAVCAN bootloaders split into separate repository ( #7878 )
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
61da642cc8
cmake fix airframes.xml dependency
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
beaa758605
lcov ignore src/examples ( #7341 )
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