Commit Graph

1013 Commits

Author SHA1 Message Date
Pierre Kancir b9f55ba864 Tools: remove update-coverage.sh script 2021-05-20 14:54:47 +10:00
Pierre Kancir 109847c96d Tools: use getopts on run-coverage and factorize code 2021-05-20 14:54:47 +10:00
Pierre Kancir 255cabc9db Tools: remove more path from coverage 2021-05-20 14:54:47 +10:00
Peter Barker 8a3a609e3b Tools: add can_sitl_nodev.sh which doesn't require a (e.g.) babel to run 2021-05-18 17:59:30 +10:00
Andy Piper 319a6404c4 Tools: add KakuteF4Mini to board types and scripts 2021-05-12 17:26:35 +10:00
Andrew Tridgell 8bad533a8e Tools: build FreeflyRTK in CI
this is our only F732 build
2021-05-09 06:44:19 +10:00
Andrew Tridgell c5182e6c16 Tools: auto-build FreeflyRTK 2021-05-09 06:44:19 +10:00
Andrew Tridgell b6fde7ed5a Tools: added can_sitl.sh to make using SITL with real CAN devices easy 2021-04-27 09:01:02 +10:00
Andrew Tridgell 4c9fc334cc CI: enable cygwin build in github actions
this will allow us to drop azure builds once this is confirmed working
2021-04-22 14:03:19 +10:00
Andrew Tridgell c88524a1ac Tools: auto-build luminousbee5 2021-04-21 20:41:34 +10:00
Andrew Tridgell 239e794909 Tools: added script to convert old plane PIDs 2021-04-15 06:57:16 +10:00
Andrew Tridgell ae986967c9 Tools: add G4-ESC to build
this ensures G4 keeps building
2021-04-14 13:11:58 +10:00
Peter Barker f2692ab8d9 Tools: build_parameters: generate AP_Periph parameters 2021-04-11 11:31:41 +10:00
Peter Barker f7fc76f8ab Tools: build_parameters.sh: generate SITL parameters 2021-04-10 11:28:22 +10:00
anbello c83774a7cd add revo-mini-* to build_binaries.py 2021-04-08 20:34:06 +10:00
Peter Barker 5ef5fc9d84 Tools: param_parse: stop generating old .wiki format 2021-04-07 17:08:25 +10:00
Peter Barker f0094bac40 autotest: remove copied-in duplicate of pymavlink rotmat 2021-04-03 13:26:06 +11:00
Peter Barker 79d34b3b64 Tools: make and declare build_binaries.py flake8-compliant 2021-04-01 19:11:50 +11:00
Peter Barker 7c6f1cd590 Tools: build_autotest.sh: pass in --autotest-server to autotest.py
This will tell autotest.py to undertake the steps required for our
autotest server to run correctly
2021-03-26 22:52:35 +11:00
Peter Barker 3035f8dea3 Tools: fix decode_watchdog display of LR,FA and FICSR 2021-03-23 22:49:14 +11:00
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
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