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
Shiv Tyagi
d71f08bbb9
Tools: add AP_PERIPH_RC_OUT_ENABLED as a build option
2025-07-23 08:25:25 +10:00
Shiv Tyagi
6104345d53
Tools: add AP_PERIPH_IMU_ENABLED as a build option
2025-07-22 21:00:04 +10:00
Peter Barker
3708936c62
global: correct shebang lines to refernce python3
...
also remove the odd encoding line which is not required in Py3
2025-07-22 10:45:57 +10:00
Peter Barker
6612891f76
Tools: add and use AP_RC_TRANSMITTER_TUNING_ENABLED
2025-07-22 08:14:19 +09:00
Shiv Tyagi
92ac0225b7
Tools: add AP_PERIPH_RANGEFINDER_ENABLED as a build option
2025-07-22 08:18:23 +10:00
Shiv Tyagi
d89d11d88b
Tools: add AP_PERIPH_BARO_ENABLED as a build option
2025-07-21 14:16:43 +10:00
Shiv Tyagi
f053f82b02
Tools: add AP_PERIPH_MAG_ENABLED as a build option
2025-07-21 09:46:04 +10:00
Shiv Tyagi
af111e91b6
Tools: add AP_PERIPH_ADSB_ENABLED as a build option
2025-07-20 06:57:42 +10:00
Peter Barker
32c3bfa4b9
Revert "Tools: add and use ability to get HWDef for board out of BoardList"
...
This reverts commit 721ed65003 .
This commit causes issues on the 4.6 branch as hwdef.py doesn't exist.
We copy board_list.py back as part of build_binaries.py but not all of the hwdef.py files, so the script doesn't start.
It is unclear to me why we copy board_list.py back, it doesn't seem necessary or correct, rather build_binaries.py should adapt to whatever is on the branch it is trying to build.
2025-07-19 20:43:30 +09:00
Shiv Tyagi
2b69ddfbdb
Tools: add AP_PERIPH_GPS_ENABLED as a build option
2025-07-19 17:49:44 +10:00
Shiv Tyagi
f7c3fd961a
Tools: add AP_PERIPH_PROXIMITY_ENABLED as a build option
2025-07-19 11:45:35 +10:00
Shiv Tyagi
158b9d3263
Tools: add AP_PERIPH_BATTERY_TAG_ENABLED as a build option
2025-07-17 08:32:14 +10:00
Peter Barker
47c04771f7
Tools: build_binaries.py: stop adding bebop/disco to boards
...
this information now comes from hwdefs
2025-07-15 09:55:20 +10:00
Peter Barker
5040b35f6a
Tools: add and use ability to get HWDef for board out of BoardList
...
notably, use it for working out if we do a bootloader build or not
2025-07-15 09:55:20 +10:00
Shiv Tyagi
1c016abfd1
Tools: add AP_PERIPH_BATTERY_BALANCE_ENABLED as a build option
2025-07-12 11:52:26 -05:00
Shiv Tyagi
6f5bda3ece
Tools: add AP_PERIPH_RELAY_ENABLED as a build option
2025-07-11 14:51:36 -07:00
Shiv Tyagi
2f2039b8f0
Tools: add AP_PERIPH_BATTERY_ENABLED as a build option
2025-07-11 07:33:42 +10:00
Peter Barker
77cf38b9fa
Tools: SITL toolchain names
...
fixes SITL builds being stripped for comparison
2025-07-10 21:06:15 +10:00
Shiv Tyagi
f0a1a27eae
Tools: add AP_PERIPH_SERIAL_OPTIONS_ENABLED as a build option
2025-07-10 14:52:19 +10:00
Shiv Tyagi
d19ec13283
Tools: add AP_PERIPH_NOTIFY_ENABLED as a build option
2025-07-10 10:09:08 +10:00
Shiv Tyagi
01fc3d58ef
Tools: add AP_PERIPH_MSP_ENABLED as a build option
2025-07-08 23:07:23 +10:00
Randy Mackay
5fac558be2
Tools: build option rename for preland mavlink
2025-07-08 08:48:16 +09:00
Christian Clauss
123c2efc44
Tools: Fix pytest DeprecationWarning: 'maxsplit' is passed as positional argument
...
```diff
- parts = re.split(r'[,=\s]+', processed_line, 1)
+ parts = re.split(r'[,=\s]+', processed_line, maxsplit=1)
```
Pytest: `DeprecationWarning: 'maxsplit' is passed as positional argument`
* https://docs.python.org/3/library/re.html#re.split
### How was this tested?
Localhost testing...
% `python -m pytest --ignore=Tools/ros2`
```
========================================== test session starts ==========================================
platform darwin -- Python 3.13.5, pytest-8.4.1, pluggy-1.6.0
rootdir: /Users/cclauss/Python/ardupilot
configfile: pyproject.toml
collected 53 items
Tools/autotest/unittest/annotate_params_test.py ........................ [ 45%]
Tools/autotest/unittest/extract_param_defaults_test.py .................. [ 79%]
Tools/scripts/param_check_test.py ........... [100%]
========================================== warnings summary ==========================================
Tools/scripts/param_check_test.py: 118 warnings
/Users/cclauss/Python/ardupilot/Tools/scripts/param_check.py:338: DeprecationWarning: 'maxsplit' is passed as positional argument
parts = re.split(r'[,=\s]+', processed_line, 1)
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
========================================== 53 passed, 118 warnings in 2.74s ==========================================
```
After this change:
% `python -m pytest --ignore=Tools/ros2`
```
========================================== test session starts ==========================================
platform darwin -- Python 3.13.5, pytest-8.4.1, pluggy-1.6.0
rootdir: /Users/cclauss/Python/ardupilot
configfile: pyproject.toml
collected 53 items
Tools/autotest/unittest/annotate_params_test.py ........................ [ 45%]
Tools/autotest/unittest/extract_param_defaults_test.py .................. [ 79%]
Tools/scripts/param_check_test.py ........... [100%]
========================================== 53 passed in 2.55s ==========================================
```
Also failed with `ruff check --select=B034` and passed after the proposed change.
https://docs.astral.sh/ruff/rules/re-sub-positional-args
2025-07-07 13:10:44 +10:00
Shiv Tyagi
ca88644c54
Tools: add AP_TEMPERATURE_SENSOR_ENABLED as dependecy of AP_PERIPH_DEVICE_TEMPERATURE_ENABLED
2025-07-05 21:34:38 -05:00
Peter Barker
66361e29ee
Tools: allow size_compare_branches.py to compare features
2025-07-04 17:50:10 +10:00
Shiv Tyagi
1a628c69f9
Tools: allow enabling AP_PERIPH_DEVICE_TEMPERATURE_ENABLED from Custom Build Server
2025-07-04 08:33:34 +10:00