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
Beat Küng
418df2516d
mixer multirotor: add to CI
2018-12-13 09:50:07 +01:00
Daniel Agar
161cf7f5d9
shellcheck fix rc.autostart return and improve globbing
2018-12-01 10:03:19 -05:00
David Sidrane
729d1c32d3
Rename nxphlite-v3 to NXP fmuk66-v3 ( #10927 )
2018-11-28 12:13:21 -05:00
Daniel Agar
36ec1a7914
Makefile quick_check switch nuttx target to px4_fmu-v5
2018-11-26 14:40:14 -08:00
Daniel Agar
f22f331e4a
Makefile add board rename deprecation warning
2018-11-26 14:40:14 -08:00
Daniel Agar
abb3817d31
boards new split VENDOR_MODEL naming convention
2018-11-26 14:40:14 -08:00
Daniel Agar
f692ad04d0
boards organization
2018-11-26 14:40:14 -08:00
Daniel Agar
a4c4f356b3
Makefile handle spaces in path
2018-11-25 14:09:58 -05:00
Mark Sauder
ad8539bd15
Deprecate the tap_common directory, nuttx, driver, and makefile references to tap-v1. ( #10629 )
2018-10-15 11:53:29 -04:00
Beat Küng
525531f2fc
Jenkins: add module config validation to CI
2018-09-25 07:53:29 +02:00
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
2018-09-23 16:52:09 -04:00
Daniel Agar
e4088204ee
shellcheck ignore array references for now (SC2039) and run everywhere
2018-08-25 20:12:29 +02:00
Daniel Agar
52e1b59e60
cmake add nuttx shellcheck helper
2018-08-25 20:12:29 +02:00
Daniel Agar
3c4c9131aa
Jenkins add ShellCheck
2018-08-25 20:12:29 +02:00
Daniel Agar
e356fd89b0
CI mission tests add FW and cleanup ( #10250 )
...
* jenkins: decrease VTOL mission alt and FW mission use simple land wps
* startup: decrease min airspeed scaling factor for landing
* jenkins: FW mission include loiter_to_alt cmd
2018-08-17 13:02:14 -04:00
Daniel Agar
5b410e5f28
doxygen update excludes and output structure
...
- exclude DriverFramework, parameters, libuavcan
2018-08-12 11:10:19 -04:00
Daniel Agar
459ad7528f
python scripts code coverage ( #10157 )
2018-08-04 18:22:08 -04:00
Daniel Agar
553d68b80f
Makefile add doxygen helper
2018-07-30 21:36:35 +02:00
Daniel Agar
4d3ad1b5c3
cmake consistency with build directory and and nuttx binary naming
2018-06-12 10:14:03 +02:00
Daniel Agar
5234ba49ad
Jenkins code coverage build
2018-05-28 08:40:05 +02:00
Matthias Grob
ef7e885644
Makefile: fix parameter -e printed by echo
...
It seems that on linux only inside a makefile the parameter after the echo
command gets printed if no single quoted sting comes afterwards so I had
to switch to single quotes such that I can use the parameter.
2018-05-09 07:54:22 +02:00
Matthias Grob
4e139d2426
Makefile: fix color output of makefile echos
...
Force interpretation of backslash escapes with the parameter -e of echo.
Switch to a lighter blue because on certain terminals default blue is
hard to read on black background.
2018-05-09 07:54:22 +02:00
Daniel Agar
5de5d6ea49
Jenkins simple mission code coverage build
2018-05-05 19:49:50 -04:00
Daniel Agar
ea3acb7121
cmake remove circular linking and reorganize
...
- px4_add_module now requires MAIN
- px4_add_library doesn't automatically link
2018-04-29 21:48:54 -04:00
Daniel Agar
90b81cf4c4
move check stack to cmake and run in Jenkins
2018-04-13 23:24:34 -04:00
Lorenz Meier
1c74887a68
Makefile: Fix CLANG-tidy calls
...
The calls have not been updated as the CI target has been.
2018-01-14 13:28:12 +01:00
Daniel Agar
82f661b37f
Makefile distclean deinit all submodules
2018-01-09 13:05:08 -05:00
Lorenz Meier
1739deb517
Makefile: Fix missing params by searching one level deeper
...
This is required for generating documentation
2018-01-08 09:27:22 +01:00
Daniel Agar
b8e6fc2730
Makefile tests_coverage run ROS tests
2018-01-02 01:35:57 +01:00
Daniel Agar
63deb40a76
ROS tests move to test/ and new Jenkins
2018-01-02 01:35:57 +01:00
Beat Küng
ec50193d6c
Makefile: add uorb_graphs target
2017-12-18 10:19:15 +01:00
Daniel Agar
4beeb7f560
delete obsolete s3 upload helpers
2017-12-15 14:31:25 -05:00
Daniel Agar
baff0832bc
Jenkins clang scan-build output publisher
2017-12-15 14:31:25 -05:00
Daniel Agar
fc80846825
simplify param scoping and centralize dependencies
2017-11-22 10:36:51 +01:00
Daniel Agar
e5cc1237e3
travis-ci fix coverity build
2017-11-22 02:23:07 -05:00
Daniel Agar
136d259876
travis-ci fix coverity scan and px4_metadata ( #8156 )
2017-10-20 09:20:30 -04:00
Daniel Agar
d83073f016
move RTPS to dedicated px4fmu-v{3,4,4pro,5}, posix, sdflight builds ( #8113 )
2017-10-17 16:29:55 -04:00
Daniel Agar
979d092628
travis-ci enable tests under address sanitizier ( #8095 )
2017-10-17 16:26:17 -04:00
Daniel Agar
6f52d8a4e3
Makefile fix scan-build path ( #8091 )
2017-10-09 02:38:57 -04:00
Daniel Agar
6f3fe3f3ec
travis-ci enable codecov ( #8090 )
2017-10-09 02:13:43 -04:00
Daniel Agar
8d07c647f7
NuttX improve apps builtins dependencies
2017-10-05 11:28:10 -10:00
Julien Lecoeur
5d01eac5de
Fix check_stack target ( #8050 )
2017-10-04 10:02:23 -04:00
Lucas De Marchi
fa458cdf0e
build: get rid of annoying CMake warning ( #8033 )
...
Depending on the CMake version when we are configuring it emits a
warning about deprecation of CMAKE_FORCE_CXX_COMPILER. However we
rely on this macro and don't want to do what CMAKE_CXX_COMPILER
is doing. Here is what I get with CMake 3.9.1:
CMake Deprecation Warning at /usr/share/cmake/Modules/CMakeForceCompiler.cmake:83 (message):
The CMAKE_FORCE_CXX_COMPILER macro is deprecated. Instead just set
CMAKE_CXX_COMPILER and allow CMake to identify the compiler.
Call Stack (most recent call first):
cmake/toolchains/Toolchain-arm-none-eabi.cmake:37 (cmake_force_cxx_compiler)
/usr/share/cmake/Modules/CMakeDetermineSystem.cmake:94 (include)
CMakeLists.txt:263 (project)
Avoid the warning by passing -Wno-deprecated to cmake.
2017-09-29 20:24:14 -04:00
Daniel Agar
3ac6d1aa27
px4fmu-v2 and px4fmu-v3 boards cleanup
2017-09-29 10:13:51 -04:00
Daniel Agar
474f216a0a
UAVCAN bootloaders split into separate repository ( #7878 )
2017-09-29 10:13:51 -04:00
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
2017-09-29 10:13:51 -04:00
David Sidrane
f04ddf4368
Inital Commit of px4-same70xplained-v1
2017-09-29 10:13:51 -04:00
David Sidrane
7a0d6174e2
nxphlite-v1:Removed from PX4
...
Superceeded by nxphlite-v3 before released
2017-09-29 10:13:51 -04:00
David Sidrane
160f5cc67d
Removed px4cannode from build as it does not fit in flash.
2017-09-29 10:13:51 -04:00
David Sidrane
d409ca3e46
Inital commit of nxphlite-v3
2017-09-29 10:13:51 -04:00