Commit Graph

1117 Commits

Author SHA1 Message Date
Andrew Tridgell 0215e08f86 Tools: add option to configure_all.py to do builds 2019-03-15 11:54:57 +11:00
Andrew Tridgell 9c3e606076 CI: added configure-all.py to travis testing
make sure all hwdef.dat files can be used
2019-03-15 11:54:57 +11:00
Andrew Tridgell e67ccbe13d Tools: added bootloader configure to configure_all.py 2019-03-15 11:54:57 +11:00
Andrew Tridgell 57ab496a1c Tools: fixed board selection in build_binaries.py 2019-03-11 15:55:57 +11:00
Andrew Tridgell 13e3c2fa92 Tools: fixed exception in generate_manifest.py 2019-03-11 15:44:28 +11:00
Andrew Tridgell aca2115401 Tools: auto-build CubeYellow 2019-03-11 12:40:21 +11:00
Andrew Tridgell f30f7ca395 travis: added F7 and H7 boards to travis builds
ensure these two build types don't get broken
2019-03-11 08:53:06 +11:00
Tom Pittenger d47663c0ba Tools: allow uploader.py to detect ttyS* on Ubuntu on Windows (WSL) 2019-03-10 21:31:22 +11:00
filipsladek 09b09ad288 Tools: scripts: Update jsbsim installation script.
According to http://ardupilot.org/dev/docs/setting-up-sitl-on-linux.html

"
In the past ArduPilot required a special version of JSBSim. As of December 2018 that is no longer the case, and we can use the standard JSBSim releases.
"

Moreover currently build-jsbsim.sh is failing with error:

../../src/models/propulsion/FGTurbine.h:297:3: error: ‘FGParameter’ does not name a type; did you mean ‘FGThruster’?
   FGParameter *N1SpoolUp;
   ^~~~~~~~~~~
2019-03-08 22:26:04 +11:00
Peter Barker e68ceda59e Tools: scripts: uploader.py takes target-system / target component 2019-03-05 09:52:03 +11:00
Buzz 31697a3b0c Tools: add support for GCOV code coverage tool and HTML reporting with LCOV.
first, "apt install gcovr lcov" as new prerequisites
then run:
./waf configure --enable-gcov
./waf build --lcov-report
and after much waiting review the report in HTML format with your preferred browser eg:
firefox reports/lcov-report/index.html
2019-03-04 23:46:40 +11:00
Mark Whitehorn 48e4d779ac Tools: scripts: uploader.py: add dict of compatible board IDs 2019-03-03 14:27:38 +11:00
Peter Barker 94c5a39b4f Tools: uploader.py: factor out a find_bootloader method
This also changes to try to close the port if sending on it fails.
2019-02-28 09:51:16 +11:00
Peter Barker e8b18a46a4 Tools: uploader.py: break out a modemmanager_check 2019-02-28 09:51:16 +11:00
Peter Barker f9908efb65 Tools: uploader.py: move baud_flightstack initialisation outside loop 2019-02-28 09:51:16 +11:00
Peter Barker 36109cae65 Tools: uploader.py tidy port list code 2019-02-28 09:51:16 +11:00
Andrew Tridgell a5a8575c83 Tools: removed old vrbrain build scripts 2019-02-27 20:32:37 +11:00
Andrew Tridgell b619e1e560 Tools: remove more px4 remnants 2019-02-27 20:32:37 +11:00
Francisco Ferreira 3da3f75c41 Tools: ci: remove old code 2019-02-27 07:03:22 +11:00
Andrew Tridgell 4caf1c9080 Tools: autobuild Pixhawk4Pro and CubeOrange 2019-02-26 18:23:13 +11:00
Andrew Tridgell ec2c742523 Tools: added Holybro to supported USB IDs for upload 2019-02-26 16:18:26 +11:00
Andrew Tridgell 6a4da68c4f Tools: auto-build TBS-Colibri-F7 board 2019-02-22 10:28:53 +11:00
Pierre Kancir 910de89b4e Tools: add DEVTYPE_RM3100 to decode_devid.py 2019-02-20 22:06:31 +11:00
MohamedAliRashad ddab9455e8 Tools: install-prereqs: do not use sudo to install Python packages 2019-02-19 13:29:03 +11:00
Peter Barker 5828915a02 Tools: scripts: remove build_all_vrbrain.sh 2019-02-13 10:11:29 +11:00
Patrick José Pereira 57955421b5 Tools: Correct install-prereqs-ubuntu user input text
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2019-01-26 09:02:45 +09:00
Patrick José Pereira 060f97b8e7 Tools: Correct install-prereqs-mac user input text
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2019-01-26 09:02:45 +09:00
Patrick José Pereira d37df424ab Tools: Correct install-prereqs-arch user input text
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2019-01-26 09:02:45 +09:00
Patrick José Pereira 31dbf282cb Tools: Update install-prereqs-ubuntu
Add lsb-core check for lsb_release

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2019-01-25 14:37:39 -08:00
LukeMike 2f06484bb4 HAL_ChibiOS: added VRBrain boards into common_boards (build_binaries) 2019-01-24 18:41:38 +11:00
Willian Galvani 8638446c36 Tools: update install-prereqs-arch.sh 2019-01-14 14:25:11 -07:00
Andrew Tridgell 36d908c524 Tools: fixed typo for CubePurple 2019-01-10 21:33:05 +11:00
Siddharth Purohit 719a6507ee Tools: build CubePurple on build server 2019-01-10 16:27:02 +11:00
murata 6613c678a0 CI: Delete NuttX version processing 2019-01-08 10:06:20 +11:00
Stephen Dade fb53e354c0 Tools: updated STM Tools url for ubuntu/arch install scripts 2019-01-06 18:32:51 +11:00
Andrew Tridgell fc2b43313e Tools: fixed error in build_binaries.py 2018-12-28 16:24:18 +11:00
Andrew Tridgell 6e15b16511 Tools: restore px4 builds of stable and beta releases 2018-12-28 16:08:38 +11:00
Andrew Tridgell 9bc9d44c3b Tools: removed px4 builds from build_all.sh 2018-12-28 15:54:36 +11:00
Andrew Tridgell 323fd121e4 Tools: fixed submodule update order for appveyor 2018-12-27 09:44:20 +11:00
Andrew Tridgell d6715290ff Tools: fixed appveyor configure 2018-12-27 08:48:50 +11:00
Andrew Tridgell cf582cdb12 CI: added appveyor build of SITL for MissionPlanner 2018-12-26 10:32:19 +11:00
Andrew Tridgell 9596358f3c CI: removed px4 builds 2018-12-22 11:06:59 +11:00
Matt 211e7b1f1c Auto Build: Move solo targets to Copter only 2018-12-12 06:58:46 +11:00
Matt 000af43db6 Auto Build: Add Solo build targets
Adds Solo builds for the Cube Black and Cube Green to auto build.
2018-12-11 11:03:41 +11:00
Michael Oborne a24f870a0d apj_tool: fix binary writes 2018-12-06 08:34:26 +11:00
Peter Barker d0f070d05d Tools: rename px_uploader.py into uploader.py, move into scripts 2018-11-15 09:55:14 +11:00
Andrew Tridgell 495a2a3870 Tools: added MatekF405-STD to autobuild 2018-11-11 07:07:52 +11:00
Andrew Tridgell 76f4b132b2 Tools: build omnibusf4v6 2018-11-04 22:02:05 +11:00
Andrew Tridgell f612c2cfce Tools: added script to build and copy iofirmware 2018-10-30 14:00:03 +11:00
Lucas De Marchi cbe462fa57 Tools: add ist8308 to devtype dict 2018-10-25 20:19:30 -07:00
Lucas De Marchi e85b37ffc4 Tools: allow to decode devid in hex 2018-10-25 20:19:30 -07:00
Patrick José Pereira fac329dd16 Tools: Add ArduSub test
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-10-24 10:20:08 +11:00
Andrew Tridgell 1c3d90d8b5 scripts: added DrotekP3Pro to autobuild 2018-10-21 09:59:44 +11:00
Peter Barker 99090b7170 Tools: build_ci.sh: enable math index checking for sitltest-rover 2018-10-19 08:46:43 +11:00
Peter Barker af6e308108 Tools: scripts: configure_ci.sh: install numpy so quaternions work 2018-10-16 13:39:26 +11:00
Andrew Tridgell cb88947700 Tools: added speedybeef4 and F35Lightning to autobuild 2018-10-16 09:40:57 +11:00
Andrew Tridgell 74c5831afa Tools: added mRoX21-777 to autobuild 2018-10-16 09:37:39 +11:00
Pierre Kancir a6322279d4 Tools: scripts: buid_ci.sh: Double quote to prevent globbing and word splitting. 2018-10-04 20:01:59 +10:00
Pierre Kancir a5ef99bcf9 Tools: scripts: build_ci.sh: correct syntax 2018-10-04 20:01:59 +10:00
Peter Barker d858569544 Tools: scripts: build_ci.sh: factor out run_autotest function 2018-10-03 15:20:17 +10:00
Patrick José Pereira a543023e1b Tools: Build CI with clang
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-10-03 13:56:37 +10:00
Patrick José Pereira 8b2ccc87aa Tools: Move from clang3.7 to clang7
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-10-03 13:34:59 +10:00
Andrew Tridgell 19dae42c4f travis: added build of iofirmware 2018-09-19 12:14:15 +10:00
Adam Watkins 2fe3535fd8 Docker: add Dockerfile for Docker container support 2018-09-05 11:29:33 +10:00
Peter Barker c902260925 Tools: remove extra running of unit tests from build_ci.sh 2018-09-03 09:57:38 +01:00
Francisco Ferreira 37b9e76737 Tools: update CI scripts
Remove old CMake PPA (Trusty has a more recent version)
Remove ccache from APT install since we build it from source
Update ccache to version 3.4.2
Add extra checks for compiler presence
Since no ccache DB is saved between builds we don't limit its size anymore and Make builds can use it
2018-08-30 16:34:56 -07:00
Peter Barker 4543604085 Tools: scripts: build_ci.sh: build and run unit tests in ci 2018-08-31 07:59:25 +10:00
cclauss 650ee3f441 Python 3 treats old style exceptions as syntax errors 2018-08-19 20:37:06 +10:00
Patrick José Pereira 8e76f0f6d9 scripts: Add mavproxy in pip install
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-08-18 09:32:13 +10:00
Peter Barker b8030816b8 Tools: autotest: add tests for mode changes for Copter and Rover 2018-08-01 12:11:30 +09:00
Henry Wurzburg 33a7d2fef8 Add OmnibusNanoV6 board to builds 2018-08-01 12:32:38 +10:00
Andrew Tridgell fcab097572 Tools: updated CI link for STM32-tools 2018-07-30 14:16:11 +10:00
Andrew Tridgell ccc1170c8c Tools: auto-build Pixhawk1 2018-07-27 10:02:31 +10:00
Stephen Dade 0130ff9b89 Tools - updated URL and git submodule command for install-prereqs 2018-07-19 14:52:05 +09:00
Andrew Tridgell 9cba2c9bd3 Tools: fixed build target for F4BY 2018-07-18 21:24:44 +10:00
Andrew Tridgell 34e9a6e693 Tools: added f4by to autobuild list 2018-07-18 21:11:44 +10:00
Andrew Tridgell 44cfb6eaca Tools: added KakuteF7 to builds 2018-07-13 14:53:53 +10:00
Andrew Tridgell 087aa1a199 Tools: decode SITL device IDs 2018-07-13 10:19:01 +10:00
Andrew Tridgell 20d1d9dc36 Tools: build Pixracer and mRoX21 in autobuild 2018-07-12 12:33:32 +10:00
Luis Vale Gonçalves 0e6780e18b Update tap and update pre-reqs
Update tap to ardupilot and updated the pre-reqs
2018-07-11 12:14:07 -07:00
Andrew Tridgell 7c3a75b609 Tools: added auto-build of PH4, PH4-mini and CUAVv5 boards 2018-07-10 18:29:14 +10:00
Andrew Tridgell 7c55c60beb Tools: run configure_all.py in build_all 2018-07-06 10:21:12 +10:00
Andrew Tridgell 7ceb83ae9d Tools: added configure test for all boards 2018-07-06 10:21:12 +10:00
Andrew Tridgell 43ab8d88bf Tools: fixed test for supported boards 2018-07-05 09:17:44 +10:00
Andrew Tridgell b97fa4c978 Tools: allow pattern of boards to build_bootloaders.py 2018-07-05 07:53:48 +10:00
Andrew Tridgell 9def39f89f Tools: auto-build CubeBlack 2018-07-05 07:53:48 +10:00
Andrew Tridgell bff796af4e Tools: removed annoying print msgs 2018-06-28 11:35:13 +10:00
Andrew Tridgell f3a2d63747 Tools: don't generate a _with_bl file for the bootloader itself 2018-06-25 21:22:31 +10:00
Andrew Tridgell 77929dabb3 Tools: fixed python3 error in make_intel_hex.py 2018-06-25 21:22:31 +10:00
Andrew Tridgell 949af17fa4 Tools: save _with_bl.hex files in firmware download 2018-06-24 20:15:38 +10:00
Andrew Tridgell 623a30be55 waf: build hex file with and without bootloader
this allows for DFU tools without losing parameters
2018-06-24 16:47:23 +10:00
Andrew Tridgell f202ff87e2 Tools: only build one target for revo-mini 2018-06-24 08:26:28 +10:00
Andrew Tridgell 3900949d19 Tools: build a lot more board binaries 2018-06-24 08:26:28 +10:00
Peter Barker b555370e07 Tools: build_binaries: remove build directory before configure
with recent changes this should actually be marginally faster than
keeping old build products around
2018-06-23 17:51:45 +10:00
Andrew Tridgell e2d29fe1db Tools: install intelhex package for CI 2018-06-23 17:06:38 +10:00
Andrew Tridgell 338ff6ae64 waf: automatically build intel hex fw when possible
this combines the bootloader and application code into a single binary
2018-06-23 17:06:38 +10:00
Andrew Tridgell 4cafcc4eae travis: added revo-bootloader to CI
this ensures the bootloader build will keep working
2018-06-23 17:06:38 +10:00
Andrew Tridgell ae1d1cad5e Tools: added a script to build all bootloaders 2018-06-23 17:06:38 +10:00
Peter Barker e9a07bdd6f Tools: create CHIBIOS_GIT_VERSION build-time define 2018-06-18 19:10:37 +01:00
Andrew Tridgell 76750a1d9d scripts: added fmuv5 to autobuild 2018-06-08 09:56:41 +10:00
Andrew Tridgell 11b327e336 scripts: update decode_devid.py for new IMUs 2018-06-06 07:15:41 +10:00
Michael du Breuil dcc25838fb CI: Run param parse last, on all CI instances
This makes param parse failures much more obvious in the CI logs, as
well as ensuring that both Semaphore and Travis will fail on bad
parameter data (which should reduce user confusion when one service
passes and the other fails).
2018-06-05 09:11:09 +10:00
Peter Barker d320e8517d Tools: correct check for realpath 2018-05-17 17:27:43 +10:00
Peter Barker 3615219c4c Tools: install-prereqs-ubuntu: correct check for realpath 2018-05-16 08:35:54 +10:00
Peter Barker 5f44327dab Tools: install-prereqs-ubuntu: only install realpath package if available
This has been rolled into coreutils in more recent Ubuntus
2018-05-15 12:52:03 +10:00
Buzz 0f39c4da80 Tools: install-prereqs-ubuntu.sh: increase verbosity
Make it a bit more verbose in regard to which script is running, helpful for new user/s especially.
2018-05-15 12:09:32 +10:00
Buzz f5b2d5ca66 Tools: jsbsim script should not re-install jsbsim if it's already installed
It's called unconditionally from other script/s that may be run repeatedly
2018-05-15 12:08:19 +10:00
Andrew Tridgell 6ab96fe8a9 Tools: don't publish elf files in build_binaries.py
these just confuse users of ChibiOS
2018-05-10 17:37:59 +10:00
Pierre Kancir cc50fff51f Tools: install-prereqs-ubuntu: add xterm to SITL install list 2018-05-09 13:38:36 +10:00
Patrick José Pereira 9dee2c4981 Tools: Add ardusub
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-05-08 09:58:13 +10:00
Patrick José Pereira f4559113c5 Tools: Update build_docs script
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-05-08 09:58:13 +10:00
Lucas De Marchi 997d9f58de build: invert default for header checks
In the end the build time is always almost the same, but it's a pain to
change one header and have it check the world. CI continues to use the
check so we can get any mistake before merging.
2018-05-04 11:47:04 -07:00
Michael du Breuil f19d01332b Tools: Reintroduce arduplane to CI script 2018-04-11 13:26:29 +10:00
Peter Barker b4682f8b2a Tools: scripts: build_binaries.py: understand magic ChibiOS boards 2018-04-10 15:48:31 +10:00
Peter Barker 1b3dc9faf7 Tools: scripts: build_binaries.py: remove tmpdir between all builds
This ensures we don't reuse build producs incorrectly.
2018-04-10 15:48:31 +10:00
Peter Barker 4a986264be Tools: build_binaries: add fmuv{2,3,4} and mindpx-v2 to common vehicles 2018-04-10 15:48:31 +10:00
Peter Barker 9138c07fc5 Tools: install-prereqs-ubuntu: install wx for python on older Ubuntus
This installs wx on Trusty, so graphing from sim_vehicle.py works.
2018-04-04 07:58:23 +10:00
Andrew Tridgell 98ab1c13db Tools: fixed call to apj_tool in skyviper build 2018-03-24 16:11:50 +11:00
Peter Barker cafa5382e9 Tools: Revert "Tools: autotest: use custom gcc for ChibiOS builds"
This reverts commit 78a3e1d07a.

Apparently we can release with the existing compilers, it builds and
flies just fine
2018-03-23 13:06:59 +11:00
Peter Barker 78a3e1d07a Tools: autotest: use custom gcc for ChibiOS builds 2018-03-23 11:06:24 +11:00
Peter Barker a396a0d0fd Tools: build_binaries.py: copy more build products into output binaries directory 2018-03-23 11:06:24 +11:00
Peter Barker 53f4282458 Tools: include skyviper-v2450 in binaries produced 2018-03-23 11:06:24 +11:00
Peter Barker 2b87f6dcca Tools: autotest: replace use of distutils.dir_utils
distutils.dir_utils.mkpath was throwing a file-not-found error
2018-03-21 10:27:58 +11:00
Peter Barker 9208308121 Tools: stop build_parameters.sh copying non-existent files
We stopped generating these files some time ago
2018-03-14 10:55:21 +11:00
Peter Barker a4d9d8ed6b Tools: add set -x to build_parameters.sh
This aids in diagnosing failures on autotest
2018-03-14 10:55:21 +11:00
Peter Barker 80cb2e343c Tools: build_binaries.py: print errors out at end of run 2018-03-09 19:09:34 -08:00
Peter Barker cff8a98aa5 Tools: autotest.py: remove building of APM binaries
We have not supported APM for years.

However, we retained the ability to build the APM firmware as
part of the autotest process.

This commit removes that ability.  Past this point the autotest server
will not build any firmware for the apm1 or apm2 boards.  There is no
intention to remove the existing firmware blobs.

Work is planned on build_binaries.py, thus this removal.
2018-03-09 19:09:34 -08:00
Andrew Tridgell 585c484be0 Tools: fixed syntax error in build_binaries.py 2018-03-10 07:44:25 +11:00
Huibean 7c499571ea add install-prereqs-mac.sh 2018-03-09 10:10:00 -08:00
Peter Barker 9f41641378 Tools: make decode-devid print address in hex too 2018-03-07 19:12:50 +11:00
Peter Barker 3f17ac765e Tools: build_binaries: raise a CalledProcessError on bad exit code
We've been silently ignoring bad exit codes.  Stop that.
2018-03-01 19:50:50 +11:00
Peter Barker 4d28fa8e09 Tools: build_binaries.py: catch exception on copy failure
Also correct some debug and add flake8 compliance
2018-03-01 19:50:50 +11:00
Peter Barker cbbd5d3410 Tools: remove unused build_binaries.sh script
This was left as a reference while working out problems with
build_binaries.py

It is now causing confusion.
2018-03-01 13:52:16 +11:00
Peter Barker 0a7ae22398 Tools: Vagrant: use install-prereqs-ubuntu for installation 2018-02-13 13:49:41 +09:00
Andrew Tridgell 507fcb0f27 Tools: moved make_abin.sh into Tools/scripts
will be used in px4 build
2018-02-08 18:56:51 +11:00
Andrew Tridgell d208dc69d3 Tools: moved make_abin.sh into ChibiOS scripts 2018-02-08 17:36:33 +11:00
Andrew Tridgell 4570213665 scripts: added make_abin.sh script
used to create binary for install of SkyViper 2450GPS via web UI
2018-02-08 17:36:33 +11:00
Patrick José Pereira 6ca1c03767 Tools: Skip reinstall of existing packages in install-prereqs-arch
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-02-08 09:54:37 +09:00
Patrick José Pereira 8aa00e88e2 Tools: Correct submodule update script in install-prereqs-arch
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-02-08 09:54:37 +09:00
Patrick José Pereira d73f534bc7 Tools: Check if symbolic link already exist in install-prereqs-arch
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-02-08 09:54:37 +09:00
Michael du Breuil a7cdca030c Tools: Split sitl tests into per vehicle tasks 2018-01-23 13:34:54 +09:00
Robert Clarke 69b9438e7f Tools: use posixpath for compatability with git on Windows (MSYS) 2018-01-16 11:05:45 +09:00
Andrew Tridgell 0b78817b81 Tools: added apj_tool.py
used to change embedded parameters in firmware
2017-12-18 11:14:59 +11:00
Peter Barker b6415b34d1 Tools: do not build combined parameters as part of build_autotest 2017-12-16 11:08:35 +11:00
Peter Barker 5ee9361941 Tools: generate_manifest: include firmware type as differentiator 2017-11-24 12:12:35 +11:00
HeBin c700e69541 Tools: add Robsense PhenixPro Devkit Board support 2017-11-22 10:10:21 -08:00
Peter Barker b6404ff26b Tools: build_binaries.py: handle badly formed config.mk 2017-10-26 17:22:06 +11:00
Peter Barker efefdfa037 Tools: build_binaries.py: support config.mk 2017-10-26 09:25:35 +11:00
Peter Barker 9e7d2e837a Tools: build_binaries.py: translate build_binaries.sh into python 2017-10-25 12:02:19 +11:00
Peter Barker 5d02dc4a30 Tools: generate_manifest.py non-fatal if not all vehicle dirs exist 2017-10-25 12:02:19 +11:00
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
LanderU df84cde3e6 Added erlebrain2 in build_binaries.sh 2016-05-10 14:28:22 -03:00
Lucas De Marchi b07acea6b6 Tools: get version exclusively from version.h 2016-05-07 22:55:48 -03:00
Staroselskii Georgii 2b77bc02bf build: add navio 2 target to build server 2016-04-29 16:48:36 -03:00
Staroselskii Georgii 1605e34f7d Tools: added Navio 2 build to CI
This way Navio 2 will be built on Travis.
2016-04-29 16:48:36 -03:00
Luis Vale Gonçalves a3698e7da7 Revising ardupilot.com to .org
Revising ardupilot.com to .org
2016-04-23 22:49:46 -07:00
Lucas De Marchi b8cb88092f Tools: install-prereqs-ubuntu: fix exporting PATH
Since we escape $PATH, we can't just try to export that way. Since PATH
is unset if we do this, we end up with things like :

./Tools/scripts/install-prereqs-ubuntu.sh: line 101: apt-cache: command
not found
2016-04-19 00:14:09 -03:00
Lucas De Marchi 0fae368635 Tools: install-prereqs-ubuntu: allow to run from repository
If we are running the script, we are likely inside the repository, in
which case the script would fail while searching for a directory named
ardupilot. Derive the root directory from the script location.
2016-04-19 00:14:09 -03:00
Lucas De Marchi 757f48ff83 Tools: install-prereqs-ubuntu: fix return code checking
We are running the script with -e so we can't check the return code like
that.
2016-04-19 00:14:09 -03:00
Lucas De Marchi 4c6dac2d5d Tools: install-prereqs-ubuntu: install python-setuptools 2016-04-19 00:14:09 -03:00
Lucas De Marchi 03f5362538 Tools: install-prereqs-ubuntu: remove 32-bit variants
These are not necessary and cause trouble in Ubuntu 16.04.
2016-04-19 00:14:09 -03:00
Lucas De Marchi 1a24a3174f Tools: install-prereqs-ubuntu: fix string concatenation
ubuntu@ubuntu-xenial:~/ardupilot$ ./Tools/scripts/install-prereqs-ubuntu.sh
./Tools/scripts/install-prereqs-ubuntu.sh: line 19:  python-wxgtk3.0: command not found

While at each, change to use lsb_release like the other scripts.
2016-04-19 00:14:09 -03:00
Andre Kjellstrup b6b593b6fb Tools: install-prereqs-ubuntu: update for Ubuntu 16.x
No older versions of Ubuntu is affected by this script.
2016-04-19 00:14:09 -03:00
Francisco Ferreira 0f69b49ff1 ci: add ccache to clang builds 2016-04-17 14:47:55 -03:00
Francisco Ferreira 95343255e1 ci: use updated version of ccache 2016-04-17 14:47:55 -03:00
Francisco Ferreira b5faf9c361 ci: allow build systems to use ccache more efficiently 2016-04-17 14:47:55 -03:00
Francisco Ferreira 25f9832717 ci: split configure script between installing APT packages and other configurations 2016-04-17 14:47:55 -03:00
Andrew Tridgell 8408428339 travis: disable px4 builds in waf for now
they are broken by the PX4Firmware merge
2016-04-14 08:05:06 +10:00
Andrew Tridgell fa36d6cac1 Travis: added force-yes to try to fix build 2016-04-12 05:56:27 +10:00
Peter Barker 009bb7fa9c build_binaries: regenerate manifest after building binaries 2016-04-05 09:05:57 +10:00
Peter Barker d7977dfcc2 Tools/scripts/generate-manifest.py: json description of binaries directory 2016-04-05 09:05:57 +10:00
Andrew Tridgell 27934a893e autotest: raise timeout again
after trying lots of other things to speed up build_binaries.sh it
still isn't fast enough, so this just raises the timeout by 50%
2016-04-02 07:47:16 +11:00
Andrew Tridgell 72e4ed5665 autotest: no need to check other repos now
we don't need to check other repos now we use submodules for all code
2016-04-01 09:44:33 +11:00
Andrew Tridgell 36ef4d422c Revert "autotest: added a temporary web bug"
It has done its job, and we now know the IP of the old server
2016-04-01 08:10:02 +11:00
Andrew Tridgell 20cd06da09 autotest: added a temporary web bug
(we need to find IP of old autotest server)
2016-03-31 15:22:09 +11:00
Andrew Tridgell e90edd0abc autotest: build in a constant directory
this gives a much higher hit rate in ccache
2016-03-30 09:01:24 +11:00
Andrew Tridgell e0a465f8f4 autotest: added some parallelism to px4 build in build_binaries 2016-03-30 07:45:11 +11:00
Andrew Tridgell af68fa94c0 autotest: fixed build_binaries.sh script bug 2016-03-29 15:39:08 +11:00
Andrew Tridgell 2806171839 autotest: use recursive forced update in build_binaries.sh 2016-03-28 15:01:01 +11:00
Andrew Tridgell df765f0d43 autotest: raise lock timeout 2016-03-26 19:28:04 +11:00
Peter Barker 39ab0e5b7d autotest: buildand retain version files 2016-03-25 21:02:40 +11:00
Andrew Tridgell dea708b368 Tools: switch to ardupilot.org for firmware and autotest 2016-03-25 16:46:11 +11:00
Francisco Ferreira 4643c7bf9e travis: add Clang builds
PX4 isn't supported at the moment and sitltest always use GCC, so we include the only ones that build
Travis has old LLVM installed and old Clang in a strange path (not a package) which interfere with the use of clang-3.7
2016-03-20 00:17:02 -03:00
Francisco Ferreira dd93f62bdd ci: fix PATH export 2016-03-20 00:17:02 -03:00
Francisco Ferreira 34de26502d ci: add Clang package
Use flags to tell Waf what compiler to use
Don't use Make build system if compiler is Clang
2016-03-20 00:17:02 -03:00
Peter Barker 48f7aa1556 Tools: build_parameters.sh also stashes Parameters.rst 2016-03-17 18:16:10 +11:00
Peter Barker 6a44cb244d Tools: factor build_parameters.sh 2016-03-17 18:16:10 +11:00
Lucas De Marchi df150cd8dd ci: add missing ppa for Trusty
Thanks Francisco Ferreira.
2016-03-14 18:48:03 -03:00
Lucas De Marchi 02619b4a25 ci: install cmake >= 3.2
Also remove the -qq from the call to apt-get install so it's easier to
debug failures in future.
2016-03-14 14:55:22 -03:00
Grant Morphett 0d9a3840d8 autotest: Added submodule update and removed old modules update
Firstly build.All was failing as the submodules had not been updated
so the 'git submodule update' in this commit resovles that.
Secondly, now that the dependant projects like PX4Firmware etc are git
submodules of ardupilot we no longer need to check them out separately
and update them so I have removed all those.
I left MAVProxy as it isn't a submodule of ardupilot.
2016-03-08 11:40:48 +11:00
Fredrik Hedberg e88e8835b1 Tools: Use GCC 4.9 as an Ubuntu prereq as older version is no longer available. 2016-02-29 16:58:48 -03:00
Andrew Tridgell 15945c50cb scripts: ensure we have clean build for px4 2016-02-24 19:33:16 +11:00
Gustavo Jose de Sousa 38da32853a ci: use --enable-benchmarks in waf configure 2016-02-22 15:36:48 -03:00
Andrew Tridgell 119cf6bb13 ci: added sitltest target
this adds some basic SITL testing to our CI
2016-02-22 12:34:32 +11:00
Gustavo Jose de Sousa 7b0a6d301d ci: use command 'all' instead of 'build' for waf
The command build uses 'bin' programs group by default. By using the command
'all', we tell the build system to build all programs.
2016-02-01 14:08:39 -02:00
Lucas De Marchi 36d669a2ab ci: switch linux/sitl compiler to 4.9 2016-01-20 14:19:08 -02:00
Lucas De Marchi 1cd20c50a6 ci: integrate ccache configuration
Also split the exportline setting to allow one PATH per line.
2016-01-20 14:19:07 -02:00
Ricardo de Almeida Gonzaga c8d01f4bf4 ci: add configure-ci.sh
In order to use it in Travis and in Semaphore.
2016-01-20 14:19:07 -02:00
Ricardo de Almeida Gonzaga 0db54e7b36 ci: change TRAVIS_BUILD_TARGET to CI_BUILD_TARGET on build_ci.sh 2016-01-20 14:19:07 -02:00
Ricardo de Almeida Gonzaga e816a4845a ci: rename build_all_travis.sh to build_ci.sh
Since we're going to support SemaphoreCI[1] besides Travis.

[1] - https://semaphoreci.com/
2016-01-20 14:19:07 -02:00
Andrew Tridgell c2a12b55a0 scripts: raise max lockage in autotest 2016-01-20 07:43:43 +11:00
Andrew Tridgell b8c6bee132 autotest: raise overall timeout 2016-01-20 07:42:29 +11:00
Andrew Tridgell 15c8a27d5e scripts: added some debug to travis script 2016-01-20 07:42:28 +11:00
Gustavo Jose de Sousa 6ca58eac78 travis: fix verification for calling waf check
The use of `[[ $t == linux ]] && $waf check` makes the script exit with
non-zero status when $t isn't linux *and* that's the last thing executed.
2016-01-19 11:56:30 -02:00
Andrew Tridgell 56f8e3d414 scripts: added runfliptest.sh example script 2016-01-19 14:30:09 +11:00
Andrew Tridgell 889da98ca6 scripts: cope with older releases that don't support FMUv4 2016-01-19 14:18:32 +11:00
Gustavo Jose de Sousa d7f50ab668 travis: call waf check for linux
That helps preventing applying code that break unit tests.
2016-01-19 00:21:15 -02:00
Andrew Tridgell 3ea05759d1 travis: setup BUILDROOT to try to make builds faster 2016-01-19 12:28:04 +11:00
Andrew Tridgell 1416780976 scripts: copy px4-v4 binaries to autobuild published directories
this allows users to use pre-built binaries for pixracer
2016-01-19 11:18:51 +11:00
Andrew Tridgell df64a63243 scripts: use BUILDROOT in build_all.sh and build_binaries.sh
better ccache performance

fixup
2016-01-16 16:07:42 +11:00
Andrew Tridgell d65ace2e34 scripts: make build_examples.sh much faster 2016-01-15 19:09:21 +11:00
Gustavo Jose de Sousa 7d94095497 travis: unset CXX and CC at the beginning
Those environment variables are set by default by Travis. That fails cross
compilation with waf. There is a GitHub issue open related to that behavior at
https://github.com/travis-ci/travis-ci/issues/4682 .  This change can be
reverted if eventually that is fixed.
2016-01-11 16:31:59 -02:00
Andrew Tridgell 2c617cf8f0 scripts: stop building flymaple for plane
it no longer fits in flash
2016-01-09 17:03:41 +11:00
Julien BERAUD 514b60cf5e Tools: add bebop build to travis 2015-12-15 18:59:03 +09:00
Gustavo Jose de Sousa 9b7f365e3a travis: fix waf calls
The path to waf became wrong after the decision of using waf as a submodule.
2015-12-08 11:14:04 +11:00
Gustavo Jose de Sousa 8456cb4532 travis: support waf build
Currently, an associative array variable waf_supported_boards is used to
trigger waf build only the currently supported boards. After the transition to
the new build system is done, that variable can be removed.

We're just building for now - there is a current issue related to the rotation
for solo, and it turns out that the first unit test added as an example is for
vector rotations. After that is solved we can use waf check, so that unit tests
are run as well.
2015-12-03 07:54:32 +11:00
Andrew Tridgell 672fc86d44 Travis: added px4-v4 to the travis build 2015-11-27 19:23:29 +11:00
Lucas De Marchi 17d9da4036 travis: use container infrastructure
In order to use the container infrastructure we can't use sudo to
install packages. Now Travis has a way to install packages by specifying
them in the .travis.yml. This greatly simplifies how we install the
packages and there's no need for a separate script anymore.

This also removes several outdated packages that aren't needed anymore.
2015-11-26 07:56:52 +11:00
Andrew Tridgell d43ef07f98 autotest: switched examples build to navio
apm2 no longer supported. Navio provides good coverage of the code for
example builds
2015-11-16 07:57:57 +11:00
Andrew Tridgell 6bad33c922 scripts: use px4-clean for all binaries targets 2015-11-05 16:38:48 +11:00
Lucas De Marchi d16a924a15 scripts: don't install avr tools 2015-11-04 12:14:16 +11:00
Lucas De Marchi 5c29703732 build: remove tools to find arduino 2015-11-04 12:14:16 +11:00
Lucas De Marchi ddc3988b4a Travis: add minlure target 2015-10-24 14:28:31 +11:00
Andrew Tridgell 16bc7d8b2e Tools: fixed datestamp on compiler download 2015-10-20 15:54:44 +11:00
Andrew Tridgell 279a320f44 Tools: switch autobuild to 4.9 compiler 2015-10-20 15:28:13 +11:00
Philippe Hamelin 3af95cc3da scripts: add catkin_pkg and python-empy to Ubuntu prerequisites 2015-10-08 15:30:10 +09:00
Lucas De Marchi 6cf1c5fdd6 Tools: add raspilot to travis builds 2015-09-24 15:31:32 +10:00
Grant Morphett f871f040fb scripts: Adding AT to autotest build 2015-09-16 09:24:29 +09:00
Grant Morphett 00e6cd40e5 scripts: Support to build for frame specific tags
The driver for this is to separate the Copter and TradHeli builds so
Copter and TradHeli do not have to be released at the same time.  This
will also work for all frame times but it is anticipated only required
by Heli.
2015-09-08 09:05:43 +10:00
Grant Morphett ccfefac2fe build_all: Remove the all target as it just builds SITL. 2015-08-31 20:45:11 +09:00
Grant Morphett 2769487ac0 build_all: Need to remove APM2 from the default master build 2015-08-31 18:31:43 +10:00
Grant Morphett c0a28c45f8 scripts: using the wrong variable for the board type 2015-08-28 12:00:07 +10:00
Andrew Tridgell b03c6137a8 Travis: don't do APM2 build in travis any more
we no longer require APM2 compatibility for patches in master
2015-08-28 10:42:45 +10:00
Andrew Tridgell 81d4864c10 autotest: added more autotest build logging 2015-08-27 12:03:28 +10:00
Andrew Tridgell b966f7fc3e autotest: ensure we start on master branch 2015-08-27 12:03:14 +10:00
Lucas De Marchi a2d17b87c7 Tools: add realpath to ubuntu prerequisites
The realpath tool may be missing on a Ubuntu distro and we use it in
sim_vehicle.sh.  Make sure it's also installed as part of sitl packages.

On Archlinux it's part of the coreutils package which is part of the
base group. Therefore it's guaranteed to be available.

Fix #2730.
2015-08-23 11:14:53 +09:00
Andrew Tridgell 1cd5b9da9b scripts: use AVR specific branches for builds for APM1/APM2 2015-08-20 10:45:00 +10:00
Lucas De Marchi 1f90d43c57 Tools: allow script to fixup a single file
Instead of always trying to fix the entire tree, accept paths in the
command line so it only fixes that paths. This allows to easily rebase a
branch after the header changes, without touching the rest of the tree.
2015-08-18 17:12:52 +10:00
squilter 79efad339f Tools: add ccache setup to arch setup script 2015-08-12 14:29:51 -07:00
squilter a112e08e42 Tools: add script to set up Arch Linux 2015-08-12 14:29:48 -07:00
Gustavo Jose de Sousa ae9a314295 Tools: add script for standardize includes of libraries headers 2015-08-11 16:38:25 +10:00
squilter c5550329a3 Tools: fix ubuntu prereqs script to force python2 2015-07-18 13:48:29 +09:00
squilter 506970fbd3 Tools: Add Bebop prereqs to Ubuntu script 2015-07-14 18:10:56 +09:00
Andrew Tridgell 42023eb17a autotest: check for .gitmodules before ldir check
another attempt to get build_binaries going
2015-06-26 11:32:15 +10:00
Andrew Tridgell 48828a7834 autotest: more changes to cope with older builds without submodules 2015-06-24 09:36:21 +10:00
Andrew Tridgell fd17a69cd1 autotest: skip binary builds without submodules
the build_binaries is trying to build for navio and pxf without
submodules
2015-06-23 21:43:44 +10:00
Andrew Tridgell 63895cbe75 autotest: build pxf and navio binaries for firmware.diydrones.com 2015-06-23 14:27:49 +10:00
Lucas De Marchi ac09a61238 Travis: split build by target instead of vehicle
This way we can group together the builds that are fast so we pay the
"setup price" just once.  Let the long PX4 build on its own VM because
it's the one that takes most of the time building NuttX.

By grouping the projects by target it's also easier to split the build
in more VMs if we want to speed up the build.
2015-06-17 09:26:04 +10:00
Lucas De Marchi a435269839 Travis: make most targets run with -j2
As documented in Travis the VMs have 1.5 cores
(http://docs.travis-ci.com/user/speeding-up-the-build/#Parallelizing-your-build-on-one-VM).
So let's make it only -j2.

The exception is PX4 build that runs without any -j setting since NuttX
fails to build if we do that.
2015-06-17 09:26:04 +10:00
Lucas De Marchi 985764fb1c Travis: build APMrover2 and AntennaTracker for apm2 2015-06-17 09:26:03 +10:00
Lucas De Marchi 5c5bdc2c7b Travis: use associative arrays
This makes the script be more declarative and easier to extend.
2015-06-17 09:26:03 +10:00
Lucas De Marchi ae40aed2a2 Travis: split build using vehicle types
Travis build is timing out because it's taking too much time. Let's
split the build so 1) they can run concurrently and 2) we don't timeout.
We still lose some time due to multiple checkouts, but at least we don't
fail the build due to timeout.
2015-06-17 09:26:03 +10:00
Lucas De Marchi a124fbc4c2 Travis: don't build same configuration multiple times
In ArduPlane "make all" is the same as "make sitl" and both sitl and
linux are already covered by the loop below.  Don't build the same
configuration multiple times.
2015-06-17 09:26:03 +10:00
Andrew Tridgell 22d5d2e251 scripts: fixed build_binaries for submodules
no longer have PX4_ROOT
2015-06-15 06:54:02 +10:00
Staroselskii Georgii c0dceb667d Travis: reduced number of threads used for a build 2015-06-11 16:27:51 +10:00
Andrew Tridgell 57cef63b94 autotest: enable submodule build for binaries 2015-06-09 16:57:30 +10:00
Andrew Tridgell 28ffd9d4ed travis: setup for git submodules 2015-06-09 16:51:55 +10:00
Andrew Tridgell e233376074 scripts: don't build VARTest example 2015-06-01 17:07:09 +10:00
Andrew Tridgell d00f1c0d4d scripts: fixed handling of no-pde for fw version 2015-05-22 16:07:43 +10:00
Andrew Tridgell 332fdbbbea Scripts: removed 'make configure' 2015-05-21 10:54:19 +10:00
Andrew Tridgell be8ebd5802 travis: don't require apm1-nologging to work 2015-05-15 17:55:50 +10:00
Andrew Tridgell 7d3b3533e4 autotest: updated wiki page names for auto-generated parms 2015-05-08 16:38:17 +10:00
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