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