Commit Graph

417 Commits

Author SHA1 Message Date
Peter Barker
0f99196972 Tools: build_binaries.sh references renamed generate-manifest.py 2017-10-25 12:02:19 +11:00
Peter Barker
e8f660f4a9 Tools: rename generate-manfest.py to generate_manifest.py 2017-10-25 12:02:19 +11:00
cclauss
654bb6ffce Tools: runplanetest.py: Remove redundant parenthesis
This syntax error was mistakenly introduced in #6999.
2017-09-25 14:55:51 +01:00
cclauss
a906d31c23 Tools: runplanetest.py: Resolve undefined name
Fixes: #6839

Undefined names can raise [NameError](https://docs.python.org/2/library/exceptions.html#exceptions.NameError) at runtime.
2017-09-24 13:54:58 +10:00
Peter Barker
a87814b325 Tools: rename runfliptest.sh to runfliptest.py
As this is a Python script
2017-09-24 08:52:40 +10:00
cclauss
d2eec2db29 Tools: runfliptest.sh: Resolve undefined name
Fixes: #6839 (partial fix)

Undefined names can raise [NameError](https://docs.python.org/2/library/exceptions.html#exceptions.NameError) at runtime.
2017-09-24 08:50:37 +10:00
cclauss
d583bb9cbc Tools: update_wiki.py: fix syntax error
SyntaxError: print() is a function in Python 3
2017-09-23 21:44:56 +10:00
cclauss
f266c82040 Tools: magfit_flashlog.py: fix syntax errors
SyntaxError: print() is a function in Python 3
2017-09-23 21:44:11 +10:00
Peter Barker
406f4a9ca7 Tools: generate-manifest: print errors to stderr 2017-09-13 10:09:00 +10:00
Francisco Ferreira
84efe7e6f5
Tools: ci: reduce ccache sizes 2017-09-08 16:33:15 +01:00
Francisco Ferreira
be88b5a6e8
Tools: ci: get ccache statistics for SITL test 2017-09-08 16:33:15 +01:00
Francisco Ferreira
129fde128a
Tools: ci: let waf decide number of jobs for building SITL test 2017-09-08 16:33:15 +01:00
Francisco Ferreira
aa6b997a0b
Tools: ci: use number of CPUs to choose number of jobs on Make builds 2017-09-08 16:33:15 +01:00
Francisco Ferreira
c073263c8d
Tools: ci: disable ccache for Make builds 2017-09-08 16:33:15 +01:00
Francisco Ferreira
80e784c93d
Tools: ci: only do Make builds in some special cases
build using Make system for PX4-v3 or, if it is a cron job, for all PX4 boards and SITL
2017-09-08 16:33:14 +01:00
Andrew Tridgell
8d0d4fe40a Tools: added script to decode Saleae CSV capture file 2017-08-26 09:56:25 +10:00
Lucas De Marchi
47968cda09 scripts: don't set PKG_CONFIG_PATH globally
It was done only for Bebop, but we build it statically so it has
actually no effect.
2017-08-16 10:51:59 -07:00
Peter Barker
d8e260874d Tools: copyit must always be given fourth, src, parameter 2017-08-15 13:09:45 +10:00
Andrew Tridgell
4c6922e413 Tools: fixed ardusub build
and manifest generation without PX4IO
2017-08-10 09:35:31 +10:00
Andrew Tridgell
42b181b652 Tools: updates to build_binaries.sh (use waf)
this switches to waf for all the px4 builds, plus adds px4pro It also
removes apm1/apm2 for plane build, and removes the download directory
for PX4IO
2017-08-08 11:15:09 +10:00
Andrew Tridgell
78f6a5a177 Tools: improve devid decode 2017-08-01 20:17:11 +10:00
Kevin Lopez Alvarez
33f6b30ef4 Tools: initial FMUv4pro support 2017-07-24 13:45:37 +10:00
Francisco Ferreira
83359e898a
Tools: update CI ccache version to 3.3.4
ccache 3.3.x uses CPP2 enabled by default so remove enabling it
2017-07-18 14:15:39 +01:00
Francisco Ferreira
540548f0aa
Tools: CI: only set shell to verbose after including profile
Travis has a very long .profile script, which is already shown in configure step, so there is no need to log it again in the build step
2017-07-18 14:15:38 +01:00
Andrew Tridgell
cd52c5a5c5 Tools: make build_all.sh use waf 2017-05-09 14:05:20 +10:00
Lucas De Marchi
eb61bb86ee Tools: build_binaries: split configure, clean and build on waf
All 3 together breaks PX4 boards that have to go through the external
CMake build system.
2017-05-08 17:07:31 -07:00
Lucas De Marchi
d04dab3a30 Tools: build_binaries: fix typo and binary name 2017-05-08 17:07:31 -07:00
Lucas De Marchi
cb2f472445 Tools: add aerofc-v1 to autobuild 2017-05-08 10:09:27 +09:00
Andrew Tridgell
55ac480e91 Tools: added decode_devid.py 2017-04-29 10:13:23 +09:00
Reza Farrahi M
aa0de36b2e Tools: fix wxpython package name on Arch 2017-04-19 02:18:30 -07:00
Grant Morphett
4ee313c046 Build Rover: Fix build so correctly updates firmware-version.txt 2017-03-16 11:09:18 +11:00
Michael du Breuil
c3b047cc5d Tools: Update runplanetest.py to reflect reworded ground start messages 2017-03-08 00:59:56 -08:00
Andrew Tridgell
2f8e9db606 autotest: fixed update of pymavlink 2017-03-08 16:40:10 +11:00
Jacob Walser
8e1d065d4e scripts: Generate Sub parameters 2017-03-04 09:31:51 -08:00
Jacob Walser
ec15f0fee5 autotest: Add Sub 2017-02-25 17:50:18 +11:00
Jacob Walser
289aab06bc scripts: Add Sub 2017-02-25 17:50:18 +11:00
Peter Barker
aec7091faa autotest: Add support for Sub in sim_vehicle.py 2017-02-21 11:26:14 +11:00
Lucas De Marchi
bbc7a8b3e4 build: make instal-apt-ci.sh easier to synchronize with .travis.xml 2017-02-06 09:27:22 -08:00
Andrew Tridgell
5d7d190394 autotest: setup PKG_CONFIG_PATH for Parrot libiio 2017-01-30 14:01:43 +11:00
Andrew Tridgell
746b0dd376 Tools: fixed build_binaries for new build names 2017-01-12 21:37:33 +11:00
Andrew Tridgell
2a1408becf Tools: no need to build tri separately 2017-01-12 17:39:37 +11:00
Andrew Tridgell
90516f1064 autotest: fixed checkout bug in build_binaries.sh 2017-01-09 22:04:27 +11:00
Andrew Tridgell
cc5e9da6ef autotest: added some debug to build_binaries.sh 2017-01-09 21:42:38 +11:00
Andrew Tridgell
2101f7c0c1 autotest: fixed stable build of multicopter frame types 2017-01-09 11:52:11 +11:00
Andrew Tridgell
7df30ffe4d scripts: avoid building redundent binaries for copter
hexa, octa, y6 and octa-quad are no longer needed if we have FRAME_CLASS
2017-01-01 16:48:59 +11:00
Andrew Tridgell
bebf16b804 Tools: added FMUv3 to autobuild 2016-12-20 10:34:57 +11:00
Pierre Kancir
9ca0873042 Autotest : add simple test for Rover 2016-12-19 13:32:27 +00:00
Andrew Tridgell
619cdbe065 Tools: fixed bash syntax error in install-prereqs-ubuntu.sh 2016-11-27 06:27:15 +11:00
Pierre Kancir
75a2a1cd6c Tools: Don't install libc6-i386 on 32bit Ubuntu 2016-11-21 17:03:04 +00:00
Francisco Ferreira
32cd49264e travis: revert commit 52854a
Travis has fixed the issues with space so we can go back to building PX4 with make and waf
2016-11-16 02:24:27 +00:00
Francisco Ferreira
52854aab3b travis: temporarily disabled waf build of PX4 boards
Travis is complaining about lack of space, their support is looking into it but for now disable waf to get job passing
2016-11-11 19:59:52 +00:00
Andrew Tridgell
3ed66309ec Tools: split pip install into two cmds 2016-11-07 14:34:52 +11:00
Peter Barker
e8fc5b9552 Tools: add set -x to install-prereqs scripts 2016-11-07 08:17:41 +11:00
mirkix
0638ec7dfe Tools: add pkg-config-arm-linux-gnueabihf package 2016-11-03 17:29:44 -03:00
mirkix
25f6d29d97 Tools: rename BEBOP to generic ARM_LINUX 2016-11-03 17:29:44 -03:00
Grant Morphett
705f96dd3e Build: More changes as we move to WAF
The only example being built in build_all.sh was CPUInfo and that is
really an APM tool.  It will get built further down in when
autotest.py calls build.Examples so we don't need to build it here.

And changing the Replay build to just call make which really means it
will invoke waf as that's what the makefile does.
2016-11-02 15:14:30 -03:00
Lucas De Marchi
0c1f2ba144 scripts: add cmake to install-prereq scripts 2016-10-31 09:49:40 -07:00
Jani Hirvinen
c99a4a6973 Update build_autotest.sh 2016-10-31 19:53:29 +11:00
Peter Barker
729765bd30 Tools: correct firmware-version.txt file creation 2016-10-25 17:00:43 +11:00
Peter Barker
90979b6db5 Tools: skip malformed firmware-version.txt files 2016-10-25 17:00:43 +11:00
Peter Barker
b9270712e4 Tools: fix manifest generation (skip files.html) 2016-10-25 17:00:43 +11:00
Andrew Tridgell
10638d72a7 Tools: useful plane run script 2016-10-25 17:00:03 +11:00
Andrew Tridgell
bd0d37e2fd Tools: added cmake to ububtu prereqs install
this fixes waf build for ubuntu 14.04 LTS
2016-10-20 16:29:51 +11:00
Pierre Kancir
10c3d82c67 Tools: update ci install script 2016-10-16 13:02:48 -02:00
Pierre Kancir
f7d19a6cd7 Tools: update ubuntu install script 2016-10-16 13:02:48 -02:00
Pierre Kancir
59366b058a Tools: update ci install script 2016-10-15 09:23:10 -03:00
Pierre Kancir
2942b1b56d Tools: update arch install script 2016-10-15 09:23:10 -03:00
Pierre Kancir
08cf58a027 Tools: update ubuntu install script 2016-10-15 09:23:10 -03:00
Lucas De Marchi
041ec327a2 ci: add ~/.local/bin to PATH
In semaphoreci it doesn't have ~/.local/bin by default on path making
us not able to find the mavproxy.py executable.
2016-10-14 18:58:58 -03:00
Andrew Tridgell
a5c9fb56af Tools: updated arch install script 2016-10-12 21:41:19 +11:00
Andrew Tridgell
b66c3d3915 Tools: added lxml and future for ubuntu users 2016-10-12 21:40:48 +11:00
Andrew Tridgell
7041d2587b Travis: added dependency on python future and lxml 2016-10-11 06:42:22 +11:00
Peter Barker
084862a999 Tools: build_ci.sh: make target not required in Replay directory 2016-09-19 12:56:42 +10:00
Andrew Tridgell
c9435963c8 autotest: use ArduPilot mavlink tree 2016-09-19 08:44:32 +10:00
Andrew Tridgell
2d2ed7b06e autotest: added autobuild of disco 2016-09-15 19:57:32 +10:00
Andrew Tridgell
65bcead1bd autotest: build bebop static in build_binaries.sh 2016-09-15 19:56:27 +10:00
Andrew Tridgell
6e2c600fe7 autotest: make px4-clean between px4 builds
avoids an issue where vehicle object files are re-used from other
targets
2016-09-05 18:22:01 +10:00
Andrew Tridgell
d529b5e3b8 autotest: build each set of px4 binaries separately 2016-09-05 12:43:52 +10:00
Lucas De Marchi
46be2cf026 Tools: build_binaries: fix generation of firmware-version.txt
For waf builds we build from root directory.
2016-08-13 17:44:38 -03:00
Lucas De Marchi
cd333cb43a Tools: build_binaries: fix check for wrong file
We get the version from version.h not APM_Config.h.
2016-08-13 17:44:38 -03:00
Lucas De Marchi
a511f97971 Tools: build_binaries: fix inverted condition 2016-08-11 09:01:43 -03:00
Lucas De Marchi
80b04ecb41 scripts: update command with sim_vehicle.py 2016-08-10 17:00:09 -03:00
Lucas De Marchi
53968e5d78 Tools: build_binaries: add bebop to arducopter-quad 2016-08-10 11:12:54 +09:00
Lucas De Marchi
6553e428c0 Tools: build_binaries: add navio/navio2 to antennatracker 2016-08-10 11:12:52 +09:00
Lucas De Marchi
6e9686a16b Tools: build_binaries: use waf for Linux boards 2016-08-10 11:12:50 +09:00
Tom Pittenger
ed7af8c717 scripts: Add libc6-i386 to px4 package install.
Fixes https://github.com/ArduPilot/ardupilot/issues/4316
2016-06-16 08:06:06 -07:00
Peter Barker
eb0e3c993d Tools: build_examples.sh implemented in terms of build_examples.py 2016-06-04 12:33:15 -03:00
Peter Barker
8cf49d4e3e Tools: create build_examples.py, a replacement for build_examples.sh 2016-06-04 12:33:14 -03:00
Francisco Ferreira
501284f65a ci: remove clang temporarily from APT packages 2016-05-31 19:25:51 +01:00
Andrew Tridgell
475579e8ff autotest: skip build of boards we don't support
this prevents us trying to build for boards like navio2 for
ArduCopter-stable which didn't support that board
2016-05-30 08:25:10 +10:00
Francisco Ferreira
ec0a80b6f4 ci: increase ccache size
make based builds require more space
insert exception for sitltest
2016-05-25 22:14:47 -03:00
Francisco Ferreira
fe0c49ec54 ci: only run make builds for PX4 or when it is a scheduled job
Let waf figure out how many jobs to run
2016-05-25 11:39:07 -03:00
Francisco Ferreira
292251e2aa ci: add time to complete make builds 2016-05-25 11:38:59 -03:00
Francisco Ferreira
a74a7e5dfe ci: update ccache and improve its support
Update ccache to 3.2.5
Set ccache size
Display ccache statistics for each build
Disable ccache for configure phase
Export ccache bin path
travis: remove ccache stats before saving cache
2016-05-25 11:38:51 -03:00
Lucas De Marchi
92411402b6 Tools: remove support for flymaple 2016-05-23 21:49:45 -03:00
Francisco Ferreira
f7f90546d1 ci: build PX4 with waf again 2016-05-18 15:36:48 -03:00
Francisco Ferreira
efc3f5058b ci: simplify build script 2016-05-11 22:48:03 -03:00
Lucas De Marchi
f04b954a1c build_binaries.sh: fix typo on rebase 2016-05-10 14:34:30 -03:00
Lucas De Marchi
06f5a3ac39 build_binaries.sh: replace tabs with spaces 2016-05-10 14:32:47 -03:00
abilbaotm
9814955eef Update build_binaries.sh 2016-05-10 14:31:36 -03:00