Matthias Grob
cbd230e34e
Testing: Clean up unit_test target because test_results does all tests now
6 years ago
Matthias Grob
5a90382cb8
sitl_tests: add prefix "sitl-" for regex test filtering
6 years ago
Matthias Grob
5020dfdc3d
Testing: switch unit tests to BUILD_TESTING
6 years ago
Matthias Grob
f5f95635b4
gtest: fix poisoned exit in compile flags
...
visibility.h is included globally in PX4 via cmake compile flags.
It contains poisoning the exit() command which is used by gtest
to close the test application. Removing the flag for gtest compilation
fixes the compile error:
gtest.cc:4757:7: error: attempt to use poisoned "exit"
6 years ago
Matthias Grob
8eb0d66279
gtest: download specific version
6 years ago
Matthias Grob
0ff64bf101
Improve ctest unit test naming and filtering
6 years ago
Matthias Grob
63b967f5df
Add unit testing possibility using googletest on POSIX
6 years ago
Daniel Agar
b35d048566
cmake enable -Wcast-align and disable per module
6 years ago
Daniel Agar
f3533d31f8
mavlink update to latest and enable address-of-packed-member warning
6 years ago
Daniel Agar
2217faf812
mathlib Limits constexpr helpers don't use references ( #11411 )
...
- fixes #11408
- cleanup Limits.hpp
6 years ago
Daniel Agar
40e42a677b
NuttX cmake support optional compressed defconfigs
6 years ago
Daniel Agar
320d2e9383
create PX4 platform layer initialization helper ( #11269 )
...
- starts requirements for PX4 modules (hrt, param, etc)
6 years ago
Kārlis Seņko
d1a1a1b9fe
Use correct path when looking up df wrapper.
6 years ago
Daniel Agar
1efad64f0c
bebop move flow driver to board directory
6 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
fa0fe4cac6
cmake remove need for platform px4_add_board_os
...
- explicitly set TOOLCHAIN on all NuttX targets
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
CUAVcaijie
eb8a3de987
add rgbled_ncp5623c driver ( #10889 )
...
Co-Authored-By: CUAVcaijie <caijie@cuav.net>
6 years ago
Mara Bos
3c660acca8
Add unit test for dynamically loading modules on posix.
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
Daniel Agar
e3388ec1d6
px4fmu-v2_default disable pwm_input
6 years ago
Daniel Agar
1376e9a39e
px4fmu-v2_default disable ms5525
6 years ago
Beat Küng
dc62454f0a
px4fmu-v2_default: disable sf1xx distance sensor
...
Due to limited flash space
6 years ago
Beat Küng
db7cbf1770
aerofc, crazyflie, omnibus: remove vtol module
6 years ago
Daniele Pettenuzzo
d2e2b5e8ce
add pmw3901 optical flow support for fmu-v5 ( #10750 )
6 years ago
Daniel Agar
86683944f8
px4fmu-v2_default disable lis3mdl
6 years ago
Mark Sauder
ad8539bd15
Deprecate the tap_common directory, nuttx, driver, and makefile references to tap-v1. ( #10629 )
6 years ago
Daniel Agar
f74b96e918
AV-X DSM RC fixes (disable single wire)
6 years ago
Beat Küng
02d89575b0
px4fmu-v2: disable camera_trigger
...
due to limited flash space.
6 years ago
Lukas Woodtli
587c2e2477
Improve the use of ubsan in SITL pipeline
...
Also some general minor sanitizer improvements.
6 years ago
Daniel Agar
9d2ff820bf
px4fmu-v2 disable sdp3x to save flash ( #10600 )
...
- fixes #10599
6 years ago
Beat Küng
a1f0f88b33
posix_ocpoc_cross.cmake: fix ulanding module
...
module list is now the same as posix_ocpoc_ubuntu.cmake
6 years ago
Beat Küng
dae292631c
Tools/serial: use per-module serial port config params, instead of per-port
6 years ago
Beat Küng
c237221a81
cmake: add serial param & ROMFS generation to the build system
...
- only a few configs done yet
6 years ago
Beat Küng
0ebf821db4
cmake configs: minor cleanup for hott telemetry
...
it got moved to drivers/telemetry/hott
6 years ago
Beat Küng
b93d02aee7
Revert "omnibus: (temporarily) disable the topic listener"
...
This reverts commit 370fddc115
.
Because the topic_listener got smaller.
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
Beat Küng
370fddc115
omnibus: (temporarily) disable the topic listener
...
To reduce flash usage, until we can disable the FW & VTOL modules.
6 years ago
Daniel Agar
72489e27b3
px4fmu-v2 disable SRF02 ultra sonic range finder
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
Beat Küng
84c6b5ac6b
fmu-v2: add bootloader binary and SYS_BL_UPDATE param for BL updates
...
This allows a simple-to-use bootloader update mechanism to switch from
fmu-v2 to fmu-v3 target that has more flash.
6 years ago
mcsauder
e7666aa5d8
Added an imu heater driver, formatted whitespace, standardized comments, and added doxy documentation.
7 years ago
Beat Küng
e5a7945ad2
cmake configs: remove posix_sitl_ekf2.cmake
...
Not needed anymore, use PX4_ESTIMATOR.
7 years ago
Daniel Agar
8fbeb6f717
cmake px4_add_git_submodule set USES_TERMINAL
...
- this allows interacting with the submodules check
7 years ago