Daniel Agar
17a3b195fa
cppcheck start with errors only
2017-06-02 19:35:18 -04:00
Daniel Agar
de9c39447c
cppcheck ignore examples
2017-06-02 19:35:18 -04:00
Daniel Agar
e4f55e4526
travis-ci upload cppcheck, scan-build, and coverage to s3
2017-06-02 19:35:18 -04:00
Daniel Agar
2e0ed3b47b
travis-ci add cppcheck
2017-06-02 19:35:18 -04:00
Daniel Agar
d731558286
Makefile prepare to split qgc_firmware
2017-06-02 19:35:18 -04:00
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
2017-06-02 19:35:18 -04:00
Lorenz Meier
0dac78b48f
FMUv4PRO and FMUv5: Enable auto-build
2017-05-05 18:11:44 +02:00
Daniel Agar
293eca7d16
Makefile add px4_metadata for airframes and parameters
2017-04-22 21:31:05 -04:00
Andrew C. Smith
d21b6655d2
Add the Gumstix AeroCore2 to the build system.
2017-04-20 12:24:27 -10:00
Daniel Agar
3721fb9d52
cmake cleanup nuttx dependency handling ( #7007 )
...
- closes #6501
- closes #6820
- closes #6881
2017-04-17 20:57:35 -04:00
Daniel Agar
8c9affddc8
travis-ci generate and upload parameters.md
2017-04-07 22:06:23 +02:00
Lorenz Meier
306d4b8817
Makefile: Add Gazebo clean step
2017-04-02 21:52:18 +02:00
David Sidrane
2d92ad2538
stm32 Updated flash patch to upstream revised ( #6893 )
...
* stm32 Updated flash patch to upstream (fixes missing commit)
* Removed zubaxgnss-v1_bootloader check build will not fit
Removing zubaxgnss-v1_bootloader from the check build. It is overflowing flash by 6 Bytes.
2017-03-25 00:06:00 -04:00
David Sidrane
9527dd7714
Add auav-x21_default to the qgc firmware for distribution
2017-02-02 14:39:43 +01:00
Daniel Agar
4e3b4091e8
run-clang-tidy only display output on error
2017-02-01 22:15:50 -05:00
Daniel Agar
73da6d30d9
clang-tidy errors cause target failure
2017-02-01 22:15:50 -05:00
Daniel Agar
cdd472f722
Makefile update Firmware.zip px4 naming
2017-01-26 19:41:48 -05:00
wangxdflight
b693e29d64
enable px4 flight for excelsior(legacy)
2017-01-16 08:25:58 -08:00
Daniel Agar
6961a513c7
clang-tidy readability-braces-around-statements
2017-01-14 18:31:09 -05:00
Daniel Agar
8caf6c54fa
Makefile cleanup and travis-ci s3 deploy ( #6329 )
...
- pulls more of the travis-ci s3 deploy into the repo so we can potentially migrate to another CI system
- fixed the sizes output and added verbose compiler version to cmake (#6322 )
- fixed filenames for firmware uploaded to s3 (was broken by the changes yesterday)
- fixed some broken git version display in cmake
- Makefile organization
- simplified .travis.yml
- added a print to know which config the nuttx patch was being applied to
- docker_run.sh now respects PX4_DOCKER_REPO for setting the docker image, but defaults to the good production nuttx image
2017-01-14 09:38:28 -05:00
James Goppert
a0fff97fd2
Moved deployment logic to python scripts.
2017-01-13 01:11:14 -08:00
James Goppert
50159cabbe
Automatically set cmake version.
2017-01-13 01:11:14 -08:00
James Goppert
434dddedea
Changes to add px4fmu-v2_lpe config.
2017-01-13 01:11:14 -08:00
BharathR
8c7f810cc2
Fixed build error in eagle_legacy_default mode (px4muorb.h generation issue)
2017-01-11 17:12:27 -08:00
bharathr
ee0b0f2a3e
Fixed build error in Snapdragon Flight legacy driver mode (partially)
2017-01-11 17:12:27 -08:00
Daniel Agar
dc787830b5
circleci run tests under code coverage ( #6273 )
...
* use regular optimization levels for the code coverage build.
* the mixer test fails intermittently when built without optimization
2017-01-09 16:08:40 -05:00
Daniel Agar
defaf7f5e5
docker run helper script ( #6270 )
2017-01-08 13:45:28 -05:00
Daniel Agar
a7e38e1119
Makefile rename checks_alt to alt_firmware
2017-01-04 11:16:28 -05:00
Beat Küng
f0c905ae43
Makefile: remove executable bit
2017-01-03 10:39:55 +01:00
Daniel Agar
9689163125
tests skip junit output and cmake exclude from all
2017-01-03 04:16:11 -05:00
Daniel Agar
573aed0ee8
tests coverage reorder to avoid lcov issues
2017-01-03 04:00:41 -05:00
Daniel Agar
b4da337cd4
test coverage cleanup
...
- dataman clean exit code
- unit test proper cleanup
- add some level of simulated sensors for tests
- delete unused test/standard_vtol
2017-01-03 04:00:41 -05:00
Daniel Agar
34b2fb55e6
Makefile add clang-check and clang-tidy helpers
2017-01-02 10:14:41 +01:00
Daniel Agar
28971caaf3
partially restore mavlink_tests
2017-01-02 10:14:41 +01:00
Daniel Agar
5ec546f735
Makefile add scan-build target
2017-01-02 10:14:41 +01:00
Daniel Agar
dc9a71b674
WIP startup_shutdown test with ASAN on
2017-01-02 10:14:41 +01:00
Daniel Agar
f8d7c53537
lcov exclude gtest and mavlink
2017-01-02 10:14:41 +01:00
Daniel Agar
9fad6f9dd2
travis-ci use PX4_DOCKER for builds and specify tag
2017-01-02 10:14:41 +01:00
Daniel Agar
d6fd633500
sitl tests manually list all
2017-01-02 10:14:41 +01:00
Daniel Agar
9ae5e55f43
Makefile escape cmake generator string
2017-01-02 10:14:41 +01:00
Daniel Agar
351b3d20cb
sitl testing exclude tests
2017-01-02 10:14:41 +01:00
Daniel Agar
97bc0f4486
gather test results
2017-01-02 10:14:41 +01:00
Daniel Agar
cddef87998
Makefile split large target list for semaphore
2017-01-02 10:14:41 +01:00
Daniel Agar
74231e6656
split tests for SITL ctest
2017-01-02 10:14:41 +01:00
Daniel Agar
ac7c309925
move cmake version check into cmake
2017-01-02 10:14:41 +01:00
Daniel Agar
9ea80e9ff0
Makefile add PX4_RUN docker wrapper
2017-01-02 10:14:41 +01:00
Lucas De Marchi
fd91f998c4
build: sort targets for GCS download
...
While at it, fix the trailing continuation line in the last item.
2016-12-29 08:54:02 -05:00
Lucas De Marchi
e3f7bbfd8c
build: add aerofc firmware for GCS download
2016-12-29 08:54:02 -05:00
Daniel Agar
b1496f72cd
Makefile cleanup target lists
2016-12-26 23:50:51 -05:00
Lucas De Marchi
03c3ea0040
build: also look for ninja-build in addition to ninja
...
The ninja binary may have other names on Linux distributions. On Fedora
it's ninja-build.
2016-12-22 08:33:33 +01:00
David Sidrane
116704ef50
Makefile add all Targets
2016-12-21 08:34:22 +01:00
Daniel Agar
c98927121d
crazyflie_default upload for QGC ( #6030 )
2016-12-11 13:59:35 -05:00
Daniel Agar
1941dfca87
add tests code coverage
...
-closes #5862
2016-12-07 20:17:00 +01:00
Daniel Agar
9d494e625f
travis-ci upload px4fmu-v3 for qgc
2016-12-05 15:27:11 +01:00
Lucas De Marchi
0cd7984b7f
Rename asc board to aerofc
2016-11-28 09:21:12 +01:00
Anton Matosov
3414fc1c7c
Setup default CLion ignores
2016-11-15 11:10:22 +01:00
Carlo Wood
e29b9b5d39
Remove fake config targets.
...
The "targets" posix_rpi_common, qurt_sdflight_default and
posix_sdflight_default are not real targets; they are
just files in cmake/configs that are included by other
targets.
2016-10-28 08:40:23 +02:00
Daniel Agar
e9e15ba3d1
Makefile error preventing px4fmu-v4_default build
...
-fixes #5625
2016-10-10 22:47:28 -04:00
Beat Küng
670c93e726
cmake: add support for out-of-tree modules via EXTERNAL_MODULES_LOCATION variable
2016-09-27 15:10:23 +02:00
Lorenz Meier
2b9596cac0
Run clean beffore distclean so that a partial build is wiped as well.
2016-09-27 11:56:49 +02:00
David Sidrane
f750140b6f
Make line 280 check happy ( #5550 )
2016-09-27 08:34:48 +02:00
David Sidrane
0eca86443d
Master additional targets ( #5548 )
...
* Allow Niga to be disabled from command line
* Add a build all nuttx targets
2016-09-26 22:48:37 +02:00
Daniel Agar
9fb167b642
add crazyflie to builds ( #5516 )
...
* Makefile simplify check and quick_check
* make check add crazyflie_default
2016-09-20 21:05:44 +02:00
Daniel Agar
c4b9b05af9
make check_format also check git whitespace ( #5503 )
...
-fixes #5484
2016-09-20 12:45:42 -04:00
Carlo Wood
a03441b818
Fix the multi- target targets ( #5489 ) ( #5491 )
...
On second thought, using % just isn't correct. When a make
target looks like:
foo% bar%:
...
Then that implies that it will build BOTH foo% and bar% whenever
that rule is triggered (by either) for any value of the pattern %.
Clearly that is not what we want / intend.
So, this commit goes back to using config targets without a % in it
by generating a full list of them.
It also turns sitl_deprecation into a Hidden Target.
Finally, now that we have those target lists anyway, I added
a 'help' and 'list_config_targets' targets that print the
available targets.
Note that the '%' catch-all target only works when all other targets
either have a recipe or are marked as .PHONY, otherwise such targets
are only interpretted as dependencies and still executre the '%'
target afterwards, which is not what we want.
2016-09-18 01:44:45 +02:00
Carlo Wood
d2626d725d
Makefile cleanup - fix merge conflict change
2016-09-13 16:31:08 +02:00
Carlo Wood
e93324785b
list_vmd_make_targets and list_cmake_targets
...
* This allows one to run 'make posix list_vmd_make_targets' and get output like
>make posix list_vmd_make_targets
[...]
-- Build files have been written to:
/usr/src/debian/px4/Firmware/Firmware.git/build_posix_sitl_default
PX4 CONFIG: /usr/src/debian/px4/Firmware/Firmware.git/build_posix_sitl_default
Scanning dependencies of target list_vmd_make_targets
[100%] List of acceptable 'posix_sitl_default' <viewer_model_debugger> targets:
none
none_iris
none_iris_opt_flow
none_tailsitter
[...]
replay_solo_valgrind
replay_typhoon_h480_valgrind
[100%] Built target list_vmd_make_targets
Or, run 'make list_vmd_make_targets' from the build_posix_* directory.
* This adds the list_cmake_targets make target to print all
cmake targets that one can match with PX4_NO_OPTIMIZATION.
PX4_NO_OPTIMIZATION is ignored (do optimization as normal)
when the CONFIG isn't posix_sitl_*.
* Add comment in Makefile on how/where to find all targets.
2016-09-13 16:31:08 +02:00
Carlo Wood
6f94f7031b
More Makefile cleanup.
...
Use $(MAKE) -C build_dir ..., not (cd build_dir; make ...)
(ie, see https://blog.flameeyes.eu/2010/10/tell-tale-signs-that-your-makefile-is-broken )
Also talk about 'make targets' where appropriate, instead of 'cmake targets' %-).
2016-09-13 16:31:08 +02:00
Carlo Wood
900026818b
Makefile cleanup.
...
Doesn't really do anything, but while working on understanding
things I did this cleanup, making the Makefile a lot shorter
and more flexible for future changes ;).
2016-09-13 16:31:08 +02:00
Daniel Agar
446f8e3a36
make quick_check even quicker
2016-09-09 18:50:51 -04:00
Andreas Antener
cbbf5e2e7c
filtering files for code check seperately to enable fast use of git pre-commit hook to check code style
...
ask user to install pre-commit hook when code style is checked
2016-09-07 11:25:51 +02:00
Tim Dyer
b65ff53b00
Initial build for Crazyflie 2.0
...
Working crazyflie firmware build
* Console on USART3
* Could not disable building PX4IO firmware, currently commented out
Don't build PX4IO firmware if the board doesn't ask for it
Added crazyflie motor driver
Fixed wrong register
CLK_SEL is in PWR_MGMT_1
Initial I2C/SPI MPU9250 device
* Tested with I2C
* Need to add error checking
* Intermittent crash on stop call
Working ak8963 mag driver
Functional lps25h driver. Work in progress.
Works well enough to probe and allow sensors task to start.
Added serial port test module
HACK! Get sensors module working
Set crazyflie PWM range
Extend baudrate for Crazyflie's NRF radio
Added dummy tone alarm to allow for init
Added autostart script for Crazyflie
2016-09-04 19:12:08 +02:00
Lorenz Meier
f511d49cc2
Improvements to SITL to make paths more flexible. ( #5181 ) ( #5255 )
...
* Path cleanup for SITL.
* Restructured sitl scripts dir.
* Set integration tests to use ekf2 for vtol.
* Fix sitl paths for mac.
2016-08-25 21:47:45 +02:00
Lorenz Meier
5d0f57d61e
Update Makefile to build for QGC
2016-08-12 13:55:16 +02:00
Daniel Agar
968a3d499b
add make format (check_code_style_all.sh --fix)
2016-08-07 10:40:17 +02:00
Lorenz Meier
61d5d8ce2a
Makefile: Remove remaining EKF2 config bits
2016-08-07 10:39:51 +02:00
Daniel Agar
2a15578f8d
FW implement MAV_CMD_DO_GO_AROUND
2016-08-06 20:56:53 +02:00
Lorenz Meier
40ba3f5131
Initial config for ASC module
2016-08-06 20:45:11 +02:00
Lorenz Meier
102f5b54d7
Revert "Improvements to SITL to make paths more flexible. ( #5181 )"
...
This reverts commit 699b6a2cb3
.
2016-08-05 21:29:49 +02:00
James Goppert
699b6a2cb3
Improvements to SITL to make paths more flexible. ( #5181 )
2016-08-05 06:23:59 -04:00
Lorenz Meier
5b06b40ed9
Set SITL as default target now that Pixhawk is not necessarily the default HW
2016-08-03 23:04:35 +02:00
Daniel Agar
390a7165dd
make tests ( #5163 )
...
* make tests use px4 instead of mainapp
* commander_tests ALTCTL - not rotary requires altitude
2016-07-29 11:46:47 -04:00
Lorenz Meier
6ab9dc0acf
Testing cleanup from Daniel Agar
2016-07-29 13:49:14 +02:00
James Goppert
05315abc89
Optical flow simulator and install cleanup. ( #5132 )
...
sitl CI is having some issue cloning, but I have verified it locally for various configs
2016-07-24 13:07:14 -04:00
Julian Oes
fa614a3cc1
RPi: just use RPI instead of RPI2.
...
The reason for this change is that RPi2 and RPi3 are compatible, and
hopefully all differences coming up can be resolved without ifdefs but
at runtime.
2016-07-16 15:51:00 +01:00
Julian Oes
2bf40efe8b
RPi2: fuse mainapp/common and navio2
...
We currently only support Navio2, so let's fuse the two configurations.
2016-07-16 15:51:00 +01:00
Julian Oes
1939b88a33
RPi2: use cross/native instead of release/default
2016-07-16 15:51:00 +01:00
Beat Küng
e9726af54c
Makefile: check for 'replay' env variable and change build dir accordingly
...
For replay with the new logger, we want a separate build dir so that the
parameters file and orb rules don't get mixed up.
2016-07-11 09:25:07 +02:00
Lorenz Meier
332f669d9b
Add tap-v1 config
2016-07-06 13:34:35 +02:00
Hidenori
506d1855ff
rename files and add navio target
2016-07-01 23:08:17 +02:00
Eike
04e8b40a5c
Posix LPE target ( #4911 )
2016-06-27 08:43:39 +02:00
Daniel Agar
422acc0b69
travis-ci add check_format to qgc_firmware
2016-06-26 17:42:00 -04:00
Daniel Agar
b247dac120
travis-ci optimizations ( #4870 )
...
* move gcc 4.9 build to circleci
* travis-ci update to xcode 7.3
* travis-ci limit git fetching for OSX
* Makefile split firmware targets for CI
* OSX ccache
2016-06-22 17:42:49 -04:00
Lorenz Meier
dff50072e9
Add new airframe meta files
2016-06-17 22:44:42 +02:00
Eric Ye
c446304751
Update makefile to ask for cmake 3.4.3 ( #4831 )
2016-06-17 10:47:06 -04:00
Daniel Agar
2f5357be7a
travis-ci use px4io docker images ( #4696 )
2016-06-14 01:06:43 -04:00
Lorenz Meier
7a6ff4742d
Add Solo sim model ( #4761 )
2016-06-07 21:25:35 +02:00
Daniel Agar
7524474c7b
make distclean ignore eclipse project files
2016-06-03 16:58:35 -04:00
Daniel Agar
de5bf60b07
make submodulesclean sync recursively
2016-06-03 16:58:23 -04:00
Michael Schäuble
d9422e0296
Add Parrot Bebop as build target ( #4698 )
...
* Add parrot bebop build structure
* Add upload functionality to bebop build
* Add modules and commands to bebop build
2016-05-31 13:04:22 +02:00