Commit Graph

647 Commits

Author SHA1 Message Date
Andrew Tridgell 9ff69b90e1 Tools: added mapping for brand name and manufacturer
requested by Don for QGC
2019-05-05 20:31:58 +10:00
Andrew Tridgell a46ea1d5c5 Tools: keep old stable releases
this will ensure that all future stable releases are kept for users to
select with the GCS
2019-05-03 10:32:21 +10:00
Andrew Tridgell 4881d32b18 Tools: added a script to generate missing firmware-version.txt files 2019-04-30 10:29:41 +10:00
Andrew Tridgell 709a4d00d9 Tools: simplify and fix manifest generation 2019-04-30 10:29:41 +10:00
Andrew Tridgell e98d5094b5 Tools: cleanups to generate_manifest.py 2019-04-30 10:29:41 +10:00
Andrew Tridgell 0abec1e0f3 Tools: flake8 fixes for generate_manifest.py 2019-04-29 19:07:11 +10:00
Andrew Tridgell 9da18cd6bc Tools: flake8 fixes for build_binaries.py 2019-04-29 19:07:11 +10:00
Andrew Tridgell cbd72cb7c6 Tools: improved manifest.json
the new manifest.json includes USB IDs, board_id, and bootloader
strings. This will make it possible to generate a list of matching
boards which will allow a GCS to offer a list to the user
2019-04-29 19:07:11 +10:00
Andrew Tridgell 1367e46d2f Tools: fixed manifest.json.gz generation 2019-04-29 19:07:11 +10:00
Matt 09411fed10 BUILD: Update CubeBlack-solo to CubeSolo. 2019-04-29 14:40:13 +10:00
Rajat Singhal a963a0d245 Tools: scripts: Suggest exporting JSBSim path after building
Tools: scripts: Remove debug output in build-jsbsim.sh

Tools: scripts: Restore debug output in build-jsbsim.sh
2019-04-21 17:06:10 +10:00
Peter Barker bec9b6dda4 Tools: apj_tool.py: python3 fixes 2019-04-19 07:28:49 +10:00
Andrew Tridgell 283968afca Tools: rename Pixhawk4Pro to Pixhawk6 2019-04-16 04:33:17 +10:00
Phillip Kocmoud 564a82c5da uploader.py: Add detection for mRo USB devices 2019-04-11 11:16:48 +10:00
Michael du Breuil ae1d7f0b26 Tools: Add a scripting build target to CI 2019-04-10 01:30:32 -07:00
Andrew Tridgell 4aaf3e2dd1 Tools: build CUAVv5Nano firmware 2019-04-08 08:21:39 -07:00
Andrew Tridgell db5776d080 travis: added fmuv2 plane build
this tests HAL_MINIMIZE_FEATURES build
2019-04-08 09:34:15 +10:00
Lucas De Marchi 2cac03bfd3 Tools: auto-build edge 2019-04-06 09:50:13 +11:00
IamPete1 d188245855 Tools: autobuild tracker on common boards 2019-04-06 09:37:37 +11:00
Stephen Dade 7461d70e82 Tools: Consolidated prereq install scripts to single location 2019-04-05 10:31:09 +11:00
Patrick José Pereira 0e5f9454dd Tools: Update ubuntu script to add pexpect
pexpect is used in autotest

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2019-04-02 07:31:37 +11:00
Andrew Tridgell 2d2b02e50b Tools: added more INS device decodes 2019-03-28 09:15:27 +11:00
Peter Barker 176d26b40a Tools: generate_manifest: flake8 compliance 2019-03-26 16:21:14 +11:00
Peter Barker 02e687e99c Tools: generate_manifest: improve handling of unknown tags 2019-03-26 16:21:14 +11:00
Dr Nic Williams 9cab607d0a Tools: pexpect python dependency used by autotest 2019-03-24 09:49:34 +11:00
Peter Barker 4379186333 Tools: scripts: remove dated directories from manifest 2019-03-21 21:28:57 +11:00
Siddharth Purohit bc97ee5498 Tools: fix uploader for macos systems 2019-03-21 18:54:32 +11:00
Peter Barker ca81cd0f1b Tools: build_binaries.py: build SITL binaries for x86_64-linux-gnu and arm-linux-gnueabihf 2019-03-19 20:21:50 +11:00
Andrew Tridgell 7239e2bd07 Tools: fixed iomcu build with configure_all.py 2019-03-15 20:08:26 +11:00
Andrew Tridgell 3d7c6fea78 Tools: added --stop option to configure_all.py 2019-03-15 20:08:26 +11:00
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