Commit Graph

1006 Commits

Author SHA1 Message Date
Staroselskii Georgii
33aa05d7b3 Travis: NavIO compiler fix 2015-05-05 15:08:59 +10:00
Andrew Tridgell
d1de89f933 Travis: disable navio build due to another travis compiler bug 2015-04-28 14:50:10 +10:00
Staroselskii Georgii
9517bb3049 Travis: added navio target 2015-04-28 11:43:56 +10:00
Andrew Tridgell
4fe39c67b4 Build: use git checkout -f
this is an attempt to avoid CRLF attributes breakage with builds
2015-04-20 08:59:50 +10:00
Lucas De Marchi
5d69e2027c Travis: install gcc-multilib to get dependency libraries
We are failing to execute arm-none-eabi-gcc due to missing 32 bits
libraries in travis. Install gcc-multilib so we get all of them.

This commit also calls this version of gcc in the end of
install-travis-env.sh so if it's to fail, force it to fail early on.
2015-04-14 09:07:31 +10:00
Andrew Tridgell
793a212d28 Travis: removed script breakage 2015-04-06 15:29:57 -07:00
Andrew Tridgell
094910d7e4 Travis: more debugging code 2015-04-05 21:17:20 -07:00
Andrew Tridgell
991d111d91 Travis: another attempt at fixing compiler path 2015-04-05 12:24:54 -07:00
Andrew Tridgell
7048836d1e Travis: make arm compiler install unconditional 2015-04-05 10:57:17 -07:00
Andrew Tridgell
1315ed7ddf Travis: allow upgrade to gcc 4.8 to fail 2015-04-05 09:43:57 -07:00
Andrew Tridgell
1cdaacdaa1 autotest: avoid a px4-clean for each vehicle type 2015-03-25 22:36:05 -07:00
Andrew Tridgell
58a1ead765 autotest: speed up build_binaries a bit
don't need to rebuild from scratch for copter
2015-03-25 22:33:31 -07:00
Andrew Tridgell
9ec9d58fb2 autotest: removed flymaple copter build
doesn't support NavEKF
2015-03-14 20:00:04 +11:00
Andrew Tridgell
0bafd33cfa autotest: disable remaining APM1 build for copter 2015-03-14 15:04:22 +11:00
Andrew Tridgell
ac4b52a31c Build: removed HIL builds
now use HIL_MODE=1
2015-03-13 22:54:55 +11:00
Andrew Tridgell
472a50f9c2 Build: removed APM2 build for copter
no longer supported
2015-03-13 11:36:54 +11:00
Andrew Tridgell
0b261e8695 Travis: used sudo with pip 2015-03-13 10:54:59 +11:00
Andrew Tridgell
de2c22b4b9 Travis: try to upgrade to g++ 4.8 2015-03-13 10:51:31 +11:00
Andrew Tridgell
2e6d79f449 Travis: disable droneapi and upgrade pip 2015-03-12 17:28:04 +11:00
Andrew Tridgell
67e10ff392 Travis: ignore failure of extra deb install 2015-03-12 17:28:04 +11:00
Andrew Tridgell
c42a40553a Travis: install some extra packages for AVR 2015-03-12 12:50:30 +11:00
Andrew Tridgell
dd5be8837a autotest: raise timeout 2015-02-19 21:49:43 +11:00
Andrew Tridgell
0b3118b3c4 Travis: more packages for new PX4 build 2015-02-14 12:31:49 +11:00
Andrew Tridgell
801c4d0a93 Build: disable board specific build tags
disable this until we work out why apm1/apm2 tags have re-appeared
2015-02-12 06:21:03 +11:00
Andrew Tridgell
f69622f041 Travis: cope with setuptools upgrade failing 2015-02-11 21:18:35 +11:00
Jonathan Challinger
5059fc620c Build: add git hashes to .px4 files 2015-02-11 20:22:08 +11:00
Andrew Tridgell
a118ac69c6 Travis: use separate pip commands to find travis issue 2015-02-08 22:11:57 +11:00
Andrew Tridgell
97d6543520 Travis: added install-travis-env.sh
this will be used for travis test builds, to avoid some issues with
pip install using the generic script
2015-02-08 21:59:58 +11:00
LukeMike
a665037176 TOOLS: changed script for building single project 2015-02-02 08:44:01 +11:00
LukeMike
903f5d2211 TOOLS: changed permissions of scripts for building 2015-02-02 08:44:00 +11:00
Emile Castelnuovo
7795cb6929 Tools: update scripts to build all firmwares for all VR boards 2015-02-02 08:43:58 +11:00
LukeMike
2522709a78 Tools: added script to build all VirtualRobotix binaries 2015-02-02 08:43:57 +11:00
Andrew Tridgell
731678b0a1 Travis: test building without logging for plane 2015-01-17 10:46:01 +13:00
Andrew Tridgell
c9b7d27b98 Travis: use px4-cleandep to make script more robust 2015-01-07 08:40:43 +11:00
Andrew Tridgell
1359e6d321 travis: we need a "make configure" at the start 2015-01-01 09:40:32 +11:00
Andrew Tridgell
494789054e travis: enable wide range of builds in Travis-CI 2015-01-01 09:32:25 +11:00
Andrew Tridgell
8d393c89d0 autotest: fixed bash syntax 2014-12-27 21:40:57 +11:00
Andrew Tridgell
a9defa3508 autotest: build some examples for px4-v2 2014-11-28 18:15:30 +11:00
Andrew Tridgell
1c94559fa2 autotest: auto-update uavcan repo 2014-11-28 07:29:44 +11:00
Arthur Benemann
14c77adca9 Tools: Updated gcc-arm compiler to version 4_7-2014q2
As suggested in the thread at the following link:
https://groups.google.com/forum/#!topic/drones-discuss/hiD23c3w6xQ
2014-11-14 10:47:19 +11:00
Andrew Tridgell
ce4da9b09c autotest: raise timeout again 2014-11-14 10:26:18 +11:00
Andrew Tridgell
e49cd68b83 autotest: save core and elf files
try to catch floating pt exception causes
2014-11-13 17:27:02 +11:00
Andrew Tridgell
0738d75701 build_devrelease: build all frames for jons release 2014-11-06 07:16:30 +11:00
Andrew Tridgell
34a43b2d99 autotest: fixed backup of autotest .bin logs 2014-10-30 18:30:15 +11:00
Andrew Tridgell
d95a1be3d6 scripts: fixed devrelease permissions 2014-10-30 12:32:42 +11:00
Andrew Tridgell
c0f18272ed autotest: added developer build support
this creates firmware builds for developers in the devbuild directory
2014-10-30 11:12:17 +11:00
Andrew Tridgell
b688577825 autotest: update compiler 2014-10-13 16:07:32 +11:00
Randy Mackay
946de4f644 Tools: build antenna tracker binary 2014-08-18 13:00:16 +09:00
Andrew Tridgell
e66243f72e autotest: add AntennaTracker autodoc to autotest.diydrones.com/Parameters 2014-08-15 06:42:07 +10:00
Randy Mackay
8925c61ae4 Tools: build antenna tracker for firmware.diydrones.com 2014-08-14 20:56:09 +10:00
Randy Mackay
db9750ee7a Tools: update build script for Antenna move 2014-08-14 20:56:03 +10:00
Andrew Tridgell
caeb2c4d0d autotest: raise timeout to 7000 seconds 2014-08-14 14:29:16 +10:00
Andrew Tridgell
1ea1d9983d build: don't build examples for apm1 any more
so little APM1 development happening it is not worth it
2014-07-25 21:03:23 +10:00
Markus Koetter
e06b3f3ff6 Travis-CI: add vrubrain-v51 target (Copter) 2014-07-15 11:50:09 +10:00
Arthur Benemann
ff11b13f9c tools: In install-prereqs-ubuntu.sh add support for relative paths
Install the required projects (PX4*) in the same folder from where the script is called.
Install the arm toolchain at /opt
2014-07-15 11:47:01 +10:00
Arthur Benemann
b76b090acd tools: Make install-prereqs-ubuntu.sh work with newer versions of Ubuntu
* Install libraries for 64bit Ubuntu systems.
* Less noise apt-get output
* Install packages required for SITL simulation
* Install pymavlink, MAVProxy and droneapi
* Remove modemmanager package
* Add autotest/ to the path
2014-07-15 11:46:58 +10:00
Andrew Tridgell
e96ab86eab build: fixed directory handling in build_binaries.sh 2014-07-14 08:13:28 +10:00
Andrew Tridgell
35e905d003 build: added some debug 2014-07-13 21:19:29 +10:00
Andrew Tridgell
905e5a4d08 build: added vrbrain to build_all.sh script
useful for ensuring it will keep building
2014-04-08 21:27:53 +10:00
Matthew Lloyd
15b99300a2 build: fix paths in install-prereqs-ubuntu.sh
Also upgrade to the latest 2013q4 "GNU Tools for ARM
Embedded Processors" toolchain since the 2012q2 release
is no longer available for download.
2014-04-07 13:54:59 +10:00
Chris Mansley
f9d262278f Tools: Update gcc-arm version from q2 to q4
This fixes the installation script since version q2 has been removed
from launchpad.
2014-04-07 13:47:14 +10:00
Andrew Tridgell
c12e53189c autotest: added apm2-obc to build tests 2014-04-07 07:29:54 +10:00
Andrew Tridgell
314daabc9d scripts: test build of Replay in build_all.sh 2014-03-19 21:04:16 +11:00
Andrew Tridgell
ff5bc7520c build: added AntennaTracker to build_all.sh
ensure it keeps working
2014-02-18 19:16:47 +11:00
Andrew Tridgell
604d7fce47 build: rover doesn't fit on APM1-1280 any more 2014-01-22 19:49:18 +11:00
Andrew Tridgell
89b083dd52 build: make build log a bit less verbose
don't show the whole commit patch
2014-01-22 19:46:04 +11:00
Andrew Tridgell
5a16d8067a build: better error reporting for failures in build_binaries.sh
this will make it easier to track down build failures
2014-01-22 19:00:15 +11:00
Andrew Tridgell
0b7e96b528 autotest: ensure old tags in PX4NuttX and PX4Firmware don't get used 2014-01-20 19:54:35 +11:00
Andrew Tridgell
58c66f255c build: added support for board specific tags in build_binaries
make it possible to build an APM2 specific build
2014-01-14 22:37:03 +11:00
Andrew Tridgell
0401e8f914 build: support vehicle-tag tags for PX4 builds 2014-01-14 15:59:02 +11:00
Andrew Tridgell
b59f2d4326 build: put px4io elf files in build directory 2013-12-28 10:17:47 +11:00
Andrew Tridgell
504bdd8139 build: fixed build_all for heli 2013-11-13 09:12:02 +11:00
Andrew Tridgell
ea09aebed0 autotest: raise timelimits again 2013-11-05 16:17:25 +11:00
wiseman
4aa7badd98 Updated build instructions & script.
Updated the README and the install-prereqs-ubuntu.sh script to reflect
changes in the PX4 build steps and the PX$ & NuttX repository used to
build ardupilot.
2013-10-22 00:33:45 -07:00
Andrew Tridgell
be253c6cd9 build: fixed build_all.sh 2013-10-14 10:14:13 +11:00
Andrew Tridgell
cdf813697a autotest: speed up build_all_px4.sh
only build archives once
2013-10-10 14:14:39 +11:00
Andrew Tridgell
453581b25a autotest: added linux build to build_all.sh 2013-10-01 12:11:50 +10:00
Andrew Tridgell
5b5038f419 build: skip FLYMAPLE examples 2013-09-24 14:27:32 +10:00
Andrew Tridgell
070a0fefd9 build: added flymaple to build_all.sh test 2013-09-24 13:56:03 +10:00
Andrew Tridgell
387b6afed4 autotest: ensure JSBSim is dead at start of testing 2013-09-13 13:22:00 +10:00
Andrew Tridgell
4f33e4e114 autotest: fixed handling for wiki and xml generation 2013-09-12 10:01:30 +10:00
Andrew Tridgell
e43234874a build: avoid rebuilding PX4 archives for each copter type
this should make build_binaries.sh much faster
2013-09-06 20:05:23 +10:00
Andrew Tridgell
b992423f4d autotest: log versions of trees in build log 2013-09-06 11:46:19 +10:00
Andrew Tridgell
639f479c45 build: cope with config.mk from configure
the HAL_BOARD syntax doesn't work with shell with set -e
2013-09-04 12:03:54 +10:00
Andrew Tridgell
25255d79e8 PX4: cope with relative path for PX4_ROOT in build_binaries.sh 2013-08-30 17:59:32 +10:00
Andrew Tridgell
dadd3ee4ea PX4: upload both v1 and v2 firmwares on firmware.diydrones.com 2013-08-30 13:39:39 +10:00
Andrew Tridgell
11676d3faa PX4: no need to build px4-io now 2013-08-30 13:35:31 +10:00
Andrew Tridgell
935546d80d PX4: setup build layout to assume PX4Firmware and PX4NuttX trees
both in directory above ardupilot
2013-08-30 13:32:23 +10:00
Andrew Tridgell
61507ccd20 autotest: build docs on each autotest run 2013-08-15 09:04:58 +10:00
Andrew Tridgell
81bb4f26a1 autotest: update plane test with more modes
added tests for FBWB, STABILIZE, CRUISE, ACRO and CIRCLE
2013-07-16 13:23:48 +10:00
Andrew Tridgell
becd180441 autotest: external timeout must be greater than internal timeout
or we can get blank output
2013-07-08 21:52:24 +10:00
Andrew Tridgell
5b29c82a2b autotest: update timeout again
we're getting too close
2013-06-19 07:25:13 +10:00
Andrew Tridgell
757adacf8a autotest: added $HOME/APM to PYTHONPATH 2013-06-18 17:02:00 +10:00
Andrew Tridgell
e553d89928 autotest: test build of rover HIL 2013-06-04 11:58:29 +10:00
Andrew Tridgell
dc712aab1f build: removed plane 1280 build from autotest
we probably won't support it for the next release.

See http://diydrones.com/forum/topics/keep-supporting-apm1-1280-in-arduplane
2013-05-31 18:30:11 +10:00
Andrew Tridgell
96df6d6f7c scripts: allow build_parameters.sh to work from either APM directory or above 2013-05-30 12:19:50 +10:00
Andrew Tridgell
1d9c1628fa autotest: stop updating google code parms, and add separate vehicle parms
We have moved the google code parms to wordpress

this allows GCS developers to pull only the parameters for the vehicle
they are flying if they prefer.
2013-05-28 10:25:21 +10:00
Andrew Tridgell
cf10ecad2b scripts: fixed plane auth for wordpress upload 2013-05-27 23:07:38 +10:00
Andrew Tridgell
63b09c8ff9 scripts: added auto upload of parameters to new wordpress wiki 2013-05-27 23:06:18 +10:00
Andrew Tridgell
d7b1c69362 autotest: increase the timelimit for longer copter tests 2013-05-22 21:42:25 +10:00
Andrew Tridgell
c6006972a2 autobuild: added FORCE_BUILD for forcing a rebuild 2013-05-22 19:20:35 +10:00
Andrew Tridgell
1e8357ba02 autobuild: create both old and new binary names 2013-05-22 19:14:43 +10:00
Andrew Tridgell
83a82ec504 scripts: don't push parameters XML on any errors 2013-05-21 17:02:13 +10:00
Andrew Tridgell
5296e858b6 build: fixed build_all_px4.sh for new PX4 build 2013-05-10 09:40:29 +10:00
Andrew Tridgell
ad9d3360da PX4: fixed px4io build in build_binaries.sh 2013-05-10 06:43:29 +10:00
Andrew Tridgell
2b8ea4db43 build: fixed build_binaries.sh for new PX4 build 2013-05-10 06:16:54 +10:00
Andrew Tridgell
7e36935140 autotest: keep images in history 2013-05-06 14:04:39 +10:00
Andrew Tridgell
58d5fab412 autotest: copy .tlog files to history 2013-05-03 14:38:32 +10:00
Andrew Tridgell
d227d2559d autotest: added APMVERSION to firmware.diydrones.com version 2013-04-24 16:16:21 +10:00
Andrew Tridgell
67de5e5172 autotest: added unpack_mp.sh script
used to generated
http://firmware.diydrones.com/Tools/MissionPlanner/upgrade
2013-04-24 13:56:42 +10:00
Andrew Tridgell
cd624f68b9 build: touch directories to get dates right 2013-04-23 11:23:47 +10:00
Andrew Tridgell
00dc9712de scripts: test apm2beta build in autotest 2013-04-16 11:26:01 +10:00
Andrew Tridgell
bad15438d5 scripts: added flashlog magnetic fit code
this runs the same mag offset code APM uses, but on a flashlog
2013-04-15 14:07:45 +10:00
John Wiseman
8eb097a53c Added Vagrantfile to define a standardized Ubuntu 12.04 32-bit
development environment.

Added a script, install-prereqs-ubuntu.sh, that installs all packages
and software required for development on AVR and PX4 platforms.

pch: rebased pullreq 183
2013-04-07 11:05:33 -07:00
Andrew Tridgell
4a02af088b autotest: check for new build tags 2013-03-29 20:00:42 +11:00
Andrew Tridgell
60ae67992d autotest: fixed mavlink update path 2013-03-29 19:21:48 +11:00
Andrew Tridgell
94463fd91e autotest: copy latest firmware html on each run 2013-03-23 16:19:23 +11:00
Andrew Tridgell
8ec5ba9cec build: autobuild stable and beta binaries
this populates http://firmware.diydrones.com with latest, stable and
beta binaries
2013-03-23 14:30:44 +11:00
Andrew Tridgell
e0c8a9c443 autotest: fixed build_parameters.sh script 2013-03-22 09:42:10 +11:00
Andrew Tridgell
54cb722f9a autotest: fixed frame sizes logging 2013-03-18 17:47:51 +11:00
Andrew Tridgell
ac10e7ea26 Tools: build all the PX4 copter frame types 2013-03-18 15:23:09 +11:00
Andrew Tridgell
3deaf0beee Tools: added the top level scripts for autotest 2013-03-18 15:16:08 +11:00
Andrew Tridgell
1d836db862 build: added all 7 copter frame types to binary build 2013-03-18 14:44:41 +11:00
Andrew Tridgell
cf62619108 build: record git version in firmware build 2013-03-14 12:58:33 +11:00
Andrew Tridgell
5762a13223 build: add 1280 build for rover and plane 2013-03-12 12:45:21 +11:00
Andrew Tridgell
cb414fb652 Build: fixed location of latest/ directory 2013-03-10 22:00:03 +11:00
Andrew Tridgell
fcfed2e81d autotest: build all binaries for master on each commit 2013-03-10 17:16:56 +11:00
Andrew Tridgell
891f35835e Tools: added build_all_px4.sh
this brings px4 into autotest
2013-02-12 08:35:39 +11:00
Andrew Tridgell
7a051616ec Tools: fixed build_examples.sh to not depend on board in config.mk 2013-01-14 07:03:16 +11:00
Andrew Tridgell
5818dd9cd8 scripts: removed apm2beta from build tests 2013-01-11 21:19:32 +11:00
Andrew Tridgell
8cf4cbf611 Tools: use parallel builds in build_all.sh
saves developer time. Most devs have multi-core machines now
2013-01-07 11:11:10 +11:00
Andrew Tridgell
4ee969f439 Tools: fixed build_all.sh script 2012-12-20 14:52:37 +11:00
Andrew Tridgell
958b27f06d fixup 2012-12-20 14:52:36 +11:00
Andrew Tridgell
306dc926ff Tools: allow targets to be specified in build_examples.sh 2012-12-20 14:52:36 +11:00
Andrew Tridgell
33e6edcab2 scripts: added apm2 hil to build_all.sh 2012-12-04 11:13:54 +11:00
Andrew Tridgell
45390badb1 autotest: test rover SITL build 2012-11-27 21:50:08 +11:00
Andrew Tridgell
8f845f897c autotest: test apm2 rover build 2012-11-27 21:48:07 +11:00
Andrew Tridgell
495dfc30e6 scripts: added build_example.sh script
used to test the build of all our example code
2012-11-24 21:06:52 +11:00
Andrew Tridgell
ed7eec91f4 build: added sitl-newcontrollers to build_all.sh 2012-08-22 12:45:14 +10:00
Andrew Tridgell
16e06ea1f4 ACM: build DMP version in autotest
this gives it a chance of keeping working
2012-08-21 15:58:59 +10:00
Andrew Tridgell
60caaa4b04 MAVLink: remove MAVLink 0.9 protocol support
this simplifies the code a lot. We're not going back to 1.0
2012-07-05 13:00:46 +10:00
Andrew Tridgell
54d5819f4c test: it is no longer possible to build with MAVLink 0.9
the Camera and Mount code make it impossible because of the incredibly
silly arduino cpp handling.
2012-06-15 16:27:11 +10:00
Andrew Tridgell
d5c9d31774 Rover: added APMrover2 to build_all.sh
hopefully it will stay building
2012-06-10 19:35:56 +10:00
Andrew Tridgell
25c17a5425 re-enable the AP_Mount build 2012-06-04 19:32:11 +10:00
Andrew Tridgell
d1fe093921 autotest: fixed build_all.sh for MAVLink 1.0 2012-06-04 13:14:52 +10:00
Andrew Tridgell
4f90e6e844 build: cope with Arduino 1.0 in command line build
this should autodetect 1.0 versus older builds
2012-04-27 15:38:42 +10:00
Andrew Tridgell
615defdc37 use build_all.sh to ensure we don't break the mount code 2012-04-24 10:57:43 +10:00
Andrew Tridgell
e5ec810c92 autotest: fixed check of return code for build_all.sh 2012-02-20 09:17:08 +11:00
Andrew Tridgell
08d730c266 scripts: added some more builds to build_all.sh 2012-02-19 17:05:28 +11:00
Andrew Tridgell
a0d4e940ef Heli: added heli build to build_all.sh script
ensure heli builds are tested
2012-02-19 16:34:43 +11:00
Andrew Tridgell
176c12657d added more build types to build_all.sh 2011-12-12 15:14:55 +11:00
Andrew Tridgell
f66a98b969 scripts: added build_all.sh
this is useful when testing merge work
2011-11-25 20:00:19 -08:00
James Goppert
14d27b1e4c Cleaned up AP_GPS formatting. 2011-10-28 14:52:50 -04:00
James Goppert
77da85648d Clean up formatting for AP_Common 2011-10-28 14:43:43 -04:00
James Goppert
fc12113167 Adding bash formatting script using astyle. 2011-10-27 16:30:15 -04:00
Andrew Tridgell
3fc0b4c673 script to generate frame sizes from .lst files
this is used by http://apm.tridgell.net
2011-09-18 09:31:50 +10:00