Commit Graph

452 Commits

Author SHA1 Message Date
Oleg 0c376ed518 fix sed unknown option to s'
when building with windows toolchain from eclipse
2020-07-13 10:23:44 -04:00
David Sidrane a641982ce7 Makefile:Create check_{px4,nxp,nuttx,linux} targets from .github/workflows
Apply the principles of third normal form for check targets.
   The list of check is not sourced from the yaml files in
   .github/workflows
2020-06-20 11:24:39 -04:00
Julian Oes 8d47b36f1e Makefile: fix j for clang-tidy calls 2020-06-02 13:17:37 +02:00
Julian Oes 6afdc2c376 build: use ninja default for -jN unless set
It makes sense to trust ninja on selecting the number of cores. This is
also sensible in order not to change existing setups.
2020-06-02 13:17:37 +02:00
Julian Oes 0ec9287457 build: actually pass number of cores to ninja
Without this ninja supposedely builds with the default of the system
which is 10 for my 4 core, 8 thread CPU. With this argument, you can now
actually set it.

This has the benefit that the Gazebo plugins can be built with less
cores in order to avoid running out of RAM.
2020-06-02 13:17:37 +02:00
Julian Oes 340e651d97 Build: properly read -j argument
The previous check for the -j argument was not actually working.
Therefore, the build always used 4 cores, unless when building with
ninja when presumably the ninja default was used.
2020-06-02 13:17:37 +02:00
Pedro Roque 3ea52fecd3 Added Roll Pitch Yawrate Thrust offboard test. Testing... 2020-04-30 17:43:25 -04:00
Julian Kent 50577732b7 Fix run-clang-tidy.py path 2020-03-02 13:26:03 -05:00
Daniel Agar d7c3e1066a
uavcannode updates and px4_fmu-v4_cannode example
- drivers/uavcannode add baro, mag, gps publications
 - delete old px4_cannode-v1 board
 - add stripped down simple rcS for CAN nodes
2020-02-16 12:11:54 -05:00
Daniel Agar 13a6d57703
Makefile/cmake remove legacy target naming transition helpers 2020-02-08 14:38:56 -05:00
fnoop 86eff44a5e Honour PYTHON_EXECUTABLE environment variable if set and pass to cmake #14077 2020-02-03 07:40:11 +01:00
David Sidrane 59693dc48e Adding NXP fmurt1062-v1
Add nxp_fmurt1062-v1 to CI
2020-01-29 13:54:20 -05:00
Lorenz Meier dadcee1a5d Makefile: Improve the error message if a target is not found
The previous error message was misleading. The new more verbose error indicates that either the target does not exist or the ordering is wrong.
2020-01-28 08:59:25 +01:00
Lorenz Meier d468388643 Coverage: Run lcov separate to fix paths
Without this the paths of the different compile units do not match up.
2020-01-28 08:59:25 +01:00
Lorenz Meier 0d8ac51bcc Coverage tests: Run faster
We want the coverage tests to run at the maximum speedup factor the CI machine can deliver.
2020-01-28 08:59:25 +01:00
Daniel Agar 036a45377d boards rename auav_x21 -> mro_x21 2020-01-22 15:33:02 -05:00
Daniel Agar b47eaa6061
update C++ standard (c++11 -> c++14)
- temporarily disable snapdragon builds until toolchain is updated
2020-01-21 21:49:10 -05:00
Daniel Agar 23e17aec42
atlflight/eagle: minor fixes to get it running again
- fixed df_ltc2946_wrapper battery dependency
 - fixed px4::atomic fetch_add for QuRT
 - updated PX4 QuRT SPI wrapper to set bus frequency
 - renamed "qurt-default" configs to just "qurt"
2020-01-09 18:09:06 -05:00
Lorenz Meier 093a982f49 Reduce speed factor in SITL CI tests
- With profiling enabled it is over-comitting the system.
2020-01-04 12:17:12 -05:00
Daniel Agar 1edfee4fdd mavsdk_tests: build should be independant of px4 2020-01-01 22:05:29 -05:00
Daniel Agar 30a73416dc mavsdk SITL testing code coverage and upload to codecov.io 2019-12-26 14:31:33 -05:00
Lorenz Meier 663436fd47 Integration tests: Add Makefile target
This enables unfamiliar users to run the tests quickly without having to memorize all commandsline options.
2019-12-26 10:16:58 +01:00
Julian Oes 97d7925431 mavsdk_tests: add to PX4 Makefile/CMakeLists.txt 2019-12-26 10:16:58 +01:00
Daniel Agar 0420a4386d deprecate px4 esc-v1 and drivers/uavcanesc 2019-11-30 14:55:01 -05:00
Daniel Agar 5200cae3a3 deprecate thiemar s2740vc-v1 board support 2019-11-30 14:55:01 -05:00
Daniel Agar e39e73cea1
delete auav esc35-v1 board 2019-10-31 22:34:05 -04:00
Daniel Agar 4a7a9a1ba9 Makefile: clang-tidy use unmodified run-clang-tidy 2019-10-27 19:19:07 -04:00
Martina Rivizzigno 959a35b3bd add safe_landing_planner to CI 2019-08-02 09:12:02 -04:00
David Sidrane 31dfaee76a fmuv5x board support 2019-06-26 14:34:02 -04:00
Matthias Grob 146a3866c0 Testing: hotfix to recover test coverage CI
CMAKE_TESTING should automatically be enabled
but I hoped to do that in the test.cmake
target specific options and not in the main
CMakeLists. I have to see if I can make that
order work. Here the hotfix to make CI work
again.
2019-06-14 06:54:10 -07:00
Matthias Grob cbd230e34e Testing: Clean up unit_test target because test_results does all tests now 2019-05-09 09:42:46 +02:00
Matthias Grob d8e0d641a5 Makefile: fix reconfigure check passing with prefix substring
Example: Before when you passed "make tests TESTFILTER=Attitude"
and subsequently "make tests TESTFILTER=Atti" it found the string
"TESTFILTER=Atti" in "TESTFILTER=Attitude" and hence the check if
the configuration is already correct passed. The fix checks for
the configuration parameter including the subsequent space separator
and after that strips the space away again such that the list
VERIFIED_CMAKE_OPTIONS doesn't contain trailing spaces.
2019-05-09 09:42:46 +02:00
Matthias Grob 542f61f04b testing build: add possibility to filter tests with ctest regex 2019-05-09 09:42:46 +02:00
Matthias Grob 5020dfdc3d Testing: switch unit tests to BUILD_TESTING 2019-05-09 09:42:46 +02:00
Matthias Grob 63b967f5df Add unit testing possibility using googletest on POSIX 2019-05-09 09:42:46 +02:00
David Sidrane 07e6730cd7 Add nxp_fmuk66-v3 to QGC deploy
See https://github.com/mavlink/qgroundcontrol/issues/7360
2019-05-04 09:14:35 -05:00
Daniel Agar b9516d7e38 mixer move test_mixer_multirotor into cmake 2019-04-07 16:12:17 -04:00
Anthony Lamping a3ebe5676f make: tests_avoidance add prerequisite 2019-04-05 10:46:33 -04:00
Martina Rivizzigno 09b795161e Obstacle Avoidance testing in CI (#10780) 2019-03-15 00:37:23 -04:00
Matthias Grob 20c2d66ba3 Makefile: add function to check if cmake rerun is necessary
by comparing the configuration options that cmake reports
from the cache with the ones from the current build
2019-02-26 10:45:46 -05:00
Matthias Grob e8cbfab670 Makefile: help cleanup 2019-02-26 10:45:46 -05:00
Matthias Grob e7651c9c52 Makefile: streamline cmake-build and
cleanup nuttx_, _default targets
2019-02-26 10:45:46 -05:00
David Sidrane beff3ae66a deprecate gumstix aerocore - no longer supported by mfg 2019-02-12 20:53:45 -05:00
Daniel Agar c3d6a042e6
Jenkins SITL coverage build in place to handle gcov paths properly 2019-02-07 16:11:25 -05:00
Daniel Agar 071ec7d7cd Makefile: quick_check avoid building px4_sitl twice 2019-02-05 14:34:01 -05:00
Daniel Agar 38e3da535f boards/ delete unused stm32 nucleo-F767ZI example 2019-01-25 11:25:27 -05:00
Daniel Agar 9ae61b7775 boards/ delete unused stm32f4discovery example 2019-01-25 11:25:27 -05:00
Daniel Agar 1f4c3fedba deprecate samv7 support and atmel same70xplained board 2019-01-25 10:54:53 -05:00
David Sidrane 517add3c8c auav_esc31-v1:Fix build 2019-01-25 06:32:37 -08:00
Julian Oes d94748c831 Makefile: use px4_sitl_test board for `make tests`
This means that we can use the normal host scheduling (not lockstep) for
the unit tests.

In the future we might add unit tests using lockstep as well.
2018-12-22 10:32:18 +01:00