Commit Graph

1113 Commits

Author SHA1 Message Date
Peter Barker 147abc67ab autotest: integrate features.json generation to build_binaries.py
we have to run the extract_features.py that corresponds to the branch being built.  We may say a feature is presnet when it isn't or vice-versa if we don't.
2023-06-08 18:41:06 +10:00
bugobliterator 327ec0c355 Tools: enable aux IMUs while testing Plane 2023-03-21 10:04:16 +11:00
Peter Barker b6509d52f4 Tools: add defines for Lutan and MegaSquirt 2023-03-21 09:01:13 +11:00
Peter Barker a570160677 Tools: tidy AP_EFI defines 2023-03-21 09:01:13 +11:00
Peter Barker 6021e953c5 Tools: size_compare_branches.py: do not show lines where no builds made
Sometimes the vehicle/board combinations are empty as no build is done.  For example, when building bootloaders several boards don't have one, and hte output is cluttered with their results.

Don't show these empty lines by default
2023-03-19 11:34:55 +11:00
Peter Barker 475df8beae Tools: add camera backends to custom build server 2023-03-19 09:08:41 +11:00
Peter Barker 2f1956bba0 Tools: add option to not include SRXL in build 2023-03-15 22:45:23 +11:00
Randy Mackay 763702aa1a Tools: custom build server option for ekf3 wind estimation 2023-03-15 19:25:11 +11:00
Randy Mackay 41acc69773 Tools: custom build server ek3 external nav dep on ekf3 2023-03-15 19:25:11 +11:00
Peter Barker 71d61a920c Tools: correct feature extraction of ICM20948 2023-03-11 13:05:40 +11:00
Peter Barker f2e34befe4 CI: add explicit param_parse CI_BUILD_TARGET options
currently any time you run this script it seems to do this step
2023-03-11 10:49:06 +11:00
Peter Barker aed69928ee CI: ensure we don't break autotest help options 2023-03-11 10:49:06 +11:00
Willian Galvani bfd815810f Tools: use gcc 10.2.1 for Sub too 2023-03-10 11:00:43 +11:00
Peter Barker e2046c11b8 Tools: size_compare_branches.py: change --no-elf-diff into --elf-diff 2023-03-10 08:48:56 +11:00
Peter Barker e5d20683fe Tools: add defines for all battery backends 2023-03-10 08:48:24 +11:00
Peter Barker 8bee03a7b6 Tools: add ci action to validate bord list 2023-03-08 11:51:36 -08:00
Peter Barker 352fa37004 Tools: add various AP_Notify options to build_options.py 2023-03-07 22:51:43 +11:00
Tom Pittenger 0779aef362 Tools/scripts: add AP_DRONECAN_SEND_GPS to build docs 2023-03-02 09:22:15 +11:00
Peter Barker dc803a5691 Tools: size_compare_branches.py: blacklist linux and esp32 boards for bootloader build 2023-03-01 12:01:03 +11:00
Peter Barker befcba61fa Tools: use build_iofirmware.py in build_ci.sh 2023-03-01 09:50:59 +11:00
Peter Barker 5b6b18803e Tools: add and use AP_COMPASS_MMC5XX3_ENABLED 2023-02-22 19:40:13 +11:00
Peter Barker 47c48775ed Tools: add and use AP_COMPASS_RM3100_ENABLED 2023-02-22 19:40:13 +11:00
Peter Barker aa7932e65a Tools: use AP_COMPASS_EXTERNALAHRS_ENABLED more
Also rename driver name from serial to externalahrs for consistency
2023-02-22 19:40:13 +11:00
Peter Barker bd33f5894b Tools: add and use AP_COMPASS_MAG3110_ENABLED 2023-02-22 19:40:13 +11:00
Peter Barker 3173c92417 Tools: add and use AP_COMPASS_QMC5883L_ENABLED 2023-02-22 19:40:13 +11:00
Peter Barker f7fc5cd947 Tools: build_options.py: add AP_COMPASS_UAVCAN_ENABLED 2023-02-22 19:40:13 +11:00
Peter Barker 60ff9182b2 Tools: add and use AP_COMPASS_MMC3416 2023-02-22 19:40:13 +11:00
Peter Barker 927055784d Tools: add and use AP_COMPASS_ICM20948_ENABLED 2023-02-22 19:40:13 +11:00
Peter Barker 648fe94d2e Tools: add and use AP_COMPASS_AK09916_ENABLED 2023-02-22 19:40:13 +11:00
Peter Barker 697b23910c Tools: size_compare_branches.py: correct elf_diff for bootloaders 2023-02-19 19:21:16 +11:00
Peter Barker 7d244e3451 AP_Compass: add and use AP_COMPASS_LIS3MDL_ENABLED 2023-02-17 23:05:48 +11:00
Peter Barker 67ff7d5eb2 Tools: add compasses missing from build options 2023-02-17 23:05:48 +11:00
Peter Barker debb5c24b3 Tools: add waf argument to get consistent builds 2023-02-17 20:48:45 +11:00
Pierre Kancir 4053b4a57f Tools: build_ci: speedup git download operations 2023-02-15 09:05:17 -08:00
Iampete1 5dde76b899 Tools: scripts: add run_luacheck helper 2023-02-15 19:38:46 +11:00
Tom Pittenger 0f52a7e40d Tools/scripts: add Volz servo feedback feature doc 2023-02-14 08:13:54 -08:00
Shiv Tyagi 8892930adb Tools: fix duplicate label NMEA in build_options.py 2023-02-11 12:31:02 +11:00
Peter Barker a9a40242af Tools: extract_features.py: grab stderr in run_process method 2023-02-11 10:02:20 +11:00
Peter Barker 2d38c8a896 Tools: fix show_output bug in run_program methods
just because we're not showing output doesn't mean we shouldn't raise exceptions on failure!
2023-02-10 21:52:47 +11:00
Peter Barker 76e913dc90 Tools: add validation to extract_features, fix same 2023-02-10 16:24:41 +11:00
Patrick José Pereira 875a57adeb Tools: scripts: Use Enum values over int
Properties need to be Enum type to use with defined enums

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2023-02-09 17:39:21 -03:00
Peter Barker b3de3364e2 Tools: add advanced failsafe to build options 2023-02-08 19:00:13 +11:00
Peter Barker 7b8c69d505 Tools: size_compare_branches.py: add --extra-hwdef-branch option
also adds for --master

This allows you to test the same builds without changing branches but with different hwdef scripts, by specifying the same branch with --master
2023-02-08 19:00:13 +11:00
Peter Barker be2a30af74 Tools: extract AP_VIDEOTX_ENABLED as feature 2023-02-08 11:11:29 +11:00
Peter Barker 83873de403 Tools: remove debug from extract_features.py 2023-02-08 09:44:36 +11:00
Peter Barker 8dbb0e7d2b Tools: add compasses to list of features extracted 2023-02-08 09:44:36 +11:00
Peter Barker d33ff3e6e0 build_options.py: add AP_VIDEO_TX 2023-02-07 16:54:40 +11:00
Peter Barker ffcdcd88b2 Tools: build_options.py: add compasses to build options 2023-02-07 10:21:06 +11:00
Peter Barker d86420f074 Tools: extract_features.py: correct detection of Currawong ECU 2023-02-06 10:16:12 +11:00
Pierre Kancir f8187984a7 Tools: fix flake8 checks 2023-02-04 12:41:06 +11:00