Peter Barker
2464a70f80
bootloaders: remove no-longer-used bootloader files
...
variant boards now USE_BOOTLOADER_FROM_BOARD instead
2025-08-05 09:04:28 +09:00
Peter Barker
6ba8231901
bootloaders: add MatekL431 bootloader
...
to be used by all of the variants
2025-08-05 09:04:28 +09: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
369836a44b
autotest: reboot vehicle before checking current waypoint seqno
...
Even after we clear a mission the vehicle's current waypoint number remains intact. This state of affairs can continue indefinitely.
This patch moves us to reboot the vehicle before checking the current sequence number is zero.
2025-08-05 07:12:51 +10:00
Peter Barker
16344ed7e6
autotest: add test for double-fence-breach
2025-08-05 07:12:21 +10:00
Peter Barker
05d186e993
Tools: set dummy GIT_VERSION_EXTENDED for repeatible bootloader builds
2025-08-04 09:12:59 +01:00
Peter Barker
d5d00d580d
autotest: test Plane maintains alt when switching to circle from loiter
...
.... when loitering rel-terrain
2025-08-03 13:45:42 -05:00
Peter Barker
017431841c
autotest: use context to get AUTOPILOT_VERSION
...
... avoid race condition in modern ways
2025-08-03 13:04:50 -05:00
Peter Barker
9d166fcacc
autotest: add a test for driving each Rover frame
2025-08-03 10:07:55 +10:00
Peter Barker
837ae6658b
autotest: loosen constrain on DO_CHANGE_SPEED
...
we're really only after gross changes here, and that's taken care of by the three cases which are tested.
CI is getting values of 82 or 83 vs what I get on my machine here. Vagaries of race conditions getting into this state, I believe.
2025-08-03 09:11:47 +10:00
Abhishek Shukla
e789a8e62c
AP_Bootloader: BOTWINGF405 add support for the board
2025-08-01 17:02:23 +01:00
Abhishek Shukla
9f3b09fe70
bootloaders: BOTWINGF405 add bootloader
2025-08-01 17:02:23 +01:00
David Howie
6f52fd52ef
Tools: Add All-Vehicles Values option to param_parse.py
2025-08-01 08:09:31 +10: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
James O'Shannessy
5f76ae9e33
Bootloader: Add bootloader version reporting to the bootloader
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
Thomas Watson
e3a7e04aaf
Tools/AP_Bootloader: remove unnecessary commented out optimize pragmas
2025-07-29 10:09:21 +10:00
Thomas Watson
3759417b02
Tools/AP_Bootloader: keep constant responses in flash
2025-07-29 10:09:21 +10:00
Thomas Watson
fecf30eee7
Tools/AP_Bootloader: use cout_word for relevant cout
2025-07-29 10:09:21 +10:00
Thomas Watson
6d8390bc35
Tools/AP_Bootloader: remove unnecessary volatile on command var
...
Variable isn't accessed from another thread/ISR nor has its pointer
used.
2025-07-29 10:09:21 +10:00
agstewart
963bca7f2a
Tools: Fixed escaping for ArduPilot tools prereq PATH exports
2025-07-28 10:37:45 +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
Yuri Rage
26920e3bce
Tools: environment_install: fix Linux Mint case mismatch
2025-07-26 12:23:04 -05:00
jobs
744e3a385c
board_types.txt : add board ID for AP_HW_NarinX3.
2025-07-26 22:36:01 +10:00
Peter Barker
3c013dfae3
Tools: replace ALLOW_DOUBLE_MATH_FUNCTIONS with AP_MATH_ALLOW_DOUBLE_FUNCTIONS
...
.... and this one is always defined, so check for truth!
2025-07-26 15:56:56 +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
Andy Piper
12a760f0c3
bootloaders: SkystarsF405v2
2025-07-23 21:49:21 +01:00
Andy Piper
3744325c64
AP_Bootloader: add SkystarsF405v2
2025-07-23 21:49:21 +01: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
f37bd41530
autotest: reproduce soaring climb rate reporting bug
2025-07-22 11:03:10 +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
Peter Barker
b6f65bd2e1
Tools: add support for second parameter tuning RC channel
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
Thomas Watson
7f277b2eeb
autotest: improve test.Plane.CompassLearnInFlight robustness
...
The test has always learned a marginal compass value (25-30, with
failure at 35) and since commit `a52f911b` it has usually failed on my
machine with a value of 40-45 presumably due to a small change in the
flight path. It also occasionally fails in CI with similar values;
presumably different machine speeds select a different part of the
flight during which learning occurs.
Fix the issue by flying a straight level path to allow time for the GSF
to converge, as that is used as the reference for learning according to
the code. This results in a learned value of 5-10 which is much closer
to the target and hopefully less sensitive to the particular machine.
2025-07-21 09:52:34 +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
Peter Barker
cae92d86f4
autoest: loosen accepted errors on GPS blended/EKF affinity test
...
the EKF solution is not staying withing 2cm of the GPS position. 2cm is really too tight when we're allowing randomness into the system anyway.
We'll still catch gross divergences, which is important.
2025-07-17 16:14:29 +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
d818ca81da
board_types.txt: remove Aerium reservation
...
we don't have anything merged for these, and the developer made a separate PR to reserve board IDs, presumably forgetting this reservation...
2025-07-16 10:23:05 +10:00