Matthias Grob
d60e1e2774
ControlMath: switch to gtest for unit tessting
5 years ago
Julian Oes
f9ddbd7e2a
mpu6000: remove factory test for fmu-v2
5 years ago
Daniel Agar
ed6c7cc806
cmake remove unused/broken _no_optimization_for_target
5 years ago
Daniel Agar
251831f7af
cmake px4_add_library remove unused PX4_LIBRARIES property
5 years ago
Daniel Agar
dc46b6a749
cmake px4_add_module MAIN is always present (required)
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
f2189dd045
CMakeLists.txt extract top level helpers (ccache, doxygen, metadata, etc)
5 years ago
Tanja Baumann
f3c5ca6015
Collision Prevention: support multiple sensors and frames ( #12883 )
...
* build internal sensor map
* Extend testing coverage
* Update matrix library
6 years ago
Daniel Agar
78ef8aab2d
STACK_MAIN increase default 1024 -> 2048
6 years ago
Beat Küng
f8e0441e7b
src/platforms/common: move to platforms/common
...
Script to update include paths:
for i in $(grep -rl 'include <px4_work_queue' src platforms); do sed -i 's/#include <px4_work_queue/#include <px4_platform_common\/px4_work_queue/' $i; done
6 years ago
Beat Küng
5d0e72040c
src/platforms/posix: move to platforms/posix/src/px4/common and src/drivers/driver_framework_wrapper
6 years ago
Beat Küng
f3fccf53f6
src/drivers/{kinetis,stm32}: move to arch-specific directories
6 years ago
Beat Küng
ab43a83bed
platform: restructure (NuttX) architecture-specific code
...
updated: tone_alarm, px4io_serial, px4_micro_hal
6 years ago
Julien Lecoeur
d41f72f092
Re-enable implicit-fallthrough warning
6 years ago
Julian Kent
ddd4181b39
Don't run each functional test in a different process
6 years ago
Julian Kent
63140f1d61
Do a single setup of uORB/Parameters instead of once every test
6 years ago
Julian Kent
d70b024ec7
GTest functional tests that include parameters and uORB messaging ( #12521 )
...
* Add kdevelop to gitignore
* Add test stubs
* Rename px4_add_gtest to px4_add_unit_gtest
* Add infrastructure to run functional tests
* Add example tests with parameters and uorb messages
* Fix memory issues in destructors in uORB manager and CDev
* Add a more real-world test of the collision prevention
6 years ago
Daniel Agar
bf0eaf4d54
bloaty fix master comparison
...
- jenkins add new sections and segments output
6 years ago
Daniel Agar
030508a71d
cmake make bloaty available everywhere and improve output
6 years ago
Daniel Agar
1d5684823d
disable -fassociative-math (within -funsafe-math-optimizations)
6 years ago
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