Commit Graph
1630 Commits
Author SHA1 Message Date
Randy Mackay 5f9a8f7efe Tools: update build options for MAVLink Mount 2025-12-02 21:43:07 +11:00
Andy Piper d4fd350963 scripts: add LIS2MDL compass 2025-11-26 18:25:43 +11:00
Bob Long e1fb6c8f64 Tools: fix type hints in param_check
We changed the default to None, but forgot to update the type hints.
Also some drive-by whitespace cleanups.
2025-11-12 20:49:39 +11:00
Peter Barker ac254388c9 Tools: build_options.py: add AP_RANGEFINDER_AINSTEIN_LR_D1_ENABLED 2025-11-11 09:12:26 +00:00
Peter Barker cb633aeb19 Tools: various fixes to build_options.py and test_build_options.py
autotest: test_build_options.py: do not test AP_PERIPH_* defines on non-Periph builds

test_build_options.py:  AP_ROVER_AUTO_ARM_ONCE_ENABLED is only on Rover

test_build_options.py: create and use a blacklist

options on this blacklist really can't be tested when we're doing the
disable-everything step as they require one of two other options to
work, and we can't represent that in our dependencies

Tools: build_options.py: correct dependencies for CRSF Scripting

Tools: extract_features.py: correct extraction of AP_MAVLINK_FTP_ENABLED

Tools: test_build_options.py: exempt EK3_FEATURE_OPTFLOW_SRTM on some vehicles

AP_Terrain isn't instantiated so the symbol (and feature!) are missing

build_options.py: add missing dependency for Cortex generator

autotest: test_build_options.py: most vehicles do not have AP_ADSB_AVOIDANCE_ENABLED

autotest: test_build_options.py: fix for AP_SCRIPTING_BINDING_MOTORS_ENABLED

test_build_options.py: exempt AP_MOTORS_TRI_ENABLED except on Copter

Plane only has this if quadplane is enabled...
2025-11-11 11:27:31 +11:00
MinderringandHenry Wurzburg 00e4078e68 Tools: add hwdef MicoAir743-Lite
Update libraries/AP_HAL_ChibiOS/hwdef/MicoAir743-Lite/README.md

Co-authored-by: Henry Wurzburg <hwurzburg@yahoo.com>
2025-11-09 13:33:26 +11:00
bnsgeyer dcaf309465 Tools: change label in builder options 2025-11-04 10:35:38 +11:00
Oliver Walters ba86948bd0 Tools: Add GENERATOR_CORTEX support 2025-11-04 09:47:24 +11:00
Thomas Watson b876809242 Tools: remove absolute path reference to rm command
On some systems (e.g. NixOS) it's not there.
2025-11-03 09:53:37 -06:00
Peter Barker 6b4eb8e7d7 Tools: get Linux and ESP32 board names dynamically for bootloader blacklist 2025-11-02 17:17:29 +11:00
Peter Barker f7f6a13dbd Tools: size_compare_branches.py: don't build bootloader for pocket2
... it's a linux board...
2025-11-02 17:17:29 +11:00
Peter Barker d2a361afa7 Tools: fix instances of flake8 B006 error
e.g.:

./Tools/autotest/vehicle_test_suite.py:8607:89: B006 Do not use mutable data structures for argument defaults.  They are created during function definition time. All calls to the function reuse this one instance of that data structure, persisting changes between them.
2025-10-28 20:19:01 -05:00
Erkan Vatan 871abcf15a Tools: add t3-gem-o1 board 2025-10-27 18:43:16 -05:00
Peter Barker 76a39dc4df Tools: fix flake8 B008 errors, methods-in-function-definitions
e.g.

./Tools/scripts/param_check_all.py:180:40: B008 Do not perform function calls in argument defaults.  The call is performed only once at function definition time. All calls to your function will reuse the result of that definition-time function call.  If this is intended, assign the function call to a module-level variable and use that variable as a default value.
2025-10-27 11:18:20 +11:00
Andy Piper d801b2cd6a scripts: add support for AP_CPU_IDLE_STATS_ENABLED as a feature 2025-10-16 06:20:54 +11:00
Andrew Tridgell 986c418dda Tools: tidy up old unused build
unused
2025-10-14 09:14:13 -05:00
Peter Barker 7a4ee4297b Tools: extract_features.py: correct extraction symbol for AP_Vehicle Lua bindings 2025-10-14 10:53:33 +09:00
Thomas Watson 254faad89c Tools: don't generate no-longer-used env.py 2025-10-06 08:02:36 +11:00
Peter Barker 26ac908b70 Tools: add define so user can omit AP_Vehicle bindings 2025-10-01 18:05:38 +10:00
Peter Barker 2e57f4d27f Tools: add define so user can omit AP_Motors bindings 2025-10-01 18:05:38 +10:00
Peter Barker 5edf3b15f2 Tools: add ability for sim-on-hardware to use Simulink 2025-10-01 17:30:40 +10:00
Tom Pittenger 454c2d6179 Tools/scripts: add EAHRS SBG to build_options 2025-09-12 18:19:52 -07:00
Thomas Watson 907f9b4b92 CI: fail fast on rover PPP install
Ensure that ppp install succeeded and the binary executes directly after
install, instead of failing deep in the test suite.
2025-09-06 11:40:36 +01:00
Peter Barker 89808ffdba Tools: don't catch elf_diff exceptions 2025-09-05 16:25:23 +01:00
Peter Barker b2606801ae Tools: put elf diff output in current directory
may not be able to write into the previous directory (eg. on Vagrant VMs which have the checkout at /vagrant)
2025-09-05 16:25:23 +01:00
Peter Barker 4b8be6e4db Tools: correct running of elf-diff tool
was getting "None" in the argument list
2025-09-05 16:25:23 +01:00
Christian Clauss b65fe267ac Tools: Fix typos discovered by codespell 2025-09-03 14:41:07 +01:00
Peter Barker 53c51764a8 Tools: size_compare_branches.py: run on esp32 2025-08-26 13:06:48 +10:00
Peter Barker bd56281c41 Tools: add build option for GCS_MAVLINK_SIGNING_ENABLED 2025-08-26 09:48:47 +10:00
Peter Barker fa578cbb35 Tools: create PlaneTests1c to hold malfunctioning test/s
allows for moving a test which we want to continue to run into a suite which runs quickly.  Means retrying doesn't take so much CI time up.
2025-08-23 10:16:12 +10:00
Henry Wurzburg f4732be3bc Tools:improve build_bootloaders script 2025-08-22 17:41:18 +10:00
Peter Barker 2bdc42f5ac Tools: size_compare_branches.py: make not finding stm32 toolchain non-fatal 2025-08-22 10:24:48 +10:00
Peter Barker 133a2bada7 Tools: board_list.py: specify toolchain for ESP32 2025-08-22 10:24:48 +10:00
Randy Mackay 890bbee3ba Tools: build option for EKF3 optical flow with SRTM 2025-08-13 10:41:40 +09:00
Peter Barker 0444146adb Tools: extract_features.py: correct symbol used to extract AP_MAVLINK_FTP_ENABLED 2025-08-11 19:34:18 -05:00
Peter Barker 39799fffd0 Tools: build_ci.sh: set SITL_PANIC_EXIT
this stops a panicced process from just sitting around in github CI waiting for some other alarm to kill the process off
2025-08-11 19:17:10 -05:00
Andrew Tridgell 2eac198126 Tools: enable/disable network capture on custom build server
enabled by default, but some users may want to save flash space
2025-08-09 06:14:44 +10:00
Spenda4life 48fa5f0d7a Fix: use _timestamp instead of TimeUS*1.0e-6 2025-08-07 20:47:58 +10:00
mateksys 15898fb2ca AP_HAL_ChibiOS: add MatekL431-AUAV hwdef 2025-08-06 08:48:03 +10:00
Peter Barker 6062120e49 Tools: exempt MatekL431 variants from building bootloader
really would be nice to get this information from the hwdefs, but backwards-compataiblity turns out to be a problem
2025-08-05 09:04:28 +09:00
Peter Barker 05d186e993 Tools: set dummy GIT_VERSION_EXTENDED for repeatible bootloader builds 2025-08-04 09:12:59 +01:00
James O'Shannessy 8afb9e2541 uploader.py: Update to support reading bootloader software version
Supports both ArduPilot and PX4 implementation of reading bootloader software version.
2025-07-30 17:21:38 +10:00
Shiv Tyagi ef52728221 Tools: add AP_PERIPH_AIRSPEED_ENABLED as a build option 2025-07-30 16:58:41 +10:00
Shiv Tyagi adf710149c Tools: add AP_PERIPH_RPM_ENABLED as a build option 2025-07-30 14:24:44 +10:00
Peter Barker 91bb293027 Tools: sitl-on-hw.py: allow for comma-separated list of default files 2025-07-29 10:12:11 +10:00
Peter Barker cc4b6616c1 Tools: sitl-on-hw.py: add --debug option to get a debug build 2025-07-29 10:12:11 +10:00
Peter Barker 9f6e98bc04 Tools: add and use AP_SIM_VICON_ENABLED
this doesn't compile on sim-on-hardware when debugging is enabled (stack frame too large)
2025-07-29 10:12:11 +10:00
Iampete1 4e46dbc318 Tools: scripts: run_lua_language_check: add option for more verbose logging of the install step 2025-07-28 09:46:01 +10:00
Shiv Tyagi ff127c8f16 Tools: add AP_PERIPH_RCIN_ENABLED as a build option 2025-07-25 13:39:30 -04:00
Shiv Tyagi b2fe2942e1 Tools: add AP_PERIPH_EFI_ENABLED as a build option 2025-07-24 12:21:31 +10:00