Commit Graph
1553 Commits
Author SHA1 Message Date
Bob Long 23c21bfcec Tools: remove last vehicles from hwdefs to skip 2025-06-27 13:10:31 +10:00
Bob Long 118877ad1f Tools: param_check: fix DISABLE_CHECKS tag
This was a holdover from before I had the SkipChecks class, and I would
pass None to enable all checks.
2025-06-27 13:10:31 +10:00
Peter Barker edc7928164 Tools: add and use AP_ADSB_AVOIDANCE_ENABLED
this gates the "ADSB" avoidance feature used for macro-level avoidance.  It's not actually limited to ADSB as input...
2025-06-26 16:32:22 +10:00
e5ebd61f49 Tools: Add support for MS5837-02BA sensor
Co-authored-by: Shaikimram <shaikimran2723@gmail.com>
Co-authored-by: ES-Alexander <sandman.esalexander@gmail.com>
2025-06-26 11:41:47 +10:00
Bob Long 82faa97874 Tools: remove 4 vehicles from param check skip 2025-06-25 17:13:21 +01:00
Peter Barker 63cfa2484c Tools: run_flake8.py: check all scripts in tree, not just Tools directory 2025-06-25 13:16:59 +01:00
Peter Barker e1f2bdd456 build_options.py: correct feature lists 2025-06-24 16:42:00 +10:00
Peter Barker 75dcf12c6e Tools: allow AP_MotorsTri to be compiled out of code 2025-06-24 16:42:00 +10:00
Iampete1 f893d21b7e Tools: scripts: decode devid: add latest airspeed and baro devices 2025-06-23 14:33:44 +01:00
Christian Clauss 22582bc6c9 Tools: Fix test_ccache.py to not confuse pytest discovery
`Tools/scripts/build_tests/test_ccache.py` has a filename that will make Pytest Discovery think that it should be tested.
* https://docs.pytest.org/en/stable/explanation/goodpractices.html#conventions-for-python-test-discovery

This script also has code ___at global scope___ that will fail if certain command line arguments are not provided.

The proposed change is to put that code under `if __name__ == "__main__":` so it will not be run at test time.
* https://docs.python.org/3/library/__main__.html

Search for `test_ccache`:
* https://github.com/search?q=repo%3AArduPilot%2Fardupilot%20test_ccache&type=code

How was this tested?
1. `pytest Tools/scripts/build_tests/test_ccache.py`
2. `pytest Tools`

Both of the above find no tests instead of crashing with a long, confusing error.
2025-06-22 16:51:40 -05:00
Bob Long dfd48f9e15 Tools: remove luminousbee5 from param check skip 2025-06-19 21:27:52 +10:00
Peter Barker 406d1b38b4 Tools: size_compare_branches.py: skip building bootloads for TBS-L431 peripherals
these use their bootloader from TBS-L431 base
2025-06-18 22:57:09 +10:00
Bob Long 3e244ec063 Tools: remove Solo boards from param check skip 2025-06-18 22:56:55 +10:00
Peter Barker 5e98daeb1a Tools: build_options: add missing dependency on RANGEFINDER for RANGEFINDER_SENDING 2025-06-13 10:28:54 +01:00
Peter Barker 86d59e9c1f Tools: build_bootloaders.py: make pattern optional
pattern has a default, but it isn't used without this
2025-06-13 09:52:56 +10:00
Christian Clauss 5db73f4a0c Tools: Add # flake8: noqa linter directive 2025-06-12 08:47:52 +10:00
Peter Barker b6f9d78938 Tools: add AC_POLYFENCE_CIRCLE_INT_SUPPORT_ENABLED to build_options.py 2025-06-11 17:25:47 +10:00
Bob Long 1a64541c97 Tools: add parameter validation to CI 2025-06-10 22:14:13 +10:00
Bob Long 8d1d0a2107 Tools: add param_check_all script 2025-06-10 22:14:13 +10:00
Bob Long 1eecf9fbc1 Tools: board_list: let callers specify a skip list
Also renamed `blacklist` to `skip` for clarity
2025-06-10 22:14:13 +10:00
Bob Long 3e56717acb Tools: add param check script 2025-06-10 22:14:13 +10:00
Peter Barker ab3b68c5f2 Tools: tweak AK09916 to AK0991x
the driver supports three different compasses with similar names
2025-06-08 10:08:17 +10:00
Peter Barker a1462450b8 Tools: build_options.py: correct feature name for externalahrs-baro sensor 2025-05-30 15:29:03 +10:00
Andrew Tridgell 400c9c0628 Tools: added QMC5883P to build options 2025-05-29 11:06:43 +10:00
Stephen Dade 3644b987ee Tools: Allow DDS to be enabled via hwdef 2025-05-21 17:20:38 +10:00
Peter Barker 33f80a93c1 Tools: add option for AP_ROVER_AUTO_ARM_ONCE_ENABLED 2025-05-14 16:21:49 +09:00
Peter Barker 91f1cc8bd9 Tools: rename HAL_EXTERNAL_AHRS_ENABLED to AP_EXTERNAL_AHRS_ENABLED
in preparation for making this an optional feature; a lot of people will want to go and put this in their hwdef files as soon as we do this!
2025-05-13 09:06:44 +09:00
Iampete1 0b9e5069ec Tools: scripts: configure all: --build: fix periph detection 2025-05-12 13:31:54 +10:00
Peter Barker 407b2707d7 Tools: allow sending of rangefinder mavlink message to be compiled out 2025-05-08 16:40:22 +10:00
Pierre Kancir 612b6ef5b2 Tools: prind group tag for autotest on CI 2025-05-07 10:51:32 +10:00
Peter Barker 037786014e Tools: correct size_compare_branches elf_diff 2025-05-07 10:38:25 +10:00
co63oc 6878b0ebd7 Tools: correct typos and mis-spellings 2025-05-04 23:36:45 +10:00
Peter Barker 8afef34c7f Tools: size_compare_binaries: use toolchain from board_info 2025-05-03 09:57:30 +10:00
Peter Barker 25a35f166b Tools: board_list: add a toolchain to the board object 2025-05-03 09:57:30 +10:00
Thomas Watson 2afc682995 CI: revert "build CubeRed-EKF2 not CubeOrange-EKF2 in CI"
This reverts commit c6491d6b45.

CubeOrange now has oodles of flash and CubeRed is out.
2025-04-29 15:44:29 +09:00
Iampete1 b990429907 Tools: scripts: update lua language check for new version of server 2025-04-29 11:29:28 +10:00
Peter Barker 701acbefb0 Tools: size_compare_branches.py: strip elf files for identical comparison 2025-04-28 15:02:24 +10:00
bugobliterator 32555302de Tools: add Networking and CAN Mcast to feature list 2025-04-25 12:09:49 +10:00
Peter Barker c7b3beb846 Tools: extract_features.py: changte symbol used to probe for AIS
because we use dummy methods in the AIS library it can appear to be compiled in when it is actually not functional
2025-04-21 21:52:20 +10:00
Peter Barker ba75176551 Tools: extract_features.py: correct extraction of MS56XX features
these never had that update symbol
2025-04-20 18:34:48 +10:00
Peter Barker 78717a84f6 Tool: generate_manifest: correct output in error path
Traceback (most recent call last):
  File "/mnt/volume_nyc3_01/autotest/APM/APM/./build_binaries.py", line 771, in
<module>
    bb.run()
  File "/mnt/volume_nyc3_01/autotest/APM/APM/./build_binaries.py", line 751, in
run
    self.generate_manifest()
  File "/mnt/volume_nyc3_01/autotest/APM/APM/./build_binaries.py", line 662, in
generate_manifest
    generator.run()
  File "/mnt/volume_nyc3_01/autotest/APM/APM/generate_manifest.py", line 614, in
 run
    self.structure, self.features_structure = self.walk_directory(self.basedir)
  File "/mnt/volume_nyc3_01/autotest/APM/APM/generate_manifest.py", line 526, in
 walk_directory
    (tag, os.path.join(vdir)), file=sys.stderr)
  File "/usr/lib/python3.10/posixpath.py", line 76, in join
    a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not list
2025-04-20 10:20:00 +10:00
Peter Barker c4cb5802bb Tools: factor MS56XX into MS5607, 5611, 5637 and 3847 backends 2025-04-16 17:28:42 +10:00
Christian Clauss 5b8df9a642 Tools: fix typos discovered by codespell 2025-04-15 14:48:39 +10:00
George Zogopoulos a63ce3abd4 Tools: Added Loweheiser generator build option 2025-04-09 18:06:47 +10:00
Andy Piper 63ced56965 scripts: add AP_CRSF_SCRIPTING_ENABLED to extract features 2025-04-09 17:16:58 +10:00
Andy Piper ecc5fa1e12 scripts: add AP_CRSF_SCRIPTING_ENABLED to build options 2025-04-09 17:16:58 +10:00
Peter Barker 3dab0ca39c Tools: adjust tooling to use MAV_SYSID 2025-04-07 10:58:41 +10:00
Peter Barker 7e88532434 Tools: correct configure_all script for copying hwdefs around 2025-04-07 07:56:57 +10:00
Peter Barker b2d6a3485d Tools: flake8 fixes for global keyword
test ccache / build (10, chibios) (push) Waiting to run
test chibios / build (CubeOrange-ODID, 10, chibios) (push) Waiting to run
test chibios / build (CubeOrange-PPP, 10, chibios) (push) Waiting to run
test chibios / build (CubeOrange-bootloader, 10, chibios) (push) Waiting to run
test chibios / build (CubeRed-EKF2, 10, chibios) (push) Waiting to run
test chibios / build (CubeRedPrimary-bootloader, 10, chibios) (push) Waiting to run
test chibios / build (MatekF405-Wing, 10, chibios) (push) Waiting to run
test chibios / build (Pixhawk6X-PPPGW, 10, chibios) (push) Waiting to run
test chibios / build (SOHW, 10, chibios) (push) Waiting to run
test chibios / build (build-options-defaults-test, 10, chibios) (push) Waiting to run
test chibios / build (configure-all, 10, chibios) (push) Waiting to run
test chibios / build (fmuv2-plane, 10, chibios) (push) Waiting to run
test chibios / build (fmuv3, 10, chibios) (push) Waiting to run
test chibios / build (fmuv3-bootloader, 10, chibios) (push) Waiting to run
test chibios / build (iofirmware, 10, chibios) (push) Waiting to run
test chibios / build (new-check, 10, chibios) (push) Waiting to run
test chibios / build (periph-build, 10, chibios) (push) Waiting to run
test chibios / build (revo-bootloader, 10, chibios) (push) Waiting to run
test chibios / build (revo-mini, 10, chibios) (push) Waiting to run
test chibios / build (signing, 10, chibios) (push) Waiting to run
test chibios / build (stm32f7, 10, chibios) (push) Waiting to run
test chibios / build (stm32h7, 10, chibios) (push) Waiting to run
test chibios / build (stm32h7-debug, 10, chibios) (push) Waiting to run
test scripts / build (astyle-cleanliness) (push) Waiting to run
test scripts / build (check_autotest_options) (push) Waiting to run
test scripts / build (logger_metadata) (push) Waiting to run
test scripts / build (param_parse) (push) Waiting to run
test scripts / build (python-cleanliness) (push) Waiting to run
test scripts / build (validate_board_list) (push) Waiting to run
test ap_periph / build-gcc-ap_periph (push) Waiting to run
test ap_periph / autotest-can (sitltest-can) (push) Blocked by required conditions
test unit tests and sitl building / build (examples, base) (push) Waiting to run
test unit tests and sitl building / build (examples, clang) (push) Waiting to run
test unit tests and sitl building / build (sitl, base) (push) Waiting to run
test unit tests and sitl building / build (sitl, clang) (push) Waiting to run
test unit tests and sitl building / build (unit-tests, base) (push) Waiting to run
test unit tests and sitl building / build (unit-tests, clang) (push) Waiting to run
test Linux SBC / build (bbbmini, armhf) (push) Has been cancelled
test Linux SBC / build (bebop, armhf) (push) Has been cancelled
test Linux SBC / build (bhat, armhf) (push) Has been cancelled
test Linux SBC / build (canzero, armhf) (push) Has been cancelled
test Linux SBC / build (erlebrain2, armhf) (push) Has been cancelled
test Linux SBC / build (linux, base) (push) Has been cancelled
test Linux SBC / build (navigator, armhf-musl) (push) Has been cancelled
test Linux SBC / build (navigator64, aarch64) (push) Has been cancelled
test Linux SBC / build (navio, armhf) (push) Has been cancelled
test Linux SBC / build (navio2, armhf) (push) Has been cancelled
test Linux SBC / build (pxf, armhf) (push) Has been cancelled
test Linux SBC / build (pxfmini, armhf) (push) Has been cancelled
test blimp / build (base) (push) Has been cancelled
test blimp / build (clang) (push) Has been cancelled
test copter / build (base) (push) Has been cancelled
test copter / build (clang) (push) Has been cancelled
test copter / build-gcc-heli (push) Has been cancelled
test plane / build (base) (push) Has been cancelled
test plane / build (clang) (push) Has been cancelled
test rover / build (base) (push) Has been cancelled
test rover / build (clang) (push) Has been cancelled
test sub / build (base) (push) Has been cancelled
test sub / build (clang) (push) Has been cancelled
test tracker / build (base) (push) Has been cancelled
test tracker / build (clang) (push) Has been cancelled
test blimp / autotest (sitltest-blimp) (push) Has been cancelled
test copter / autotest (sitltest-copter-tests1a) (push) Has been cancelled
test copter / autotest (sitltest-copter-tests1b) (push) Has been cancelled
test copter / autotest (sitltest-copter-tests1c) (push) Has been cancelled
test copter / autotest (sitltest-copter-tests1d) (push) Has been cancelled
test copter / autotest (sitltest-copter-tests1e) (push) Has been cancelled
test copter / autotest (sitltest-copter-tests2a) (push) Has been cancelled
test copter / autotest (sitltest-copter-tests2b) (push) Has been cancelled
test copter / autotest-heli (sitltest-heli) (push) Has been cancelled
test plane / autotest (sitltest-plane-tests1a) (push) Has been cancelled
test plane / autotest (sitltest-plane-tests1b) (push) Has been cancelled
test plane / autotest (sitltest-quadplane) (push) Has been cancelled
test rover / autotest (sitltest-balancebot) (push) Has been cancelled
test rover / autotest (sitltest-rover) (push) Has been cancelled
test rover / autotest (sitltest-sailboat) (push) Has been cancelled
test sub / autotest (sitltest-sub) (push) Has been cancelled
test tracker / autotest (sitltest-tracker) (push) Has been cancelled
flake8 became more strict

eg.

Tools/autotest/sim_vehicle.py:911:9: F824 `global tracker_serial0` is unused: name is never assigned in scope
        global tracker_serial0
2025-04-04 11:11:10 +11:00
Andrew Tridgell 18b6b52936 Tools: removed special case for old beta-4.3 builds
this is just slowing down the build server
2025-04-03 09:51:53 +11:00