Commit Graph

1475 Commits

Author SHA1 Message Date
Randy Mackay
fc479fdd7a Tools: NanoRadar MR72 and Hexsoon Radar build options 2025-02-18 16:38:12 +09:00
Peter Barker
97df89c9fe Tools: tidy build_autotest.sh script
uses pushd rather than multiple cd calls

indents for clarity

removes unused oldhash assignment

create and make use of intermediate variables
2025-02-18 11:20:31 +11:00
Peter Barker
b65892448b Tools: build_autotest.sh: allow use of more modern timelimit command
command-line has changed (if indeed this is the same command!)

Regardless, autotest server has some grandfathered binary in place in $HOME/bin/timelimit and we do want to move past it at some stage
2025-02-17 20:19:03 +11:00
rafasaurus
0e7e8ba5bf Tools: uploader.py: verify correct install
- Implement functionality to verify correct firmware installation
- Utilize existing code with an additional argument for verification
2025-02-07 10:17:11 +11:00
Peter Barker
d0dff23ff7 Tools: use aux switch to trigger AHRS-trim-via-RC-input 2025-02-06 16:03:52 +11:00
Tdogb
bac78b54bf Tools: allow selection of AUAV airspeed in custom build server 2025-02-04 16:17:28 +11:00
Peter Barker
2ef98e18ce Tools: size_compare_branches.py: mark navigator64 as a Linux board
... so we don't try to buld bootloaders for it
2025-01-31 09:20:03 +11:00
Peter Barker
f18c458b39 Tools: create_OEM_board.py: correct help string 2025-01-30 08:48:19 +11:00
Peter Barker
e0c9f5fc1c Tools: create_OEM_board: use argparse to parse command-line arguments
also fix use of global variables from within the class scope
2025-01-29 06:49:51 +11:00
Peter Barker
6a9d3f97dd Tools: use python3 -m pip to install Python packages 2025-01-28 21:56:05 +11:00
Peter Barker
5269bda748 Tools: exempt kha_eth from bootloader build
no hwdef for this
2025-01-23 17:47:58 +11:00
Jacob Dahl
64bb0ad762 AP_Compass: add IIS2MDC driver 2025-01-15 19:10:16 +11:00
Peter Barker
17bfe4ea56 Tools: remove code for sending of BATTERY2 message 2025-01-15 18:16:53 +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
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
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
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
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
Peter Barker
1bc4515a39 Tools: remove MOUNT_CONFIGURE and MOUNT_CONTROL support 2025-01-03 14:18:25 +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
5de498f54b Tools: correct enable/disable of AP_DRONECAN_VOLZ_FEEDBACK_ENABLED
recent servo-feedback library didn't record appropriate dependencies in build_options.py
2024-12-31 12:45:41 +11:00
Henry Wurzburg
b76da82387 Tools: add AutoLand fixed-wing mode 2024-12-31 09:18:49 +11:00
Andy Piper
631c4944ff scripts: correct runcam build option description 2024-12-13 11:07:09 +00:00
Andy Piper
00c9d013dd scripts: HAL_RUNCAM_ENABLED -> AP_CAMERA_RUNCAM_ENABLED 2024-12-13 11:07:09 +00:00
Andrew Tridgell
4f7a1fc81c Tools: support CANFD log playback in CAN_playback.py 2024-12-11 08:43:56 +11:00
Andrew Tridgell
7023650c69 Tools: added option for CAN logging 2024-12-11 08:43:56 +11:00
YI-BOYANG
1b51d6ace3 Tools: add GEPRC_TAKER_H743 2024-12-10 10:30:54 +11:00
Andrew Tridgell
7a0af16d6c Tools: allow PID filtering to be enabled on custom build server
we have a small plane with a SpeedyBeedF405Wing, 1M flash, that needs
PID filtering for some structural modes
2024-12-09 07:40:06 +11:00
Andy Piper
ba6da82f07 scripts: add AP_INERTIALSENSOR_FAST_SAMPLE_WINDOW_ENABLED to build_options.py and extract_features.py 2024-12-04 07:45:05 +11:00
Iampete1
a47aaef2b4 Tools: scripts: build options and extract features: add AP_Servo_Telem 2024-12-03 07:38:17 +11:00
Peter Barker
cc4110140c Tools: add support for ina3221 triple-channel current/voltage sensor 2024-12-02 10:10:01 -06:00
Andrew Tridgell
5c6be69624 Tools: added QUICKTUNE to build options 2024-11-27 14:07:38 +11:00
Pierre Kancir
5ca1e48040 Tools: build_ci: use /tmp/pip-cache for cache 2024-11-27 09:07:18 +11:00
Pierre Kancir
bfc94b6e02 Tools: output ccache and diff size output to github action summary 2024-11-26 15:41:03 +11:00
Pierre Kancir
2cd0ac1e35 Tools: move pretty_diff_size to Tools/build_tests 2024-11-26 15:41:03 +11:00
Pierre Kancir
a4b27c6c37 Tools: build_ci: disable .profile check on github actions 2024-11-24 06:55:29 +11:00
Pierre Kancir
95a273e18a Tools: build_ci: disable pip root user warning on CI
Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
2024-11-24 06:55:29 +11:00
Pierre Kancir
7980fabeeb Tools: build_ci: disable pip progressbar, use /tmp/pip-cache for cache
prevent :

The directory '/github/home/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag.
2024-11-24 06:55:29 +11:00
bugobliterator
93d99ece0a Tools:waf: add option to build IOMCU firmware with profiled support 2024-11-20 19:12:44 +11:00
bugobliterator
44ef597647 .github: add CubeNode-ETH build to CI 2024-11-15 11:25:19 +11:00
Ryan Friedman
8354bedd51 Tools: Recommend what to do when astyle fails
Signed-off-by: Ryan Friedman <25047695+Ryanf55@users.noreply.github.com>
2024-11-14 09:02:21 +11:00
Peter Barker
fb4b52fae3 Tools: remove handling of HIL_GPS
... per deprecation/removal schedule
2024-11-13 19:41:00 +11:00
Jacob Dahl
3e0c0132c8 Tools: scripts: decode_devid.py: added IIM42653 2024-11-13 06:39:29 +11:00
Peter Barker
be769a6a7f Tools: correct powr_change.py output for accumulated flags 2024-11-13 06:38:39 +11:00
Peter Barker
ca424a165d Tools: add entry for Copter advanced failsafe to custom build server 2024-11-12 12:44:34 +11:00