Commit Graph

1040 Commits

Author SHA1 Message Date
Siddharth Purohit eab0507d37 Tools: waf: add build for CubeOrange-periph 2020-09-24 12:32:19 +10:00
Pierre Kancir b48d2d9631 Tools: remove empy from configure-ci.py 2020-09-22 10:05:19 +10:00
Tatsuya Yamaguchi 37691c751c Tools: replace message indicating that initialisation has completed 2020-09-22 09:52:52 +10:00
Peter Barker 3e708b9b29 Tools: build_parameters.sh: compress parameter xml files 2020-09-15 11:19:23 +10:00
Peter Barker 3f2c06f8c0 build_ci.sh: correct cron job check against 'linux'
We don't actually run this cronjob.
2020-09-15 09:18:04 +10:00
Peter Barker 466d61a881 Tools: build_log_message_documentation.sh: compress log message documentation files 2020-09-14 13:29:05 +10:00
Andrew Tridgell 0f7f9a22fd Tools: added Matek GPS and airspeed builds 2020-09-09 06:38:05 +10:00
Andrew Tridgell a9ca78532e Tools: added MSP bus type to decode 2020-09-09 06:35:50 +10:00
Pierre Kancir 11417ac3a7 Tools: build-ci: use python -m pip for easier pip version management 2020-09-04 09:31:23 +10:00
Pierre Kancir 7648413f8c Tools: configure-ci: use python -m pip for easier pip version management 2020-09-04 09:31:23 +10:00
Patrick José Pereira 050334273e Tools: Remove trailing spaces of build_ci
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2020-09-03 18:14:34 +10:00
Patrick José Pereira 30e2aad6b9 Tools: Add arm-linux-musleabihf toolchain
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2020-09-03 18:14:34 +10:00
Patrick José Pereira ee4f267743 Tools: Add navigator test in build_ci
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2020-09-03 18:14:34 +10:00
Peter Barker 119462aeb1 build_binaries.py: Python3 fix
Something in the program output is not ascii
2020-08-28 08:31:46 +10:00
Peter Barker ebc28d817f travis: build mRoX21-777 with -Werror 2020-08-19 08:12:06 +10:00
Peter Barker 1b481b6e6a Tools: uploader.py squelch warning when not able to find hwdefs 2020-08-15 11:59:40 +10:00
Mark Whitehorn 7d33017c8a Tools: scripts: uploader.py: update --identify option 2020-08-14 11:53:58 +10:00
Peter Barker 2a2a78d15d tools: fix a couple of minor issues in decode-ISCR 2020-08-06 14:59:09 +10:00
Pierre Kancir f2e6a79276 Tools: script: add a script to generate Mission Planner full parameters file 2020-08-05 22:32:33 +10:00
bugobliterator d489100a70 Tools: ensure that we use environment Python interpreter 2020-08-03 14:02:09 +10:00
Peter Barker b298477266 Tools: uploader.py: correct silently dropped exception in failure case
uploader.INFO_BL_REV is string, not integer
2020-07-21 22:43:11 +10:00
Andrew Tridgell 2a3238b7de Tools: added baro decode 2020-07-21 08:20:01 +09:00
Peter Barker 1c772b94cd Tools: build-binaries and generate-manifest py3 fixes 2020-07-20 16:44:33 +10:00
Henry Wurzburg 682fd8b1ba Tools: remove fmuv4 and update Pixracer 2020-07-13 15:24:54 +10:00
Andrew Tridgell ef8b09fa8b Tools: added Holybro Pix32v5 to build 2020-06-12 21:23:16 +10:00
Peter Barker db6fef7ebd Tools: uploader: translate board IDs into board type in incompat output 2020-06-09 10:30:50 +10:00
Peter Barker 7bd32338ef travis: run tradheli tests 2020-05-29 19:12:20 +10:00
pkocmoud 67e79638d4 build_binaries: add mRoPixracerPro 2020-05-27 21:22:56 +10:00
Peter Barker 539e73e49c Tools: uploader.py: print board name as well as board id 2020-05-26 14:13:39 +10:00
Michael du Breuil 9d6a138680 Tools: Require edn_format again 2020-05-07 18:11:17 +10:00
Pierre Kancir 2b2dcbb6d8 Tools: Configure-ci: correct some mistakes 2020-04-30 20:32:34 +10:00
pkocmoud 75b5e20c6a build_binaries.py: add mRo MN10070 Location One CAN GPS 2020-04-30 11:31:43 +10:00
Andrew Tridgell ec73cb0e88 Tools: don't fail CI if we can't install edn_format
trying to fix semaphore
2020-04-29 18:51:16 +10:00
Andrew Tridgell 300cfa4380 Tools: added param_unpack.py
decode param.pck file
2020-04-29 07:36:55 +10:00
Andrew Tridgell a2da360ecc Tools: added --Werror to bootloader builds 2020-04-28 10:32:23 +10:00
Andrew Tridgell 13e11d6a19 Tools: omit f103-periph and f303-periph from configure_all.py 2020-04-28 10:32:23 +10:00
Andrew Tridgell faffcb304a Tools: allow continue of configure_all.py script 2020-04-28 10:32:23 +10:00
Andrew Tridgell 911d643c35 Tools: added -Werror option to configure_all.py 2020-04-28 10:32:23 +10:00
Andrew Tridgell 6887252ad3 Tools: added mRoNexus to build 2020-04-23 07:28:13 +10:00
bugobliterator 49843fc3e7 script: add special decoding for CAN devid 2020-04-22 07:54:21 +10:00
Peter Barker e1e4e6c3c1 build_binaries: add compatability code for git tags
The tags are still called APMrover2-stable rather than Rover-stable - so
cope with that in build_binaries.py for the time being
2020-04-15 21:16:56 +10:00
Andrew Tridgell 1f3f04e5b8 Tools: added MatekH743 to build 2020-04-14 13:17:31 +10:00
Peter Barker 2088446ebf Tools: rename APMrover2 to Rover 2020-04-14 09:50:34 +09:00
CUAVcaijie b97d20acba Tools: added CUAV-X7 to autobuild 2020-04-13 15:26:02 +10:00
Philipp Borgers 5e09553449 Tools: remove trailing white spaces from output of generate_manifest
Explicitly set the seperators of the json.dumps call. Some versions of
the library in combination with set indent parameter create output that
contains quite a lot of trailing white spaces.
2020-04-10 16:25:09 +10:00
Andrew Tridgell 04d760d54c Tools: added new RM3100 ID 2020-04-08 11:21:51 +10:00
Peter Barker 87d363c3f4 Tools: use renamed autotest step names 2020-03-27 18:20:52 +11:00
Peter Barker 2d29cc3eda Tools: build_ci.sh: use canonicalised autotest names 2020-03-27 09:29:19 +11:00
Andrew Tridgell bdc615e4cc Tools: added rcda_decode script 2020-03-24 09:10:36 +09:00
Peter Barker 1104f15d88 Tools: build log message documentation on autotest server 2020-03-20 13:05:46 +11:00
Peter Barker 9bb40af1c7 Tools: add script to build all parameter documentation 2020-03-20 13:05:46 +11:00
Peter Barker 61cc1decc3 Tools: start of script to help decode stm32 ICSR register
pbarker@bluebottle:~/rc/ardupilot(master)$ ./Tools/scripts/decode-ICSR.py 4196355
VECTACTIVE: 3  (Hard fault)
RESERVED1: 0
ROTOBASE: 1
VECTPENDING: 0
RESERVED2: 0
ISRPENDING: 1
RESERVED3: 0
PENDSTCLR: 0
PENDSVCLR: 0
PENDSVSET: 0
RESERVED4: 0
NMIPENDSET: 0
pbarker@bluebottle:~/rc/ardupilot(master)$
2020-03-18 11:22:41 +11:00
Peter Barker bb0920d56a Tools: build_parameters: remove unused function parameters 2020-03-12 08:40:29 +11:00
Andrew Tridgell e15bb744ff Tools: improve build_bootloaders.py script
give list of failed builds
2020-03-11 09:53:06 +11:00
Andrew Tridgell 0f7de04d79 Tools: added image_size to manifest 2020-03-11 09:43:06 +11:00
Peter Barker 49314b2b86 Tools: build_autotest.sh: install pymavlink after MAVProxy
Currently installing MAVProxy pulls pymavlink in as a dependency, so we
end up running whatever MAVProxy's master branch is pointing to
(currently pymavlink>=2.3.3).

ardupilot master can reference a pymavlink commit which is not part of
whatever MAVProxy's master branch is pointing to, so we end up with
failures like this in autotest:

  fly.ArduCopter:
    Mount (Test Camera/Antenna Mount) ('module' object has no attribute 'MAV_CMD_DO_SET_ROI_SYSID') (see /mnt/volume_nyc3_01/autotest/APM/buildlogs/ArduCopter-Mount.txt)
    FixedYawCalibration (Test Fixed Yaw Calibration) ('module' object has no attribute 'MAV_CMD_FIXED_MAG_CAL_YAW') (see /mnt/volume_nyc3_01/autotest/APM/buildlogs/ArduCopter-FixedYawCalibration.txt)

If we install pymavlink after installing MAVProxy we should end up with
the pymavlink messages generated from the messages in our mavlink
subdirectory, rather that the pymavlink messages shipped as part of the
pymavlink pip release.
2020-03-09 15:04:20 +11:00
Peter Barker d464db9c70 Tools: create log of build_binaries.py builds 2020-03-07 20:49:36 +11:00
Peter Barker 194998d631 travis: restore fly.ArduCopter as running all tests 2020-02-22 16:51:39 +11:00
Peter Barker 82f53abee2 autotest: restore fly.ArduCopter as running all tests
the test list for ArduCopter is made up of those from tests1 and tests2
2020-02-22 16:51:39 +11:00
Andy Piper 05a0fe615b Tools: split Copter tests into two runs to balance time on travis 2020-02-22 11:15:37 +11:00
Pierre Kancir 1d8a9ab556 Tools: make dumpstack and run-coverage .sh script 2020-02-20 20:41:26 +11:00
Pierre Kancir 097cffaa06 Tools: build_ci: remove useless check for waf support 2020-02-20 20:41:26 +11:00
Peter Barker 14e758a6d1 Tools: add sitltest-tracker into build_ci.sh 2020-02-19 13:13:45 +11:00
Andrew Tridgell 01b5337d91 Tools: auto-build f303-M10025 2020-02-17 12:49:34 +11:00
CUAVcaijie b854fa3d4e Tools: added CUAV-Nora to autobuild 2020-02-12 21:17:49 +11:00
Peter Barker 93ac71095d Tools: build_binaries, sort boards before building, print board counts 2020-02-08 11:06:32 +11:00
Andrew Tridgell b3ff75ed6b Tools: fixed list for USBID in generate_manifest.py 2020-01-27 10:16:49 +11:00
Andrew Tridgell d87306afbd Tools: auto-build f303-Universal firmware 2020-01-26 09:12:55 +11:00
Andrew Tridgell 0d283bf3a7 Tools: added --build-target to configure_all.py 2020-01-19 07:24:57 +11:00
Andrew Tridgell a777031f54 Tools: auto-build R9Pilot 2020-01-18 17:00:44 +11:00
Michel Pastor e2ac1acfcc Tools: added SuccexF4 to auto build 2020-01-18 14:54:29 +11:00
Peter Barker 2342ea600a Tools: exclude build-linux-libraries and gtest from coverage analysis
The build-linux-libraries were mavlink-generated headers created when we
build the examples.  We don't intentionally try to test anything in
there at the moment, so it's noise.
2020-01-13 16:11:49 +11:00
Andrew Tridgell 82148607ee Tools: add USBID to generated apj file 2020-01-06 09:55:26 +11:00
Peter Barker 57300d0769 Tools: remove build before running coverage
Stop losing a run because a file has been removed.
2020-01-05 12:16:59 +11:00
Andrew Tridgell 26e0f5c084 Tools: add python version option to configure_all.py 2020-01-02 09:52:57 +11:00
Andy Piper 70d00f2361 Tools: generate_manifest for KakuteF7Mini 2019-12-30 21:16:42 +11:00
Andrew Tridgell e813d349ba Tools: added bin format as valid firmware 2019-12-29 19:57:06 +11:00
Peter Barker 29e8d17e2c Tools: show test timings in CI output 2019-12-29 08:05:01 +11:00
Michael du Breuil cebe4eefa5 Tools: Remove gcc 4.9 from CI prereqs 2019-12-20 11:03:31 +11:00
Andrew Tridgell c545171cec Tools: fixed compiler path for autotest 2019-12-17 18:10:23 +11:00
Andy Piper fc16c5c2ae Tools: align ci gcc with environment gcc v6 on arm 2019-12-17 10:56:44 +11:00
Peter Barker 704407118b Tools: use https:// scheme for ardupilot URLs 2019-12-10 07:53:46 +11:00
Andrew Tridgell d7018a2ba0 Tools: switch to https URL for firmware 2019-12-08 07:44:14 +11:00
Andrew Tridgell dd4ec08ec8 Tools: removed old wordpress update of params 2019-12-05 14:29:58 +11:00
Andrew Tridgell 36ea023e8d Tools: added H7 info in uploader
and don't mention 1M flaw unless family is vulnerable to it
2019-11-25 21:52:45 +11:00
Peter Barker 8f99262ffe Tools: CI: install MAVProxy from source rather than using pip
Trying to get correct version of pymavlink (i.e. the one with messages
references in our mavlink repository)

As-is, if there is a pymavlink release after the one references in the
ardupilot repo, we don't pick up any new messages in the Python
bindings.
2019-11-12 07:52:22 +08:00
Peter Barker ee1f919244 Tools: do recursive submodule update when installing pymavlink 2019-11-12 07:52:22 +08:00
Peter Barker 1279c63ece Tools: run-coverage: build unit-tests and examples with debug 2019-11-08 14:34:15 +11:00
Andrew Tridgell db8c682a14 Tools: added f303-GPS to builds 2019-11-01 10:53:53 +11:00
Andrew Tridgell cd98659abe Tools: cope with location of AP_Periph in Tools directory 2019-10-25 13:52:43 +11:00
Andrew Tridgell 9a176526d7 Tools: include bin files on firmware server for AP_Periph 2019-10-25 13:52:43 +11:00
Andrew Tridgell 6f6a8d5d14 Tools: auto-build AP_Periph binaries 2019-10-25 09:35:27 +11:00
Andrew Tridgell c5afc3ff99 Tools: use crc_crc32() in app descriptor 2019-10-21 19:12:01 +11:00
Andrew Tridgell 5cda8b4a4f Tools: updated AP_Periph CI and docs
target is now f103-GPS
2019-10-16 13:13:24 +11:00
Andy Piper 16c9649ced Tools: bootloader and binary build for Kakute F7 mini 2019-10-12 21:53:55 +11:00
Andrew Tridgell c19d31d0c3 Tools: autobuild Pixhawk1-1M 2019-10-01 09:08:25 +10:00
Peter Barker 073248eca5 Tools: autotest: remove vestiges of waf-run coverage 2019-09-27 07:20:21 +10:00
Andrew Tridgell f5364e5efa Tools: added script for creating apj file from *.bin
useful when you have a binary firmware and want to be able to upload
it with uploader.py
2019-09-25 08:40:02 +10:00
Peter Barker d8fb003cc2 Tools: add entry for running unit tests to build_ci.sh 2019-09-24 14:30:13 +10:00
Peter Barker 642935fd43 Tools: random Python cleanups based on lgtm analysis 2019-09-21 22:26:03 +10:00
Peter Barker cefd30a086 travis: run balancebot tests as part of CI 2019-09-18 09:10:37 +10:00
Andrew Tridgell 84b035692f Tools: added --no-bl option to configure_all.py 2019-09-16 12:53:44 +10:00
Andrew Tridgell ab5868c0fa Tools: added CubeBlack+ to autobuild 2019-09-16 12:53:44 +10:00
Andrew Tridgell f881e4a248 Tools: autobuild skyviper-journey 2019-09-12 14:02:36 +10:00
Peter Barker 6352e10811 Tools: scripts: build_ci.sh: understand env CI_BUILD_DEBUG 2019-09-11 06:55:37 +10:00
Andrew Tridgell 99bcab955b CI: added peripheral build to travis 2019-08-27 10:29:56 +10:00
Andrew Tridgell 687f2a3da4 Tools: fixed apj_tool for python3
py3 really is a major pain for simple string tools
2019-08-26 12:31:02 +10:00
Peter Barker cd45f3a14c Tools: build_binaries.py: honour BUILDLOGS environment variable 2019-08-21 14:51:09 +10:00
Peter Barker 6d6eb1f751 Tools: move coverage analysis into Tools/scripts/run-coverage 2019-08-12 12:29:51 +10:00
Peter Barker cfd7e05257 Tools: build_binaries.py: correct comment on common_boards call 2019-08-07 11:54:04 +10:00
Peter Barker 066a382a3d Tools: build_binaries.py: add omnibusf4 to build target list 2019-08-07 11:54:04 +10:00
Andrew Tridgell e708446f4d Tools: rename Pixhawk6 to Durandal 2019-08-01 14:11:06 +10:00
bugobliterator 6469174a84 Tools: move to using separate firmwares for heater polarity values 2019-07-25 17:05:41 +10:00
Michael du Breuil fbc719c113 Tools: Run parameter emitters 2019-07-23 09:29:48 +10:00
Michael du Breuil bd8d63dd3f Tools: Add edn_format to CI 2019-07-23 09:29:48 +10:00
Peter Barker 392a174e2e Tools: scripts: dumpstack: do not run any gdbinit scripts
Often these scripts look for hardware dongles that may not exist
2019-07-17 14:04:41 +10:00
Andrew Tridgell 05b55945fc Tools: auto-build F765-Wing 2019-07-13 15:23:45 +10:00
Tatsuya Yamaguchi 4321a987f2 Tools: fix the help message 2019-07-11 15:56:49 +09:00
Tatsuya Yamaguchi ba1903708b Tool: fix the switch-to-uart function in TFMiniPlus script 2019-07-11 15:56:49 +09:00
Peter Barker fbb26ff52d Tools: uploader.py: py3 fix 2019-07-03 15:42:28 +10:00
Peter Barker 3c6b08e67f Tools: generate_manifest: correct detection of linux filetypes 2019-06-27 14:41:28 +10:00
DonLakeFlyer b34b276844 Fix tab usage 2019-06-27 07:52:35 +10:00
DonLakeFlyer e7104fb6f0 Fix heli manifest generatio 2019-06-27 07:52:35 +10:00
Peter Barker 98f30fe099 Tools: script: uploader.py: add --identify option
Add option to make it absolutely clear what the MCU revision is and
whether it is flawed
2019-06-25 13:40:27 +10:00
Peter Barker 4b455afd42 scripts: uploader.py: print unplug hint when downloading firmware 2019-06-25 13:40:27 +10:00
Michael du Breuil 93d8f32c8f Tools: Support CubeOrange bootloader in CI 2019-06-19 11:26:44 +10:00
Michael du Breuil 8c7946a9d8 Tools: Remove unneeded sitltest-scripting, it's now the default 2019-06-18 00:06:32 -07:00
Andrew Tridgell 6a558bff2b Tools: removed PYTHONPATH setting
this was breaking mavproxy
2019-06-08 07:14:59 +10:00
Peter Barker 5f018d0798 Tools: scripts: add dumpstack
Given a pid this script attempts to dump a stack trace of that process
to stderr
2019-06-07 22:03:41 +10:00
Andrew Tridgell d66d1a31f0 Tools: set SITL_PANIC_EXIT for build_autotest.sh 2019-06-07 20:33:13 +10:00
Andrew Tridgell 78f3265f27 Tools: fixed typo 2019-06-07 07:43:44 +10:00
Andrew Tridgell 2fb8aba1b2 autotest: use build path on faster filesystem 2019-06-06 09:10:32 +10:00
Andrew Tridgell a745bad5b0 Tools: cleanup autotest script 2019-06-06 08:42:47 +10:00
Andrew Tridgell a4c17a3913 Tools: move skip_board_waf after update_submodules in build_binaries
thanks to Peter for noticing this
2019-06-03 21:48:27 +10:00
Andrew Tridgell 0b321eb84c Tools: speed up builds and report build time per build 2019-06-03 17:59:28 +10:00
斯东Stone 70c0ba5722 AP_RangeFinder: Fix typo in Benewake TFMiniPlus python tool 2019-06-02 23:40:21 -07:00
Andrew Tridgell 3f71a84894 Tools: timestamp build steps
try to track down what is slow
2019-05-31 07:36:16 +10:00
Andrew Tridgell 6690e38ee3 Tools: added in vehicletype
request from Michael
2019-05-30 15:36:41 +10:00
Andrew Tridgell 7c65d89c34 Tools: call gen_stable from build_binaries.py 2019-05-25 11:50:02 +10:00
Lucas De Marchi 0afd58fb99 Tools: add helper script for TFMini Plus
This allows to easily change the sensor back and forth between I2C and
UART modes.
2019-05-24 01:47:04 -07:00
Andrew Tridgell 7186e443ba Tools: added playback tool for onboard logs
allows for visualising flights using flightgear with onboard log
2019-05-16 11:21:13 +10:00
Phillip Kocmoud 9b43870ffe Tools: auto-build mRoControlZeroF7 2019-05-10 15:05:42 +10:00
Andrew Tridgell 372d9483aa Tools: added --download option to uploader.py 2019-05-06 08:08:05 +10:00
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
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