Commit Graph

939 Commits

Author SHA1 Message Date
Andrew Tridgell 7470920dc6 Tools: switch compiler for new releases to 10.2
only sub stable and beta on old compiler
2022-03-02 11:25:09 +11:00
Peter Barker f79c43eebd Tools: build_binaries.py: ensure existence of buildlogs dir
If buildlogs didn't exist then the sqlite database creation would fail.

This really shouldn't have been done in init anyway...
2022-02-26 14:17:01 +11:00
Peter Barker e312c3de30 Tools: correct copying of binary files under Python3 2022-02-23 23:38:14 +11:00
Peter Barker e0e84880b2 Tools: add facility to print stack traces 2022-02-23 23:38:14 +11:00
Andrew Tridgell 6b962ae48b CI: added ccache test 2022-02-23 12:36:59 +11:00
Peter Barker c781897e52 Tools: powr_change.py also prints AccFlags changes 2022-02-16 10:07:56 +11:00
Peter Barker de1c2ed598 Tools: add powr_change.py
Simpler to work out what's gone wrong in a log this way:

pbarker@bluebottle:~/rc/ardupilot/Tools/scripts(master)$ ./powr_change.py /tmp/00000109.BIN
1644894818: Creating connection
2022-02-14 00:30:25.91:  +MAV_POWER_STATUS_BRICK_VALID +MAV_POWER_STATUS_SERVO_VALID
2022-02-14 00:33:15.46:  +MAV_POWER_STATUS_CHANGED
2022-02-14 00:33:34.96:  +MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:33:35.06:  -MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:34:16.86:  +MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:34:16.96:  -MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:34:38.46:  +MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:34:38.56:  -MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:34:40.05:  +MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:34:40.15:  -MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:34:41.45:  +MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:34:41.55:  -MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:34:45.85:  +MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:34:45.95:  -MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:34:47.05:  +MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:34:47.15:  -MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:34:48.25:  +MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:34:48.35:  -MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:34:49.75:  +MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:34:49.85:  -MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:34:51.05:  +MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:38:01.89:  -MAV_POWER_STATUS_CHANGED
pbarker@bluebottle:~/rc/ardupilot/Tools/scripts(master)$
2022-02-16 10:07:56 +11:00
Andy Piper a34f8e1b8d scripts: add SPRacingH7 to manifest files and CI build 2022-02-15 11:32:52 +11:00
Willian Galvani 77f9d4fdba Tools: scripts: build_ci.sh: validate firmware fwversion with firmware_version_decoder.py 2022-02-15 10:38:28 +11:00
Willian Galvani 55d8ba647c Tools: Scripts: firmware_version_decoder: add --expected-hash for running in CI 2022-02-15 10:38:28 +11:00
Patrick José Pereira 4525627664 Tools: scripts: Update firmware version decoder
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2022-02-11 09:21:00 +11:00
Andy Piper 960c0d0f8b scripts: allow more time for external flash verification
create ssbl uploader script for SPRacingH7
2022-02-09 12:47:55 +00:00
Peter Barker b45680c9ee Tools: update build_autotest.sh to reflect server content
these times have had to move out as our builds are taking a long time
now
2022-02-08 12:08:17 +11:00
Hwurzburg 9c91e3c793 Tools: update option names in BATTMonitor in prep for expansion 2022-02-01 12:35:03 +11:00
Peter Barker c83446a359 Tools: add quick-and-dirty EKF-status-change dump tool 2022-01-26 18:55:11 +11:00
Michelle Rossouw 1d8a62f064 Tools: Add gen date to build_sizes script, make flash size of -1 not turn up as low flash, some formatting fixes. 2022-01-21 13:26:52 +11:00
Peter Barker 2fe709a59c Tools: build_ci.sh: use valid hexadecmail digits in GIT_VERSION
building AP_Periph requires these to be able to be converted into a
number
2022-01-18 11:30:41 +11:00
Peter Barker 09dac0cc8a Tools: board_list.py: add AP_PERIPH_HEAVY into is-periph check 2022-01-18 11:07:28 +11:00
Peter Barker a74795bc67 Tools: board_list.py: remove Pixracer-periph from blacklist 2022-01-18 11:07:28 +11:00
Peter Barker ddcd6e6244 Tools: add optical flow options to build_options.py 2022-01-14 11:49:01 +11:00
Peter Barker dfea221a49 board_list.py: tidy 2022-01-13 14:44:23 +11:00
Peter Barker 7a9474749a build_options.py: correct GPS Drivers section
must be within closing ] for array
2022-01-13 09:45:08 +11:00
Peter Barker 62285d51a8 build_options.py: remove HAL_MPPT_PACKETDIGITAL_CAN_ENABLE 2022-01-12 23:09:17 +11:00
Hwurzburg 1948073438 Tools: add build options for GPS backends 2022-01-12 16:17:21 +11:00
Peter Barker b737d113c9 Tools: correct board_list.py for being copied into root dir in autotest 2022-01-12 10:28:17 +11:00
Dr.-Ing. Amilcar do Carmo Lucas 15e99e306d Tools: add more categories and reorganize a bit
Should be NFC, it does not add nor remove options
2022-01-11 11:07:59 +11:00
Pierre Kancir ae2d3a8570 Tools: add blue and bbbmini to firmware server 2022-01-09 11:34:59 +11:00
Michelle Rossouw 62bd62e9b7 Tools: build_sizes move to folder, no red for old stable/beta, add hyperlink for boards 2022-01-08 13:54:08 +11:00
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