Commit Graph

843 Commits

Author SHA1 Message Date
Andrew Tridgell 5b7723d3d0 Tools: make configure_all.py smarter about AP_Periph builds 2021-03-23 12:01:20 +11:00
Pierre Kancir 3f204d976e Tools: split coverage script for easier update 2021-03-18 21:33:01 +11:00
Lava Chemist 35815a5130 Tools: build_binaries.py : Add FlywooF745 2021-03-17 09:20:04 +11:00
Pierre Kancir 52c5a7c417 Tools: add pretty diff size script 2021-03-03 18:56:55 +11:00
Pierre Kancir 7a5a7b1eb5 CI: add examples test 2021-03-03 18:07:38 +11:00
Peter Barker 5a49d98555 Tools: have decode_watchdog try to decode from .log dataflash dumps 2021-03-03 13:38:12 +11:00
Peter Barker 3c83d52e52 Tools: add script to check Python files for flake8-cleanliness 2021-02-18 10:43:05 +11:00
Andrew Tridgell b113fe15ab Tools: added MatekH743-periph to autobuild 2021-02-05 20:13:36 +11:00
Andrew Tridgell 699e61da57 Tools: auto-build new matek boards 2021-02-03 19:05:12 +11:00
Andy Piper 553425f994 Scripts: add bi-directional dshot firmware to built binaries 2021-02-03 18:49:06 +11:00
Andrew Tridgell 6bc4e995a4 CI: build CubeOrange-periph
this ensures H7 based peripherals (which are getting more common)
don't break
2021-01-27 18:24:03 +11:00
Andrew Tridgell bb278a1cc7 Tools: allow tempcal_IMU.py to run without existing tcal params
this makes it possible to run the tcal script on a log from a board
that doesn't have any existing temperature calibration params
2021-01-27 09:49:35 +11:00
Andrew Tridgell af18e0c755 Tools: review fixes 2021-01-21 13:09:21 +11:00
Andrew Tridgell c96e61c0e1 Tools: review fix 2021-01-21 13:09:21 +11:00
Andrew Tridgell 5a180fa7a8 Tools: cope with offset from cal temp to reference temp 2021-01-21 13:09:21 +11:00
Andrew Tridgell 2359a5a1ea Tools: fixed stopping of capture on enable change in tempcal 2021-01-21 13:09:21 +11:00
Andrew Tridgell 6254787c26 Tools: fixed tempcal for when we have gyro cal but no accel cal 2021-01-21 13:09:21 +11:00
Andrew Tridgell e87dbacee7 Tools: switch to fixed reference temperature of 35C 2021-01-21 13:09:21 +11:00
Andrew Tridgell a96b6336b8 Tools: changes from review feedback 2021-01-21 13:09:21 +11:00
Andrew Tridgell e8ab8ed29e Tools: improve tempcal script
- allow display of log corrections
 - added online estimator
 - allow learning using TCLR records
2021-01-21 13:09:21 +11:00
Andrew Tridgell c4664d8e32 Tools: added script to calculate IMU temp compensation parameters
this is run over an onboard log to calculate the INS_TCAL parameters
to enable temperature compensation for gyro and accel
2021-01-21 13:09:21 +11:00
Andrew Tridgell bd9dd7ff4c Tools: added vnav linux target 2021-01-20 10:06:45 +11:00
Andy Piper a07cbc8706 Tools: BeastF7 bootloader
add BeastH7/BeastF7 to builds
update BeastF7 bootloader
2021-01-13 18:09:33 +11:00
Andrew Tridgell faae0a8609 Tools: added support for v3 Invensense sensors
starting with ICM-40609, ICM-42688 and ICM-42605
2021-01-11 14:43:35 +11:00
Peter Barker 4fb4beab67 Tools: adjust decode_watchdog.py for new message format 2021-01-07 17:06:09 +11:00
Andrew Tridgell 53e56d2933 Tools: added SERIAL for decode_devid 2021-01-05 21:13:12 +11:00
Andrew Tridgell 90b8893b4a Tools: removed dependency on genromfs and cmake
we don't need these any more
thanks to James for noticing
2021-01-05 10:18:35 +11:00
auturgy 1c4873cece Tools: build_autotest.sh update email address
drones_discuss is well obsolete.  I've used ardupilot.devel@google.com for now although we could do better, or simply choose not to emit spam.
2021-01-04 14:41:43 +11:00
Peter Barker f1067eee81 Tools: build_ci.sh: re-add KakuteF7Mini for bidir d-shot testing 2021-01-02 22:40:40 +11:00
Hwurzburg f0954f35a7 Tools: change KakuteF7Mini build to KakuteF7 to get biggest flash 2021-01-02 15:55:25 +11:00
Andy Piper b5688c023c Tools: add KakuteFMini to CI f7 build to test bi-directional dshot 2020-12-30 19:14:16 +11:00
Sebastian Witt fe8ccca9a9 Tools: Add Diatone MambaF405 MK2 2020-12-16 19:07:07 +11:00
murata 59445674e7 scripts: Support for decacopters 2020-12-08 11:59:10 +11:00
Andrew Tridgell 97cbf17d01 Tools: added HitecMosaic to autobuild 2020-12-06 16:48:08 +11:00
Pierre Kancir 2e5a5cd43f Tools: correct comment on SITLtest-can 2020-11-25 10:10:03 +11:00
Andrew Tridgell 3366ee9496 Tools: fixed replay CI build 2020-11-24 20:46:37 +11:00
Pierre Kancir 6534557832 Tools: fix replay build on build_ci.sh 2020-11-24 10:10:33 +11:00
Phillip Kocmoud 701ab83f01 HAL_ChibiOS: Added support for mRo ControlZero OEM H7 flight controller 2020-11-18 18:28:24 +11:00
Tom Pittenger 3b6513b932 Tools: add CubeBlack to list of AP_Periph supported boards 2020-11-14 02:26:59 -08:00
Peter Barker 55697a8f8e Tools: correct decoding of hex values in watchdog decoder 2020-11-11 19:27:49 +11:00
Andrew Tridgell fb4b149a73 travis: fixed for tools group for DAL standalone 2020-11-10 16:15:45 +11:00
Andrew Tridgell 18e3c478f3 travis: added replay to travis build tests 2020-11-10 16:15:45 +11:00
Andrew Tridgell 42d62e138b Tools: updated test helpers to assist in replay testing
Co-authored-by: Peter Barker <pbarker@barker.dropbear.id.au>
2020-11-10 16:15:45 +11:00
Peter Barker c786e3560c Tools: decode_watchdog.py: tool to decode watchdog information 2020-11-07 09:59:04 +11:00
Peter Barker b55838f7ff Tools: make decode-ICSR script an object 2020-11-07 09:59:04 +11:00
bugobliterator c72c96fa9c Tools: setup CI test for CANBus 2020-11-04 19:59:40 +11:00
Pierre Kancir fd0e822074 Tools: fix sqlite database creation 2020-10-29 13:07:26 +11:00
Buzz 586e9f80d5 AutoTest: break copter autotests into smaller "under 10 minute" chunks to speedup github actions CI 2020-10-21 18:01:47 +11:00
Patrick José Pereira 16469e703e Tools: Add firmware_version_decoder script
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2020-10-07 19:32:12 +11:00
Peter Barker 8e8b396afe Tools: improve decode-ICSR formatting 2020-10-06 10:30:14 +11:00
QioTek 86100d6316 Tools: add auto build for QioTekZealotF427 2020-10-05 07:41:06 +11:00
Peter Barker 29775f310e Tools: flesh out decode-ICSR tool 2020-10-03 13:28:48 +10:00
Pierre Kancir d0e885764d Tools: build_binaries_history.py: make size printing more pretty 2020-09-30 17:59:33 +10:00
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