Commit Graph

9368 Commits

Author SHA1 Message Date
Peter Barker
00c1f1456e SITL: correct documentation metadata for FETTechOneWireESC and RichenPower and IE24
.... we had documentation for these parameters but it wasn't being used!
2025-01-25 08:10:38 +11:00
Peter Barker
6413da902d autotest: add missing closing-parenthesis
because it is dramatically aesthetically wrong
2025-01-24 19:57:29 +09:00
Jeevan K
24a764c502 Tools : Remove documented params from whitelist 2025-01-24 07:05:51 +11:00
Peter Barker
5269bda748 Tools: exempt kha_eth from bootloader build
no hwdef for this
2025-01-23 17:47:58 +11:00
Peter Barker
04786200c3 Tools: create AP_PERIPH_GPS_ENABLED 2025-01-23 17:47:58 +11:00
Andy Piper
d64cf3ec2d autotest: allow wsl2 networking bridge to be ignored 2025-01-22 18:59:44 +11:00
Gone4Dirt
4343f21a2d Autotest: Heli: Update autorotation tests following restructure
Tools: fix autotest helicopter.py formatting
2025-01-22 18:53:44 +11:00
Andy Piper
98291cd6bd bootloaders: BETAFPV-F405-I2C 2025-01-22 18:27:15 +11:00
Huibean
57e98e2b16 Waf:add --vs-launch 2025-01-22 18:23:57 +11:00
Henry Wurzburg
d7bb1ec359 Tools:reserve bd id for NarinH7 2025-01-22 12:29:56 +11:00
Henry Wurzburg
d59b5a5b40 Tools: mode AUTOLAND enhancements
Co-authored-by: Andrew Tridgell <andrew@tridgell.net>
Co-authored-by: Pete Hall <iampete@hotmail.co.uk>
2025-01-21 11:30:23 +11:00
Thomas Watson
125c64074c ardupilotwaf: fix ESP32 memory zero comment
Followup to PR #29005 (d9e5f2d8a7).
2025-01-20 18:29:35 -06:00
Thomas Watson
949e6bcbba Tools: waf: have boards call superclass initializer
Allows future variables to propagate down to board subclasses.
only build littlefs when hwdef or board calls for it
Avoids issues with build on QURT due to QURT's poor POSIX
implementation.
2025-01-21 11:10:31 +11:00
Andy Piper
7f51f84fc6 waf: disable littlefs debug and asserts 2025-01-21 11:10:31 +11:00
Andy Piper
ce7f4db7ee waf: optionally add littlefs to sitl build options 2025-01-21 11:10:31 +11:00
Andy Piper
d1dd922915 waf: build littlefs filebd 2025-01-21 11:10:31 +11:00
Andy Piper
bc94df6d54 AP_Periph: correct use usage 2025-01-21 11:10:31 +11:00
Andy Piper
514cad3c25 AP_Bootloader: correct use usage 2025-01-21 11:10:31 +11:00
Andy Piper
44ca13c5f3 Replay: account for littlefs when building 2025-01-21 11:10:31 +11:00
Andy Piper
dc9c0fc165 waf: build in littlefs support 2025-01-21 11:10:31 +11:00
Peter Barker
7c101a0846 Replay: add example script for converting from cm to m in RRNI and RRNH messages 2025-01-21 10:54:05 +11:00
Peter Barker
aff20db1a1 autotest: correct copter-tailsitter parameter file for RNGFND1_MIN_CM rename
also fix a race condition in the quadplane-tailsitter test - which is unlikely to ever trigger
2025-01-21 10:54:05 +11:00
Peter Barker
18f95ba41b Tools: allow for more than 327m range rangefinders 2025-01-21 10:54:05 +11:00
Zedd Chen
8e3afa800b bootloaders: add DroneerF405 2025-01-20 17:20:21 +11:00
Zedd Chen
0fc8109a71 AP_Bootloader: add DroneerF405 2025-01-20 17:20:21 +11:00
Jacob Dahl
d8c232d452 Tools: ARK_FPV board support 2025-01-20 10:17:37 +11:00
Andy Piper
201e0e623b bootloaders: TBS LUCID PRO 2025-01-18 15:24:23 +11:00
Jeevan K
f95a8e96a7 Tools: remove sonar_pos param from white list 2025-01-17 08:11:27 +11:00
Vitaliy Nimych
25e1701447 board_types.txt: reserve bootloader id for Stellar F4V2 2025-01-16 15:56:58 +00:00
Jacob Dahl
64bb0ad762 AP_Compass: add IIS2MDC driver 2025-01-15 19:10:16 +11:00
Peter Barker
e7801c1101 Tools: add test for Volz servos 2025-01-15 18:45:45 +11:00
Peter Barker
ed626f57aa Tools: add plane-redundant 2025-01-15 18:45:45 +11:00
Peter Barker
17bfe4ea56 Tools: remove code for sending of BATTERY2 message 2025-01-15 18:16:53 +11:00
Randy Mackay
5be8b19ce4 Tools: param AlphabeticalZeroAtTop handles -1 2025-01-15 14:54:14 +09:00
Hayden Donald
a953cc2019 AP_Periph: Add restart acknowledgement for UAVCAN
There was no acknowledgement for UAVCAN so we add it here
2025-01-15 14:05:48 +11:00
Iampete1
4088ab91c6 Tools: autotest: TestSuite: reboot_check_valgrind_log check file exists before trying to stat it. 2025-01-14 23:26:07 +11:00
Minderring
bbab50115a Tools: add MicoAir743 to manifest generator 2025-01-14 09:21:59 +00:00
Peter Barker
bf54c9c283 Tools: size_compare_branches.py: correct building of bootloader for AP_Periph
we return is_periph on bootloaders built for AP_Periph boards, so we wouldn't build their bootloaders through here
2025-01-14 16:56:42 +11:00
Peter Barker
7c2d329d75 Tools: remove command-line option enabling synthetic clock
it's always on, all the time

this has always been set for many years
2025-01-14 09:38:52 +11:00
Peter Barker
ca4ffb58a1 autotest: remove misleading and inoperative build_opts lines 2025-01-13 22:14:27 +11:00
mikefenghao
9cb0d8e49e Tools: add hwdef MFE_AirSpeed_CAN 2025-01-11 11:23:11 +11:00
Peter Barker
6264fee765 autotest: add LD06 to ProximitySensor tests 2025-01-09 15:39:34 +11:00
Thomas Watson
6c847a2611 Tools: fix Cygwin CI build
There are currently issues where the non-.exe-suffixed files can't be
copied into the `artifacts` folder; `cp` claims "File exists".
Previously this worked but the suffix was added by Cygwin so all files
in `artifacts` had a `.exe` suffix anyway.

This is evidently intended, though non-intuitive, behavior:
https://sourceware.org/legacy-ml/cygwin/2009-08/msg00293.html

> On Cygwin, you should avoid having a file "foo" and a file "foo.exe"
> in the same directory at all cost to avoid puzzeling POSIX borderline
> behaviour like this.  What you do is essentially in the "not
> supported" class of problems.

> [...] Cygwin does not check for a file "foo", if the name of the file
> is explicitely given as "foo.exe".

Apparently something similar was addressed in PR #20926; the current
code installs files with both suffixes, but that fix contradicts the
info above and now has broken.

This PR changes the code to only install .exe-suffixed files, as opposed
to only non-.exe-suffixed files, which was the behavior before that PR.
2025-01-07 13:08:33 +11:00
Peter Barker
1de59f8be6 build_options.py: RateLoopThread is dependent on HarmonicNotches
"> AP_INERTIALSENSOR_FAST_SAMPLE_WINDOW_ENABLED should never be built without harmonic notch support, so we should express the dependency a different way if necessary rather than littering the code with extra defines"
2025-01-07 12:39:42 +11:00
Peter Barker
794b43b2ac Tools: extract_features.py: AP_QUICKTUNE_ENABLED only for Plane 2025-01-07 12:39:42 +11:00
Peter Barker
886c38fbdb Tools: extract_features.py: AP_PLANE_GLIDER_PULLUP_ENABLED only for Plane 2025-01-07 12:39:42 +11:00
Peter Barker
a17bcf8cbe Tools: extract_features.py: specify symbol for MODE_AUTOLAND_ENABLED
the default, "init" doesn't exist for this mode
2025-01-07 12:39:42 +11:00
Peter Barker
16a3735677 autotest: exempt MODE_AUTOLAND_ENABLED from sanity checks except on Plane
... only ever compiled in on Plane
2025-01-07 12:39:42 +11:00
Peter Barker
b929e78285 autotest: test_build_options.py: exempt AP_INERTIALSENSOR_FAST_SAMPLE_WINDOW_ENABLED from sanity check
the symbol supplied will only ever exist on Copter as it is nthe only thing that supports the window
2025-01-07 12:39:42 +11:00
Peter Barker
1949e75407 build_options.py: disable AP_NETWORKING_CAN_MCAST_ENABLED
Fails:
./Tools/autotest/test_build_options.py --no-disable-all --no-disable-none --no-disable-in-turn --board=CubeOrange --define-match-glob=AP_NETWORKING_CAN_MCAST_ENABLED
2025-01-07 12:39:42 +11:00