Commit Graph

1460 Commits

Author SHA1 Message Date
Peter Barker
35c25be37e Tools: stop invoking setup.py directly
the command-line interface for setup.py is deprecated

See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html
2024-09-19 11:43:03 +10:00
Peter Barker
c6491d6b45 CI: build CubeBlack-EKF2 not CubeOrange-EKF2 in CI
we really just care that EKF2 builds here, the board really isn't that important
2024-09-19 11:42:37 +10:00
Rahul
1038b458b5 Tools: build_options.py: add MLX90614 2024-09-18 19:10:01 +10:00
Peter Barker
6b7cb893d7 Tool: build_options.py: add missing IST8310 feature 2024-09-17 10:31:27 +10:00
Andrew Tridgell
6d94bb8f81 Tools: added build option AP_NETWORKING_CAN_MCAST_ENABLED 2024-09-17 10:02:29 +10:00
Andrew Tridgell
ef5e3c5662 Tools: use "--enable-PPP" not "--enable-PPP_Support" 2024-09-11 16:11:22 +10:00
Andrew Tridgell
bcf19b6d0d Tools: adjust usage of --enable for uppercase names 2024-09-11 16:11:22 +10:00
Andrew Tridgell
b2b9226863 waf: allow any custom build option to be specified in waf configure
this makes it easy to configure with any option from build_options.py
2024-09-11 16:11:22 +10:00
Randy Mackay
c3a1e53bfb Tools: add camera-thermal-range build option 2024-09-10 20:59:49 +09:00
Andrew Tridgell
c0b89eccd1 Tools: added AP_PLANE_GLIDER_PULLUP_ENABLED feature 2024-09-10 10:15:34 +10:00
Andrew Tridgell
1daf92e499 Tools: raise build time limit
our build is taking over 20hrs now, which means it gets killed and
restarted at 20 hours, and if another commit has come in it means that
AP_Periph may never get built at all

raise to 40 hrs
2024-09-06 14:47:05 +10:00
Peter Barker
adcf5d3503 Tools: Do a CubeOrange build with EKF2 as part of CI
need to build at least one ChibiOS-based board to be sure we haven't killed things
2024-09-06 08:52:01 +10:00
Peter Barker
f7e0b9cb89 Tools: size_compare_branches.py: blacklist build of Pixhack-V3 bootloader
we don't have a hwdef-bl.dat for this board as it uses a bootloader from elsewhere.

This should be done on the hwdef content, but that's still coming...
2024-09-06 08:48:30 +10:00
Peter Barker
46170d7eaa Tools: add EKF3 optical flow fusion to build options 2024-09-02 11:53:12 +10:00
Peter Barker
22caa52d58 Tools: build_options.py: OSD_PARAM does not required OSD to build 2024-09-01 13:39:49 +10:00
Peter Barker
f050ffa3da autotest: correct and add to the extract_features table
depending on which vehicle we are compilin gfror some symbols may be elided by the compiler, so find other symbols which will work.
2024-09-01 13:39:49 +10:00
Peter Barker
18e1a1f630 Tools: build_options.py: remove some baros from features
these are not probably - if they don't exist in a hwdef already then they can't be included in the build
2024-09-01 13:39:49 +10:00
Peter Barker
790287c1fa Tools: build_options.py: correct some feature dependencies 2024-09-01 13:39:49 +10:00
Peter Barker
a8b7513287 Tools: build_options.py: sort IMU into single section 2024-08-27 12:00:47 +10:00
Peter Barker
bd987aa84b Tools: add build option for batchsampler
also create an IMU category to hold IMU-specific options
2024-08-27 12:00:47 +10:00
Ryan Friedman
724e61fa70 Tools: factor out common library for GSOF
* Add tests too

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2024-08-20 14:50:05 +10:00
Peter Barker
7037164d08 Tools: make create_OEM_board.py: handle .inc files 2024-08-20 10:47:08 +10:00
James O'Shannessy
0ec7505e64 scripts: Enable InertialLabs as a build option 2024-08-13 21:32:11 +10:00
James O'Shannessy
6ed84a955d scripts: fix missing extract features 2024-08-09 17:56:26 +10:00
James O'Shannessy
154876fcad scripts: Add build options for InertialLabs
The enable flag is AP_EXTERNAL_AHRS_INERTIAL_LABS_ENABLED, but the extract features can only generate based on the class name, which is InertialLabs.
2024-08-09 17:31:27 +10:00
James O'Shannessy
083f9f8139 scripts: Fixed extract_features.py not extracting ExternalAHRS or INS Temp Cal properly 2024-08-09 17:31:27 +10:00
Pierre Kancir
53a6c2d045 Tools: flake8 sitl-on-hw.py 2024-08-08 20:27:14 +10:00
Pierre Kancir
699dfb5385 Tools: improve sitl-on-hw copter handling 2024-08-08 20:27:14 +10:00
Nicole Ashley
3763d094f6 Tools: Add i-BUS telemetry to build and feature flags 2024-08-07 14:01:44 +10:00
Peter Barker
7537acd3bc Tools: add build_option.py entry for Plane offboard-guided control 2024-08-06 17:45:17 +10:00
Pradeep CK
a6fe130225 Tools: addition of ESC extended status message
- Conditional compilation definition : AP_EXTENDED_ESC_TELEM_ENABLE
 - ESCX log structure
 - Update functionalities for ESCX status message
 - ESCX DroneCAN callback
2024-08-06 10:57:36 +10:00
Peter Barker
54a6344bd3 Tool: build_options.py: add AP_ROVER_ADVANCED_FAILSAFE_ENABLED 2024-08-06 09:38:08 +09:00
YI-BOYANG
50b68b608e scripts: add GEPRCF745BTHD to manifest generator 2024-08-06 09:12:23 +10:00
Iampete1
106068818e Tools: Scripts: cygwin build: remove setting of git safe directory 2024-07-30 11:39:06 +10:00
Peter Barker
f3e980d687 Tools: add build option to not send RC_CHANNELS_RAW
we keep this around in case we break old OSD setups
2024-07-30 10:29:58 +10:00
Peter Barker
1b1ca35927 build_options.py: add HAL_WITH_FRSKY_TELEM_BIDIRECTIONAL 2024-07-26 20:12:40 +10:00
aditya
f849187333 build_options.py: add winch backends 2024-07-25 17:43:05 +10:00
George Zogopoulos
cb044d4718 Tools: Optionally include AP_SIM_GLIDER_ENABLED on SIH 2024-07-24 17:03:48 +10:00
Peter Barker
7f1b7182fb Tools: add AP_RSSI_ENABLED to build_options.py 2024-07-24 09:11:39 +10:00
Willian Galvani
7b5c1f16c1 tools: firmware_version_decoder.py: fix detection for BETA+n firmware 2024-07-22 14:57:47 -03:00
Andrew Tridgell
c137586374 Tools: fixed typo in HAGL feature
thanks Peter :-)
2024-07-17 10:26:36 +10:00
Andrew Tridgell
36d85c9349 Tools: added build option for MAVLink HAGL command 2024-07-17 08:03:18 +10:00
Peter Barker
bf3a8c0044 Tools: correct sitl-on-hw compilation for boards which constrain sensor counts 2024-07-11 21:24:55 +10:00
Peter Barker
0d12cc7693 Tools: build_options.py: add AP_BARO_PROBE_EXTERNAL_COMPASSES 2024-07-11 09:22:42 +10:00
Randy Mackay
dd927e1542 Tools: add build option for Topotek mount 2024-07-09 09:08:51 +10:00
Thomas Watson
f5cc0b3093 Tools: add feature/option defs for serial device simulation 2024-06-27 12:00:18 +10:00
Peter Barker
72a1b97b4c Tools: create_OEM_board.py: include line-feeds on include lines 2024-06-26 11:17:47 +10:00
Peter Barker
87909b5187 Tools: create_OEM_board.py: include defaults.parm, don't copy it 2024-06-26 11:17:47 +10:00
Peter Barker
cd2a30ccda Tools: make create_OEM_board.py flake8-clean 2024-06-26 11:17:47 +10:00
Dr.-Ing. Amilcar do Carmo Lucas
0bbf62938a Tools: add a script to generate vehicle and version dependent apm.pdef.xml files and rsync them to the autotest server 2024-06-20 14:07:07 +10:00
cuav-chen2
869ef0ee04 AP_Baro: Add in BMP581 Driver 2024-06-17 09:50:47 +10:00
Iampete1
364419be81 AP_Scripting: docs: allow overload of manual bindings to allow documentation of optional arguments 2024-06-04 09:29:49 +10:00
Iampete1
c5cdc46fb7 Tools: scripts: run_lua_language_check.py: allow running on a single file and error is no files are checked 2024-06-04 09:29:49 +10:00
Andrew Tridgell
90ab6adebc CI: added test for new without NEW_NOTHROW 2024-06-04 09:20:21 +10:00
Andrew Tridgell
8f9bf6793b Tools: fixed language checker invocation 2024-05-29 12:56:43 +10:00
Iampete1
061d610965 Tools: Scripts: run_lua_language_check: give hint about github-release-downloader 2024-05-28 10:04:15 +10:00
Andy Piper
60493fd11c scripts: add iomcu-f103-8MHz-dshot to size_copmare_branches.py 2024-05-28 06:56:14 +10:00
burgeruser
1c64682602 IO_Firmware: bi-directional dshot on iomcu F103 8MHz 2024-05-28 06:56:14 +10:00
Peter Barker
7194c6e72e Tools: allow handling of AP_MAVLINK_MSG_HIL_GPS_ENABLED to be compiled out 2024-05-23 09:16:32 +10:00
Iampete1
260bc98d92 Tools: scripts: generate_lua_docs: check for local lua-language-server 2024-05-21 09:42:22 +10:00
Iampete1
5e52c7021a Tools: scripts: run_lua_language_check: grab and install latest release 2024-05-21 09:42:22 +10:00
Iampete1
613074e6e8 Tools: scripts: add lua language check and docs generation 2024-05-21 09:42:22 +10:00
Andrew Tridgell
792fdc2fb8 Tools: specify pymonocypher version in more places
and confirm version when running tools
2024-05-19 10:07:54 +10:00
Andrew Tridgell
40fc2eb91c Tools: use previous release of pymonocypher 2024-05-10 16:17:17 +10:00
Henry Wurzburg
ab407f3e27 Tools: add blended GPS build option 2024-05-06 12:22:03 +10:00
Peter Barker
5a2b7c0ab2 Tools: build_options.py: add RPM DroneCAN
.... otherwise no board will compile without dronecan enabled - and some won't build that way
2024-05-03 22:59:18 +10:00
Peter Barker
2746a02187 Tools: build_options.py: note that HereFlow requires DroneCAN 2024-05-03 22:59:18 +10:00
Peter Barker
c8bcd35f94 Tools: build_options.py: note extended link stats requires MSP 2024-05-03 22:59:18 +10:00
Andrew Tridgell
45114d8b03 Tools: added serial playback tool
for playing back serial data captured by ArduPilot
2024-05-02 12:17:49 +10:00
haarshitgarg
4c95a3b6ef Tools: enabled sending waypoints from a companion computer to ardupilot for copter and rover
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2024-05-02 09:08:34 +09:00
Tatsuya Yamaguchi
c9f7a3c03d Tools: Scripts: Decode devid: add SCHA63T 2024-04-23 14:15:09 +01:00
Andrew Tridgell
72f87edfb4 Tools: added DroneCAN dependencies
See this report:

https://discuss.ardupilot.org/t/after-upgrading-the-aircraft-version-above-4-4-0-the-parameters-of-mnt-cannot-be-found
2024-04-16 09:23:34 +10:00
Henry Wurzburg
f15f23d153 Tools: add MicoAir405Mini 2024-04-16 09:21:23 +10:00
richaravoil
d63307f881 Tools : add a script to make an OEM setup 2024-04-10 21:52:39 +10:00
Maxim Buzdalov
5e5fde78c2 Tools: use same-bdshotness boards for ccache test 2024-04-09 10:45:08 +10:00
rmaia
5d427b1b70 Tools: add extended RC link stats OSD fields
Adds RSSI dBm, SNR, LQ, Tx power and active antenna OSD fields
2024-04-02 10:30:24 +11:00
zebulon-86
72120e8d44 Tools: extract_features.py: add AP_RangeFinder_RDS02UF 2024-04-01 16:12:53 +11:00
zebulon-86
b9ede21378 Tools: add rangefinder backends to custom build server options 2024-04-01 16:12:53 +11:00
Henry Wurzburg
6d360ec79c Tools: move somne items in build options to different sections 2024-04-01 16:08:21 +11:00
Andrew Tridgell
4ba151151c CI: added --force to git tags --fetch
needed for new git version after server upgrade
2024-03-23 12:37:58 +11:00
Peter Barker
e7bf9d2b57 Tools: size_compare_branches.py: write out some.csv less racily
The current construct wipes the old file before reading and collating the data and writing to the file.  This meant the file was empty a lot of the time...

Formulate the output then write to file....
2024-03-22 19:30:09 +11:00
Peter Barker
c17a11b3c8 Tools: shorten labels in build options
long names here push out the display on a generated Wiki page.
2024-03-20 16:26:23 +11:00
Peter Barker
0e4b41baa6 Tools: rename GPS_ to GPS1_ 2024-03-19 19:50:12 +11:00
Peter Barker
dcbd2c6782 Tools: allow HarmonicNotches to be compiled out of the code 2024-03-19 07:04:13 +11:00
Andrew Tridgell
e019488dcc CI: added a 6X plane build for SOHW 2024-03-18 14:12:25 +11:00
Andrew Tridgell
562da161fe Tools: added HiRes DroneCAN compass as selectable option 2024-03-16 20:10:35 +11:00
Peter Barker
47d4451370 Tools: build_parameters: stop using --sitl option
this option was removed because we now mix the SIM parameters in with everything else.
2024-03-16 06:55:25 +11:00
Minderring
a189fe2ecc scripts: add MicoAir405v2 to manifest generator 2024-03-15 13:04:29 +11:00
Andrew Tridgell
a654962b4c Tools: added crc32.py 2024-03-13 18:50:29 +11:00
Peter Barker
f6e7b9de5b Tools: move AC_Avoidance defines into libraries 2024-03-11 18:07:18 +11:00
olliw42
31e2353c11 Tools: add RC_MAVLINK_RADIO to build options 2024-03-09 10:47:39 +11:00
Henry Wurzburg
d657f40a41 Tools: fix logging feature extract 2024-03-07 18:12:53 +11:00
Peter Barker
f88d0a7d54 build_ci.sh: do a test build with HAL_LOGGING_ENABLED false 2024-03-06 18:40:34 +11:00
Peter Barker
d6df142eaa GCS_MAVLink: allow FTP to be compiled out with build_options.py 2024-03-03 08:38:22 +11:00
Peter Barker
40a0e06db3 Tools: add and use AP_CUSTOMROTATIONS_ENABLED
also add to build_options.py
2024-03-03 08:22:46 +11:00
Andrew Tridgell
03910b8df4 Tools: run examples with SITL 2024-02-28 19:22:14 +11:00
Andrew Tridgell
fee5374cb6 Tools: only produce _with_bl.hex not *.hex for vehicle firmware
if we are producing _with_bl.hex then don't also build *.hex as it can
confuse users who think they should flash *.hex with a DFU flashing
tool
2024-02-27 11:24:24 +11:00
Dr.-Ing. Amilcar do Carmo Lucas
b6b4c972f9 Tools: Script to fetch online ArduPilot parameter documentation (if not cached) and
add it to the specified file or to all *.param and *.parm files in the specified directory.

1. Checks if a local cache of the XML file exists in the target directory or on the directory of the target file:
 - If it does, the script loads the file content.
 - If it doesn't, the script sends a GET request to the URL to fetch the XML data for the requested vehicle type.
2. Parses the XML data and creates a dictionary of parameter documentation.
3. DELETES all comments that start at the beginning of a line
4. Adds the parameter documentation to the target file or to all *.param,*.parm files in the target directory.

Supports AP_Periph, AntennaTracker, ArduCopter, ArduPlane, ArduSub, Blimp, Heli, Rover and SITL vehicle types
Supports both Mission Planner and MAVProxy file formats
Supports sorting the parameters
Has unit tests with 88% coverage

AP_FLAKE8_CLEAN

Author: Amilcar do Carmo Lucas, IAV GmbH

# Conflicts:
#	.github/workflows/test_unit_tests.yml
2024-02-22 08:31:57 +11:00
Simon Hancock
e01e697343 Autotest: Generate LogMessages.xml for Sub 2024-02-21 21:05:22 +11:00
Dr.-Ing. Amilcar do Carmo Lucas
74640c9e65 Tools: Extracts parameter default values from an ArduPilot .bin file.
Supports Mission Planner, MAVProxy and QGCS file format output

Contains unittests with 95% coverage

Amilcar do Carmo Lucas, IAV GmbH
2024-02-21 18:24:16 +11:00