Commit Graph

961 Commits

Author SHA1 Message Date
Peter Barker 7cd58e59c5 Tools: fix define name HAL_CRSF_TELEM_TEXT_SELECTION_ENABLED 2022-01-08 06:18:39 +11:00
Peter Barker fb94cc4092 Tools: use define for define rather than default... 2022-01-08 06:18:39 +11:00
Michelle Rossouw b58ecff90e Tools: Add blimp log message documentation to be built 2022-01-07 22:54:13 +11:00
Peter Barker d6f4f54c0a Tools: include brand name and manufacturer in APJ file, use for manifest 2022-01-07 22:46:52 +11:00
Peter Barker 21c42e3123 Tools: board_list.py: generate from hwdef files 2022-01-07 22:46:52 +11:00
Michelle Rossouw 24f8e03bf6 Tools: Auto-build blimp firmwares 2022-01-06 10:06:33 +11:00
Peter Barker 50942b2df7 Tools: add script returning build options 2022-01-05 19:25:16 +11:00
Michelle Rossouw 38cd386d44 Tools: Add css, red/yellow colour and filtering 2022-01-05 19:03:22 +11:00
Andy Piper 2fcec7d03f scripts: add BeastF7v2 2022-01-05 18:50:41 +11:00
Andrew Tridgell 7e2b010458 Tools: a script to list builds with flash free
example: https://firmware.ardupilot.org/Tools/BuildSizes/builds.html

Pair programmed with MichelleR
2021-12-31 11:11:34 +11:00
Andy Piper d307b15c2d Tools: add BMI270 to decode_devid.py 2021-12-31 09:25:29 +11:00
Andrew Tridgell b901117ab9 Tools: added missing periph builds 2021-12-30 06:03:14 +11:00
mateksys ac49b2a3c8 Tools: add MatekF405-TE bootloader and autobuild 2021-12-22 18:47:37 +11:00
Josh Henderson 74fa47a3bb Tools: fix flash size reporting due to crash_log 2021-12-21 20:33:00 +11:00
Andrew Tridgell 244f0f3e45 Tools: auto-build PixC4-Jetson 2021-12-21 13:05:34 +11:00
Brad Stinson 55d82a4cd8 Tools: build 8MHz IO firmware 2021-12-21 13:05:34 +11:00
Peter Barker 7ebf45616d Tools: scripts: copy param_parse.py JSON output as part of build_parameters.sh
This will populate https://autotest.ardupilot.org/Parameters/ArduCopter/
with the json output
2021-12-21 11:55:51 +11:00
bugobliterator a9c78fe7e3 Tools: also test out directory working in one of the build tests 2021-12-20 12:47:25 +11:00
Josh Henderson 317d32574c Tools: pretty_diff_size, show total flash cost 2021-12-16 14:26:04 +11:00
Andrew Tridgell ea4c929c50 Tools: added decoding of new v3 Invensense sensors 2021-12-14 11:38:36 +11:00
bugobliterator e7ab56674b Tools:libcanard moved to modules/DroneCAN 2021-11-24 18:30:47 +11:00
Andrew Tridgell 821a041cbe Tools: fixed cygwin build for rover
try to fix singleton depenency in scripting
2021-11-19 20:40:30 +09:00
Peter Barker 492104f9f2 Tools: uploader.py: add Swift-Flyer to usb device strings 2021-11-18 15:22:42 +11:00
Peter Barker 477528bd93 Tools: build_binaries.py: split timing out for configure/build steps 2021-11-18 11:54:37 +11:00
Josh Henderson bc9ab66348 Tools: size_compare Change elfdiff_output rectory 2021-11-16 17:13:51 +11:00
Peter Barker 548e8aef2a Tools: run BalanceBot and SailBoat tests as part of coverage 2021-11-10 09:34:05 +11:00
Peter Barker 4bea052692 Tools: check tests actually succeeded
Without this we can get a false impression of how much is being covered

It does mean all your tests have to pass...
2021-11-10 09:34:05 +11:00
Andrew Tridgell 5b3dc03cf6 Tools: auto-build AIRLink board 2021-11-10 08:47:21 +11:00
Andrew Tridgell 8a6a47aa3f Tools: autobuild Pixhawk5X 2021-11-05 14:30:43 +11:00
Andrew Tridgell dfd2686878 Tools: fixed uploader.py for px4 bootloader
by fetching ext flash info before we get IDs the bootloader is left in
a state where it accepts an erase and upload
2021-11-05 14:30:43 +11:00
Andrew Tridgell 350de066a5 Tools: recognise Auterion bootloader string 2021-11-05 14:30:43 +11:00
Josh Henderson 32e628f267 Tools: size_compare_branches.py add -vehicle option 2021-11-04 19:57:27 +11:00
Buzz 854266dc78 ESP32: drop submodule and add script to get it as a clone and/or submodule
works with either a submodule setup or a 'clone' for either type of dev
2021-11-03 06:06:15 +11:00
Peter Barker 76859c8386 Tools: add option to configure-all to write all hw configs out 2021-10-26 15:28:19 +11:00
Shiv Tyagi 20ce9ade07 Tools: scripts : parse blimp parameters 2021-10-20 14:22:48 +11:00
Andrew Tridgell 712df2eb03 Tools: auto-build QiotekZelotH743 2021-10-19 08:17:43 +11:00
Andrew Tridgell f07ba3164b Tools: autobuild Sierra-L431 2021-10-17 20:30:20 +11:00
Andrew Tridgell 11c04e62a7 Tools: ensure we build L431 and L476 MCUs 2021-10-17 20:30:20 +11:00
bugobliterator f178174df1 Tools: install empy while configuring for ci 2021-10-14 20:13:06 +11:00
Andrew Tridgell 4b4eaabe55 Tools: setup for building modalai_fc-v1 2021-10-12 15:47:51 +11:00
Andrew Tridgell 28c34bdce4 Tools: recognise more USB devices for uploader 2021-10-12 15:47:51 +11:00
Andrew Tridgell 130f26c49a Tools: added --no-extf option to uploader.py
needed for PX4 bootloader
2021-10-12 15:47:51 +11:00
Peter Barker 0c94e013ca Tools: add script to compare elf binaries from different branches 2021-10-07 16:06:22 +11:00
Andrew Tridgell d4d78720ca Tools: added AK09918 devid 2021-10-06 18:16:00 +11:00
Andrew Tridgell 1adec017a2 Tools: added KakuteH7 to build list 2021-09-29 18:11:04 +10:00
Andrew Tridgell d46f4ba974 Tools: added mav-firmware-version-str to manifest
this allows beta version to be displayed
2021-09-29 17:54:51 +10:00
Andrew Tridgell a749c32974 Tools: build disco static
needed for libc version
2021-09-26 19:39:37 +10:00
Andrew Tridgell 5b0f1b170a Tools: build Nucleo-L496
we want at least one fw for each MCU supported
2021-09-24 18:08:00 +10:00
Andrew Tridgell 7ad1c625fe Tools: added Hitec-Airspeed to build list 2021-09-21 13:51:40 +10:00
Andrew Tridgell d5aa3ac27e Tools: fixed uploader for apj files without a extf image 2021-09-21 08:01:50 +10:00
Mohammad Hefny 705acb26c6 Tools: define obal board 2021-09-10 08:17:37 +10:00
Andy Piper 5dc8524556 Tools: add CUAVv5-bdshot, CUAVv5Nano-bdshot and Pixhawk4-bdshot to build 2021-09-08 17:09:49 +10:00
Pierre Kancir aade77db9a Tools: build_ci.sh don't unset CXX and CC by default. That was for TravisCI 2021-09-07 15:45:38 +10:00
Pierre Kancir 2e71c6fc98 Tools: don't install MAVProxy submodule Cesium on CI 2021-09-03 13:18:22 +10:00
Siddharth Purohit 2dc51d9bae Tools: handle unsupported ext flashsize 2021-09-01 17:10:53 +10:00
Siddharth Purohit 35df1b1bd3 Tools: add support for uploading firmware to boards with external flash 2021-09-01 17:10:53 +10:00
Siddharth Purohit 3317b0aff8 Tools: add support to erase external flash in bootloader 2021-09-01 17:10:53 +10:00
TunaLobster 1df66731c8 Tools: Add rstlatexpdf emitter 2021-08-31 09:28:03 +10:00
Peter Barker 3d1ed896c8 Tools: make_intel_hex.py: show required size in error message 2021-08-27 17:26:28 +10:00
Patrick José Pereira 24713326a2 Tools: scripts: Improve help text to make it clear which format is accepted
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-08-27 07:35:32 +10:00
Patrick José Pereira 47d2021780 Tools: scripts: Add PIE support in firmware_version_decoder
Calculate pointer offset for PIE (Position Independent Executables) binaries.

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-08-27 07:35:32 +10:00
Andrew Tridgell d3c367d0fe Tools: added BirdCANdy to build list 2021-08-26 09:43:39 +10:00
Andy Piper 3483df5303 Tools: add Flywoo boards to board list and manifest 2021-08-18 17:06:09 +10:00
bugobliterator dba40481c6 Tools: add CubeOrange-periph to CI build test 2021-08-12 07:57:12 +10:00
Andrew Tridgell 11b073841f Tools: auto-build Swan-K1 2021-08-10 10:08:05 +10:00
Andrew Tridgell 3c0238ce8b Tools: break out boards list
this is to help with the custom build server
2021-08-06 07:35:37 +10:00
Andrew Tridgell 19a9e1a416 Tools: cope with build_binaries.py being copied out
the build server uses a copy of build_binaries.py, so __file__ isn't
the right directory
2021-08-01 13:28:09 +10:00
Andrew Tridgell 243dc06fd4 Tools: switched development to the 10.2.1 compiler for STM32 2021-07-27 19:50:21 +10:00
Andrew Tridgell e95abce466 Tools: use 10.2.1 compiler for latest builds of ChibiOS boards 2021-07-27 19:50:21 +10:00
Andrew Tridgell 18cbd25828 Tools: removed remnants of px4 build support 2021-07-27 19:50:21 +10:00
Peter Barker e1884bcd6e autotest: run dumpstack/dumpcore on stuck SITL process 2021-07-27 16:51:48 +10:00
mateksys 08cd1171bf Tools: added MatekF765-SE to autobuild 2021-07-26 18:13:46 +10:00
Hwurzburg 2c83ab264f Tools: Add Qiotek f103 periph to build list 2021-07-26 18:12:37 +10:00
Isaac Alich c84a880de4 Tools: Add Diatone MambaF405US-I2C 2021-07-25 09:28:17 +10:00
bugobliterator 65606b4d1d Tools: add debug target in CI build script 2021-07-21 11:27:52 +10:00
Andrew Tridgell d4d80f01bf Tools: added airspeed ID decoding 2021-07-12 17:14:59 +10:00
bugobliterator 9ba9352dae Tools: add remote upload script via mac systems 2021-07-09 18:19:04 +10:00
Peter Barker 2388f3a3d1 Tools: generate a core file for a given PID
Similarly to dumpstack.sh, uses gdb to dump a core file
2021-07-08 15:46:07 +10:00
Siddharth Purohit 767e394703 Tools: move to using tool instead of tools program group 2021-07-07 17:31:09 +10:00
Siddharth Purohit 5468869eba Tools: do CI build for HerePro instead of CubeOrange-periph 2021-07-02 08:50:16 +10:00
Rafael Araujo Lehmkuhl 4f7da5867d Tools: Allow direct execution of firmware_version_decoder.py from command line 2021-06-29 09:24:04 +10:00
Peter Barker e6eb6dea3f Tools: mark decode_watchdog.py flake8-clean 2021-06-24 08:59:41 +10:00
Peter Barker e38e026c6e Tools: mark build_examples.py flake8-clean 2021-06-24 08:59:41 +10:00
Peter Barker 4ea8c32c61 Tool: uploader.py: flake8-clean 2021-06-24 08:59:41 +10:00
Peter Barker b35a586447 Tool: make_apj.py: flake8-clean 2021-06-24 08:59:41 +10:00
Peter Barker fad9b5d345 Tool: pretty_size_diff.py: flake8-clean 2021-06-24 08:59:41 +10:00
Peter Barker 0940c9371d Tools: decode_ISCR.py: flake8-clean 2021-06-24 08:59:41 +10:00
Peter Barker 21cb6c1cf5 Tools: build_iofirmware.py: flake8-clean 2021-06-24 08:59:41 +10:00
Pierre Kancir 983e402804 AP_Common: add more unitttests 2021-06-21 21:16:29 +10:00
Pierre Kancir a699b8b331 Tools: remove more CAN stuff from coverage statistics 2021-06-21 09:44:57 +10:00
Patrick José Pereira 9211f6d351 Tools: Add navigator board in common boards
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-06-11 14:43:48 -04:00
Peter Barker 584e24d613 Tools: build mRoControlZeroClassic and mRoControlZeroH7{,-bdshot} on build server 2021-06-04 14:39:56 +10:00
Pierre Kancir 870eaac839 Tools: correct some coverage utilities 2021-06-02 14:42:59 +10:00
Andrew Tridgell f3cc661ebd Tools: added HolybroGPS to autobuild 2021-06-01 09:19:51 +10:00
bugobliterator d00f75203c Tools: add omnibusf4pro-one to build_ci to check single gps/compass build 2021-05-26 18:30:45 +10:00
Siddharth Purohit a6f00e4f80 Tools: increase serial timeout to 2s from 1s in uploader script 2021-05-26 18:25:01 +10:00
Peter Barker e46969957a Tools: rename f103-periph/hwdef.dat to .inc (f303 too) 2021-05-20 17:23:17 +10:00
Pierre Kancir fae2834341 Tools: update coverage script to python 2021-05-20 14:54:47 +10:00
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