Commit Graph

1460 Commits

Author SHA1 Message Date
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
Ryan Friedman
963095978b Tools: Remove format.sh
* This is now replaced by run_astyle.py
* format.sh was not enforced by CI, now there is too much delta on the
  codebase to enforce this

Signed-off-by: Ryan Friedman <25047695+Ryanf55@users.noreply.github.com>
2024-11-09 09:55:10 +11:00
Peter Barker
874d268aa6 Tools: add bebop to Python all-boards list 2024-11-08 16:00:10 +11:00
Peter Barker
02b0578a6a Tools: strip python2 support from size_compare_branches.py 2024-11-08 15:59:54 +11:00
Peter Barker
9e4bdf31b8 Tools: add logger metadata generation to CI 2024-11-05 09:02:27 +09:00
Peter Barker
8347a86d59 Tools: add --core to solution_status_change.py 2024-10-22 18:20:31 +11:00
Peter Barker
ced25ec0d7 Tools: remove use of python (as opposed to python3) 2024-10-15 11:11:38 +11:00
Peter Barker
653aff7f8a Tools: split Plane tests into tests1a and tests1b 2024-10-02 18:10:45 +10:00
Peter Barker
23513e3f9a Tools: use /usr/bin/env to find python3
going directly to /usr/bin/python3 means we don't use the venv python
2024-10-02 18:10:34 +10:00
Willian Galvani
1a15e50434 CI: add navigator64 build 2024-10-02 06:18:32 +10:00
ARg
f3a39105b9 Tools: Migration of ESP32 targets from idf 4.4 to 5.3 consisting of:
- Updated installation scripts of esp-idf toolchain;
- Adding ESP_PLATFORM define to ESP32 targets, it is required to compile FreeRTOS with idf 5.3;
2024-10-01 09:25:35 +10:00
Nick Exton
53877ac986 Tools: Add VIDEO_STREAM_INFORMATION guard to build_options.py 2024-10-01 08:18:54 +09:00
Nick Exton
55de48b60a Tools: Add CAMERA_INFO_FROM_SCRIPT guard to build_options.py 2024-10-01 08:18:54 +09:00
Henry Wurzburg
1830dd6d75 Tools:clean up displayed text for build options 2024-09-25 23:44:38 +10:00
Peter Barker
863c3d3140 Tools: build_options.py: add AP_BATTERY_SUM_ENABLED option 2024-09-21 15:28:42 +10:00
cuav-chen2
29176ebabd Tools: Add in BMM350 Driver 2024-09-21 10:08:36 +10:00