Commit Graph

9356 Commits

Author SHA1 Message Date
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
Peter Barker
b6e3429dcc build_options.py: runcam now requires camera 2025-01-07 12:39:42 +11:00
Peter Barker
bacf7d8a02 Tools: add missing dependency for can logging 2025-01-07 12:39:42 +11:00
Ryan Friedman
01345e5a38 Tools: ros2: Clean up copter takeoff
* Finish timeout implementation missing variables
* Remove unused imports

Signed-off-by: Ryan Friedman <25047695+Ryanf55@users.noreply.github.com>
2025-01-07 11:07:51 +11:00
Thomas Watson
2d9865760d Tools: ensure ESP32 malloc is wrapped to zero memory
The relevant linker flag needed to be put in the CMake script.
2025-01-05 10:27:32 +11:00
Minderring
4360a7ee7a Tools: add hwdef MicoAir743v2
Update README.md: add bluetooth introduction to features

Co-authored-by: Henry Wurzburg <hwurzburg@yahoo.com>

Update README.md: fix description about SERIAL8

Co-authored-by: Henry Wurzburg <hwurzburg@yahoo.com>

Update README.md: fix description about RC

Co-authored-by: Henry Wurzburg <hwurzburg@yahoo.com>

Update README.md: add description about "LED" pin

Co-authored-by: Henry Wurzburg <hwurzburg@yahoo.com>

Update README.md: fix description about Loading Firmware

Co-authored-by: Henry Wurzburg <hwurzburg@yahoo.com>

Update README.md: fix description about update firmware

Co-authored-by: Henry Wurzburg <hwurzburg@yahoo.com>

remove defaults.parm and defined default params in hwdef file

Update README.md: fix description about osd

Co-authored-by: Henry Wurzburg <hwurzburg@yahoo.com>

remove parameter define about serial4

Update README.md: add a section about BlueTooth
2025-01-03 14:24:47 +11:00
Ryan Friedman
e0068ec81c Tools: Install and update necessary xterm fonts for WSL
* WSL is missing the default fonts
* Without this, the xterm font size is unusably small on high DPI
  displays
* xfonts-base is already installed on standard ubuntu versions

Signed-off-by: Ryan Friedman <25047695+Ryanf55@users.noreply.github.com>
2025-01-03 14:22:29 +11:00
Peter Barker
58eb6367e9 autotest: correct diagnostic string
that "f" in front of an f-string is important
2025-01-03 14:19:17 +11:00
Peter Barker
1bc4515a39 Tools: remove MOUNT_CONFIGURE and MOUNT_CONTROL support 2025-01-03 14:18:25 +11:00
muramura
bdacfdc76d AP_Periph: Change division to multiplication 2025-01-02 23:22:42 +11:00
Minderring
f2eb188f82 Tools: support for MicoAir743-AIO
Update README.md: uses internal esc

Co-authored-by: Henry Wurzburg <hwurzburg@yahoo.com>

Update README.md: introduction about RC input

Co-authored-by: Henry Wurzburg <hwurzburg@yahoo.com>

Update README.md: introduction about PWM groups

Co-authored-by: Henry Wurzburg <hwurzburg@yahoo.com>

remove defaults.parm and defined default params in hwdef file
2025-01-02 11:37:19 +00:00
Randy Mackay
e2e7d1df7f Tools: add CADDX gimbal to build server options 2025-01-02 22:18:19 +11:00
Peter Barker
5726c03e38 autotest: improve debug on wait_gps_disable 2025-01-01 09:15:12 +11:00