Commit Graph

1426 Commits

Author SHA1 Message Date
Andrew Tridgell
08fd7973e2 Tools: removed force32 bit option for sitltest-can
multicast does not work on CI as 32 bit binary
2023-08-24 13:06:40 +10:00
Ryan Friedman
4447e87098 Tools: Build DDS tests in CI
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-08-24 07:46:06 +10:00
Tom Pittenger
2057a1871b Tools/scripts/build_features: add BATTERY_ESC_TELEM_OUTBOUND_ENABLED 2023-08-22 16:14:36 -07:00
Ryan Friedman
d76bf320de Tools: Enforce astyle on AP_ExternalControl
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-08-22 18:21:23 +10:00
Peter Barker
2c3ac2fa4e build_options.py: create MAVLink section, populate it
this is for when we want to be able to add or remove mavlink features or mavlink message/command handling
2023-08-22 09:09:54 +10:00
Andrew Tridgell
c14e65850b Tools: allow selection of sdcard storage
this has been requested for MatekF765-Wing
2023-08-21 17:03:52 +10:00
Ryan Friedman
a56782546d Tools: Allow enforcing astyle in CLI automatically
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-08-19 20:26:55 +10:00
Peter Barker
2ce61cce58 AP_Generator: rename generator define to fix feature extraction
pattern-matching requires a regular pattern.  Renaming the class would be bad, so  just rename the define
2023-08-16 17:35:59 +10:00
Peter Barker
08a7fa8d1f Tools: extract_features.py: correct feature extraction for generator
update isn't present in some classes as they inherit it from their base class
2023-08-16 17:35:59 +10:00
Peter Barker
f6e93ad12b Tools: add build_options.py option to remove rallypoint protocol 2023-08-15 08:37:17 +10:00
Andy Piper
74fb1a91ca scripts: build f103 variants of iofirmware 2023-08-15 06:53:48 +10:00
bugobliterator
de0f875191 IO_Firmware: dshot iofirmware and build script 2023-08-15 06:53:48 +10:00
Peter Barker
a2934d7dd2 Tools: size_compare_branches.py: make build failures clearer 2023-08-12 15:31:29 +10:00
Peter Barker
52ca2be0d1 Tools: write features json at same place we write manifest 2023-08-12 10:39:01 +10:00
Peter Barker
4226371f76 Tools: add sensor_status_change.py 2023-08-10 08:04:01 +10:00
Andrew Tridgell
3f4a6a23dd Tools: added battery fitting script 2023-08-10 07:43:25 +10:00
Peter Barker
dd388a3da2 Tools: add build_options.py option to remove fencepoint protocol
also gate more code on defines

Saves ~2kB
2023-08-09 17:53:54 +10:00
Ryan Friedman
4f08451ade Tools: Rename LORD to MicroStrain
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-08-07 19:16:03 +10:00
Peter Barker
9bd19bc835 Tools: size_compare_branches.py: blacklist build of RADIX2HD bootloader
we don't have a hardware definition for this
2023-08-04 07:16:58 +10:00
Peter Barker
17343e2228 Tools: build_options.py: add SLCAN to build options
saves 4.1kB when disabled
2023-08-01 11:33:26 +10:00
Peter Barker
3784841eaa Tools: extract_features.py: sort extracted features string into more useful order
when taking differences between output of this file it is more useful to sort the list regardless of compiled-in/compiled-out.
2023-08-01 07:08:19 +10:00
Randy Mackay
e0353666d4 Tools: custom build server supports viewpro mount 2023-07-18 21:02:02 +09:00
Willian Galvani
5013a1e979 Tools: don't fail if feature extraction failed (beta/stable version) 2023-07-15 09:59:28 +10:00
Peter Barker
e2e8bbabf1 Tools: don't fail if feature extraction failed 2023-07-12 20:48:19 +10:00
Max-001
44e565800f Tools: added EFI mavlink to build options 2023-07-11 12:32:19 +10:00
Iampete1
0ee778cac1 Tools: Scripts: run_luacheck: allow passing extra arguments 2023-07-06 00:11:12 +01:00
Henry Wurzburg
6afb16d10f Tools:add brake mode to build options 2023-06-28 15:59:22 +10:00
Randy Mackay
8adfd7e6ad Tools: custom build server support for Xacti gimbal 2023-06-27 21:12:20 +10:00
Peter Barker
f7243c0ff5 Tools: add and use AP_SBUSOUTPUT_ENABLED
.... which will allow periphs to instantiate this if they really feel like it, and for it to be removed on smaller boards on the custom build server (and potentially on lower-specced boards.
2023-06-27 10:10:41 +10:00
Peter Barker
0cf53f5127 Tools: add option to disable relay and servorelay libraries 2023-06-20 09:36:39 +10:00
Peter Barker
2d51eae56e Tools: build_options.py: add filesystem build options 2023-06-18 10:35:27 +10:00
Peter Barker
c0cf43d5b5 Tools: tidy solution_status_change.py
NFC, just a bit tidier
2023-06-15 19:25:12 +10:00
Peter Barker
a1726f9b92 Tools: allow CrashCatcher to be disabled via hwdef 2023-06-14 18:39:11 +10:00
Peter Barker
cf7b01d73a Tools: add AP_SCRIPTING_ENABLED to custom build server 2023-06-09 16:10:52 +10:00
Peter Barker
0c9c01d903 Tools: size_compare_branches.py: correct exclude-board globbing 2023-06-09 08:41:27 +10:00
Peter Barker
a7e6bfc80a Tools: size_compare_branches.py: blacklist build of Pixhawk1-bdshot
new board, no bootloader
2023-06-09 08:41:27 +10:00
Peter Barker
38693c0e5d Tools: add --exclude-board=glob to size_compare_branches.py 2023-06-08 17:16:51 +10:00
Peter Barker
7ab625b969 Tools: correct detection of feature AP_FILESYSTEM_FORMAT_ENABLED 2023-06-08 08:55:26 +10:00
Peter Barker
440d00e8c8 Tools: add AP_BOOTLOADER_FLASHING_ENABLED to build options 2023-06-07 18:24:05 +10:00
Peter Barker
3b5779fa91 Tools: create define specifically for the developer feature for killing IMUs 2023-06-07 18:23:01 +10:00
Andrew Tridgell
ce11532800 Tools: make sdcard formatting a build option 2023-06-06 15:19:00 +10:00
Ryan Friedman
5803dd9b23 scripts: Only enable Werror in boards.py rather than build_ci.sh
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-06-05 09:09:13 +10:00
Ryan Friedman
8d1937866b Tools: Only enable -Werr for SITL when compiling with g++
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-06-05 09:09:13 +10:00
Ryan Friedman
7b4d37ac43 Tools: Enable -Werr for SITL
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-06-05 09:09:13 +10:00
Andrew Tridgell
4946ce5431 HAL_ChibiOS: revert recent USB changes
these are causing some boards to crash on startup. Tested with a
QiotekZealotH743 which doesn't get out of setup_usb_strings()

once we have debugged this we can re-add the functionality
2023-06-03 16:50:30 +10:00
Peter Barker
2489a2bec4 Tools: compile with debug symbols and provide path to sources 2023-06-01 11:36:02 +10:00
Peter Barker
d2af1f0fa1 Tools: size_compare_branches.py: correct branch name in elf_diff output 2023-06-01 11:36:02 +10:00
bugobliterator
b5f303e5e7 Tools: use HereProAP instead of HerePro 2023-05-31 18:40:17 +10:00
Nicholas Kruzan
5a67ff6479 Tools: new board: esp32s3devkit 2023-05-26 10:54:01 -07:00
Pierre Kancir
a47c97bb9f Tools: continue on coverage test failure 2023-05-26 10:48:35 -07:00
Andrew Tridgell
c69f236dd3 Tools: added beta-4.3 to build list 2023-05-25 07:33:47 +10:00
Pierre Kancir
d01f9e3ec5 Tools: add typing and add option for examples on coverage 2023-05-24 17:56:58 +10:00
Pierre Kancir
dcb6b59962 Tools: remove build/linux/modules from coverage stats 2023-05-24 17:56:58 +10:00
Peter Barker
1359b43742 Tools: build_binaries.py: avoid exception while handling exception
From the build server:

  File "./build_binaries.py", line 570, in get_exception_stacktrace
    ret = "%s\n" % e
  File "/usr/lib/python3.8/subprocess.py", line 113, in __str__
    if self.returncode and self.returncode < 0:
2023-05-24 06:23:02 +10:00
Andrew Tridgell
59b24c304f Tools: support beta-4.3 tags for doing new beta releases
temporary measure for new beta-4.3 for RCIN fix
2023-05-23 20:26:42 +10:00
Andrew Tridgell
5f469f2596 Tools: whitelist AP_PLANE_BLACKBOX_LOGGING
no signature we can use for this
2023-05-18 12:59:09 +10:00
Andrew Tridgell
e0cf5c5802 Tools: added AP_PLANE_BLACKBOX_LOGGING build option for custom build server 2023-05-18 12:59:09 +10:00
Pierre Kancir
c05175074a Tools: enforce python3 on Tools 2023-05-18 07:54:10 +10:00
Peter Barker
0edf71e430 Tools: configure_all.py: copy bootloader hwdefs to different filename 2023-05-17 18:39:51 +10:00
Peter Barker
01c3e34eea Tools: use chibios_hwdef lib to determine is-ap-periph 2023-05-17 18:39:51 +10:00
Peter Barker
e6a5afe5fe Tools: build_options.py: add ST24, SUMD, PPMSum and IBus RC protocols 2023-05-17 18:27:19 +10:00
Henry Wurzburg
30d71e42df Tools: move SITL on HW to Tools and simplify config 2023-05-16 21:11:36 +10:00
Peter Barker
b19035b9a7 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-05-16 09:53:11 +10:00
Peter Barker
0da4e3c9f3 Tools: add and use AP_RCPROTOCOL_ENABLED 2023-05-16 09:16:37 +10:00
Nicholas Kruzan
2df27560c0 Tools: size_compare_branches - add board esp32nick 2023-05-15 12:22:17 +10:00
Nicholas Kruzan
e807d2a34a Tools: idf-v4.4 updates
update wifi drivers

nick: fix build warning

In file included from ../../libraries/AP_HAL_ESP32/WiFiUdpDriver.cpp:26:
../../modules/esp_idf/components/esp_event/include/esp_event_loop.h:2:2: warning: #warning "esp_event_loop.h is deprecated, please include esp_event.h instead" [-Wcpp]
 #warning "esp_event_loop.h is deprecated, please include esp_event.h instead"

AP_HAL_ESP32: idf-v4.4 updates

AP_HAL_ESP32: sdkconfig updates
2023-05-15 10:27:25 +10:00
Peter Barker
baae2fd7b4 Tools: size_compare_branches.py: add option to hide lines with no binary changes 2023-05-14 18:26:07 +10:00
Peter Barker
2d862758e7 Tools: size_compare_branches: avoid elf_diff when not requested 2023-05-13 20:04:25 +10:00
Peter Barker
5483f07d28 Tools: size_compare_branches.py: add --parallel option 2023-05-12 07:12:41 +10:00
Peter Barker
254886100e Tools: configure_all: allow copying of bootloader hwdefs 2023-05-10 17:14:43 +10:00
Peter Barker
791ce7a28e Tools: size_compare_branches.py: quieten rsync
this isn't necessary and makes the output more difficult to read
2023-05-07 09:04:02 +10:00
ES-Alexander
a43680e882 Tools: scripts: create mavlink_parse.py
A parser that finds incoming, requestable, and outgoing MAVLink messages for each vehicle.
May not indicate full support, but at least shows the messages which are handled in the code.

Optionally also:
- finds incoming commands
- finds unsupported messages (and commands)
- breaks out messages in the search groups for the selected vehicle
- allows specifying a header for the markdown file output

Requires Python >= 3.11
2023-05-05 09:43:54 +02:00
Peter Barker
237bcf7b7a Tools: remove old bufsize parameters 2023-05-04 13:00:48 +10:00
Andrew Tridgell
a35bf1c373 Tools: use correct astype options in run_astyle.py 2023-05-03 15:22:42 +10:00
David Buzz
a9bb6745a6 Tools: improve esp32 tool for getting the esp_idf/compiler/etc and giving user better help. 2023-05-02 14:38:03 +10:00
David Buzz
ac9ea370fd Tools: add a new board for tomte76
mpu9255 board, bmp280 baro, micro sd card and NEO M8 clone

a
2023-05-02 14:38:03 +10:00
Peter Barker
0cab4c7ebf build_options.py: add AP_RCPROTOCOL_SBUS_ENABLED option 2023-05-02 10:19:50 +10:00
Peter Barker
a6da1ac3bd Tools: add and use AP_RCPROTOCOL_CRSF_ENABLED 2023-04-27 18:31:30 +10:00
Peter Barker
401de797ed Tools: add add use AP_RCPROTOCOL_SRXL2_ENABLED 2023-04-26 22:54:33 +10:00
bugobliterator
ec2eedd95b Tools: add CubeRedPrimary-bootloader target to build_ci 2023-04-26 18:04:00 +10:00
bugobliterator
434c1bb570 Tools: fix appending to bytearray in uploader.py for Python 3 2023-04-26 18:04:00 +10:00
Peter Barker
070d159b17 Tools: create and use backend defines for AP_ExternalAHRS 2023-04-26 14:09:25 +10:00
Peter Barker
fb51e35984 Tools: add and use AP_NOTIFY_TONEALARM_ENABLED 2023-04-23 16:24:02 +10:00
Andrew Tridgell
0573a86fcf Tools: use python3 in build_binaries.py 2023-04-21 15:46:24 +10:00
Andrew Tridgell
0d029ee055 Tools: change autotest to python3 2023-04-21 15:46:24 +10:00
Tom Pittenger
c70d6d14eb Tools/scripts: AP_KDECAN_ENABLED docs 2023-04-17 11:52:52 +10:00
Peter Barker
8c92787e32 Tools: size_compare_branches: allow use in detached-head state 2023-04-15 23:16:16 +10:00
Peter Barker
8c326bc6fb Tools: correct extraction of handle_play_tune feature 2023-04-13 15:24:45 +10:00
Peter Barker
e5a0d1bf9c Tools: add proximity backends to custom build server 2023-04-13 07:07:18 +10:00
Peter Barker
f2cc1c501b Tools: use AP_BEACON_ENABLED instead of BEACON_ENABLED 2023-04-12 09:24:39 +10:00
Andrew Tridgell
402de293d6 Tools: text messages and more defines 2023-04-11 10:31:31 +10:00
Andrew Tridgell
c7231240c8 Tools: rename more variables, types and defines 2023-04-11 10:31:31 +10:00
Andrew Tridgell
b322a7a1fe Tools: change UAVCAN_ENABLED to DRONECAN_ENABLED 2023-04-11 10:31:31 +10:00
Peter Barker
395c1e1815 Tools: correct OSD feature extraction
... setting OSD_ENABLED false doesn't actually get rid of AP_OSD::AP_OSD ATM!
2023-04-11 08:57:20 +10:00
Andrew Tridgell
6944e73c57 Tools: fixed build of CPUInfo and other tools 2023-04-10 16:48:50 +10:00
Peter Barker
9c32c96334 Tools: build_options.py correct winch enablement
this was renamed throughout - except in here
2023-04-10 09:20:47 +10:00
Peter Barker
465e8839c8 Tools: validate features are removed when we compile them out 2023-04-09 22:04:05 +10:00
Andrew Tridgell
70fb79c349 Tools: rename AP_UAVCAN to AP_DroneCAN 2023-04-08 07:11:23 +10:00
Andrew Tridgell
0c3c379f69 Tools: remove references to modules/uavcan 2023-04-08 07:11:23 +10:00
Peter Barker
cdb4012886 Tools: enforce astyle formatting in AP_DDS 2023-04-07 18:21:14 +10:00
Randy Mackay
945b013e58 Tools: build option for Camera_MAVLinkCamV2 2023-04-06 20:58:22 +10:00
Peter Barker
59c2197029 Tools: extract_features: extract precland backend features 2023-04-05 18:33:19 +10:00
Peter Barker
149b0e68f2 build_options.py: add options for companion and IRLock 2023-04-05 18:33:19 +10:00
Peter Barker
aa863523a6 Tools: remove dsdl_generated before building bootloader
waf doesn't take care of this for us
2023-04-05 07:52:30 +10:00
Peter Barker
18dc37eef8 Tools: blacklist build of CubeOrangePlus-SimOnHardware bootloader
Just as we do the CubeOrange equivalent; this uses the CubeOrangePlus bootloader
2023-03-30 09:33:01 +11:00
Andy Piper
0221b565a5 scripts: make sure configure_all.py detects periph builds correctly 2023-03-29 20:49:40 +11:00
bugobliterator
d0b79959e7 Tools: scripts: replace sitl-32bit with force-32bit 2023-03-29 17:16:39 +11:00
bugobliterator
c386f9bdcd Tools: add force-32bit option while building sitl for CAN test 2023-03-29 17:16:39 +11:00
Peter Barker
81a73e9477 Tools: remove dead Tools/scripts/magfit_flashlog.py script
place has been taken by things like magfit.py
2023-03-27 10:43:57 +11:00
tzarjakob
6fa14ffe87 Tools: configuration of Precision Landing for custom build server 2023-03-27 09:04:07 +11:00
Peter Barker
1bc9c490a1 Tools: remove remove redundant install-apt-ci.sh
this isn't referenced anywhere and is causing unnecessary maintenance overhead.

Presumably overtaken by github docker install images and the devenv install scripts
2023-03-27 08:50:08 +11:00
Peter Barker
97f8781a3d build_options.py: add generator backend options to build_options.py 2023-03-22 18:06:31 +11:00
Pierre Kancir
546e70ff92 Tools: split dds test into SITL and STM 2023-03-22 09:22:36 +11:00
Ryan Friedman
f604dd5cdf Tools: CI: Add building DDS to a STM32H7 board
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-03-22 09:22:36 +11: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
Pierre Kancir
de55ed9c11 Tools: allow extract_feature.py to select nm binary 2023-02-04 12:41:06 +11:00
Michael Oborne
b4f499d85b Tools: unpack_mp.sh exclude files.html and .makehtml
causes issues with changing md5's
2023-02-01 08:19:31 +11:00
Peter Barker
ce0583c7c8 Tools: exclude iomcu from bootloader check 2023-01-26 13:41:04 +11:00
Peter Barker
b51b59008b Tools: size_compare_branches.py: detect file identicality 2023-01-26 13:41:04 +11:00
Peter Barker
f323aec206 Tools: size_compare_branches.py: skip bootloader build for skyviper-v2450 2023-01-25 10:13:27 +11:00
Peter Barker
c3f5a539d2 Tools: use minimize.inc for Tramp and SmartAudio
... and rename HAL_SMARTAUDIO_ENABLED
2023-01-24 11:03:27 +11:00
Peter Barker
d30f53505c Tools: make size_compare_branches.py also do bootloaders 2023-01-23 20:50:33 +11:00
Nicholas (Nick) Kruzan
0f62f8e4a8 Tools:build_options.py rename generator rpm option to reflect what it is
Looks like was maybe copy-paste error. 
'Enable RPM Pin-based sensors' -> 'Enable Generator RPM sensors'
2023-01-23 20:05:18 +11:00
Pierre Kancir
a25e6bbb2d CI: remove pip progress bar to reduce logs size 2023-01-10 07:18:44 +11:00
Peter Barker
ec0b51dadd Tools: add --no-merge-base option to size_compare_branches.py 2022-12-24 08:56:49 +11:00
Andrew Tridgell
26fbd38f2e Tools: added NMEA_UNICORE to build options 2022-12-20 10:23:58 +11:00
Peter Barker
86864ad3a5 Tools: build_options.py: mention that the DPS280 driver also runs the DPS310 2022-12-19 12:11:27 +11:00
Peter Barker
a9e3b37e69 Tools: extract_features.py: add Richenpower define 2022-12-16 11:07:27 +11:00
Peter Barker
3c201ae741 Tools: make and use AP_LANDINGGEAR_ENABLED 2022-12-14 18:30:23 +11:00
Peter Barker
fc6590fdee Tools: add richenpower generator to build options 2022-12-13 20:18:33 +11:00
Henry Wurzburg
7a3cbf521c Tools: Correct dependencies for CRSF in build options 2022-12-09 09:03:00 +11:00
Peter Barker
237d3f8e3c Tools: move to compiling 64-bit Windows executables
Co-authored-by: davidbuzz@gmail.com
Co-authored-by: robertlong13

cygwin has dropped 32-bit support
2022-12-08 18:03:19 +11:00
Andrew Tridgell
d9607a0e92 Tools: added --only-bl option to configure_all.py 2022-12-05 15:19:52 +11:00
Henry Wurzburg
ef65274b9c Tools: add synthetic current sensor,fix SITL current 2022-11-24 06:53:35 +11:00
Henry Wurzburg
c82df5501f Tools:Add QAUTOTUNE build option 2022-11-22 10:58:03 +11:00
Peter Barker
7ad1a7c7d4 Tools: allow FRSky to be compiled out 2022-11-15 18:44:45 +11:00
Peter Barker
658dd2c578 Tools: regularise compass defines
start to make compass backends look like backends from our other libraries
2022-11-15 16:44:38 +11:00
Henry Wurzburg
e804b71a79 Tools: blacklist the SkystarsH7HD board,use only bd-shot version 2022-11-15 11:46:47 +11:00
Peter Barker
ab4b508311 Tools: remove OMNIBUSF7V2-bdshot 2022-11-08 09:01:57 +11:00
Peter Barker
a5cc8d6da3 AP_HAL_ChibiOS: specify AUTOBUILD_TARGETS for IOMCU
... which is just the iofirmware target
2022-11-06 12:58:18 +11:00
Peter Barker
134f21762f Tools: size_compare_branches.py: add option to build IO firmware 2022-11-06 12:58:18 +11:00
Peter Barker
76e0f59dce Tools: make size_compare_branches.py do all vehicles/all boards 2022-11-05 19:44:35 +11:00
Peter Barker
b29a1f4291 Tools: fix Python warning in size_compare_branches.py 2022-11-05 19:44:35 +11:00
Peter Barker
90fc6cfdae Tools: scripts: add environment variables so we get consistent builds 2022-11-05 19:44:35 +11:00
Peter Barker
218409c490 Tools: look for AP_GyroFFT rather than HAL-DSP support 2022-11-05 14:52:10 +11:00
Andy Piper
b4fb355886 scripts: add SpeedyBee F405 v3 to manifest generator 2022-11-02 18:16:33 +00:00
Michael du Breuil
58cdf8154a Tools: Support force erase for flash on uploader 2022-11-02 18:43:33 +11:00
Tom Pittenger
02d92651f0 build_options: can_printf() to send longer strings using multiple packets in AP_Periph 2022-10-23 21:47:42 -07:00
alexklimaj
2ed679f0a8 AP_Baro: BMP390 2022-10-24 07:27:11 +11:00
Andrew Tridgell
1596516283 Tools: added new baro types 2022-10-22 08:15:36 +11:00
Tom Pittenger
b4bb5c71ac Tools: Build_options add AP_TEMPERATURE_SENSOR_ENABLED 2022-10-18 10:05:31 +11:00
Peter Barker
e1e35c1a1a build_options.py: CRSFText requires OSD_PARAM 2022-10-11 10:50:13 +11:00
Peter Barker
6cf07e6aa5 build_options.py: Baro externalahrs sensor requires externalahrs 2022-10-11 10:50:13 +11:00
Peter Barker
3c35315e0f Tools: build_options.py: remove Rangefinder SIM backend
This requires AP_SIM_ENABLED, which is not available in build_options.py yet.
2022-10-11 10:50:13 +11:00
Peter Barker
23ec7a15b2 Tools: build_options.py comment out PRU and bebop rangefinders
neither of these are relevant to the ChibiOS builds and the dafult for ChibiOS (disabled) is appropriate.
2022-10-11 10:50:13 +11:00
Peter Barker
cfe9208855 Tools: don't enable-in-turn when checking build options
takes forever and takes extra options to pass
2022-10-11 10:50:13 +11:00
Peter Barker
e829595594 Tools: build_options.py: add Currawong and DroneCAN to EFI options 2022-10-11 10:50:13 +11:00
Peter Barker
6b3575f9b4 build_options.py: sort by category then label 2022-10-11 10:50:13 +11:00
Peter Barker
f3b748bf0b Tools: make emitting nice strings on aux functions a selectable feature 2022-10-11 10:23:19 +11:00
Peter Barker
57e28092f3 Tools: extract_features.py: correct python warning 2022-10-07 09:08:22 +11:00
Andrew Tridgell
f6dc6d8b8f Tools: added CubePilot to board recognition for uploader.py
for CubeOrangePlus
2022-10-06 10:45:49 +11:00
Andrew Tridgell
ded3a60505 Tools: fixed build of bootloaders with debug 2022-10-06 10:31:51 +11:00
Andrew Tridgell
6e310f4e4e CI: test build fmuv3 bootloader in CI
fmuv3 and other 16k bootloaders were broken by a recent change
2022-10-06 10:31:51 +11:00
Henry Wurzburg
96be774733 Tools: update signing readme for correct reversal instructions 2022-10-04 12:28:13 +11:00
Peter Barker
c9f72f73bc Tools: add AP_GRIPPER_ENABLED 2022-10-04 10:58:34 +11:00
Randy Mackay
38360b8c7b Tools: custom build server option for Siyi gimbal mount 2022-09-30 15:17:29 +09:00
Andy Piper
864da03679 scripts: add CUAV-Nora-bdshot 2022-09-27 09:28:45 +10:00
bugobliterator
10cd1b65c1 Tools: replace hardware id of HereID with Here3Plus 2022-09-27 08:48:48 +10:00
Andy Piper
df216a4800 scripts: add Skystars variants to manifest generator 2022-09-26 08:00:04 +10:00
Peter Barker
426f18fb2c Tools: extract_features.py: correct define name for AP_RPM_ENABLED 2022-09-21 22:41:35 +10:00
Peter Barker
0266d288cd Tools: add AP_CAMERA_ENABLED support 2022-09-21 11:58:38 +10:00
Peter Barker
845bc15be9 Tools: build_options.py: add options for RPM backends 2022-09-20 09:28:27 +10:00
Andrew Tridgell
6f29e465b5 Tools: blacklist old name AtomRCF405 2022-09-14 19:39:49 +10:00
Michael Oborne
536db5d26f Scripts: add 2nd CubeOrange BL usbid 2022-09-11 14:04:02 +10:00
Peter Barker
459af5ec9b Tools: generate_manifest.py: allow generation of features.json file 2022-09-09 20:33:41 +10:00
Peter Barker
1a46a27bb8 Tools: remove vestiges of travis autotest hooks
travis had a split into two tests, test1 and test2 - which we no longer need
2022-09-09 12:08:59 +10:00
Henry Wurzburg
d17df7afc6 Tools:fix build option for MSP Optical Flow sensor and cleanup 2022-09-06 10:41:13 +10:00
Peter Barker
efc2de99de Tools: add generate_features_txt_files.py
walks a directory tree and emits a features.txt for each found .elf
2022-09-06 10:33:22 +10:00
Peter Barker
84509a4f7d Tools: extract_features: factor slightly to allow better use as library 2022-09-06 10:33:22 +10:00
Peter Barker
7244cd361d Tools: build_ci.sh: build with no/all options enabled
More chance of catching problems, and these are relatively cheap
2022-09-06 09:37:20 +10:00
Andrew Tridgell
5f8f8cf220 Tools: update signing docs 2022-09-05 12:35:37 +10:00
Andrew Tridgell
ddf770330d CI: added test of signed firmware builds 2022-09-05 12:35:37 +10:00
Andrew Tridgell
0388460c92 Tools: put ArduPilot keys first
makes key changing a bit easier for vendors
2022-09-05 12:35:37 +10:00
Andrew Tridgell
11b12cd4c8 Tools: reformat public keys
add newline to make it easier to compare keys with command line tools
2022-09-05 12:35:37 +10:00
Andrew Tridgell
7454822a8b Tools: added --debug option to build_bootloaders.py 2022-09-05 12:35:37 +10:00
Peter Barker
ae92c7d429 Tools: build_options.py: MODE_FOLLOW requires AC_AVOID 2022-09-05 09:06:33 +10:00
Henry Wurzburg
3610d36fce Tools: fix readme error for signing script 2022-09-04 07:29:38 +10:00
Peter Barker
1fcc7e6926 Tools: extract_features.py: add more feature defines/symbols 2022-09-02 23:08:04 +10:00
Peter Barker
de77105df6 Tools: extract_features.py: include !FOUND features in output 2022-09-02 23:08:04 +10:00
Peter Barker
e8589de75e build_options.py: add Flip mode 2022-09-02 23:08:04 +10:00
Henry Wurzburg
4b218bd3dc Tools: Completed adding build options to extract_features.py 2022-09-02 14:25:57 +10:00
Peter Barker
67fd2b6856 Tools: build_options.py: correct dependency name for RANGEFINDER
RANGERFINDER vs RANGEFINDERS
2022-09-01 18:02:45 +10:00
Peter Barker
a0bef487c1 Tools: build_options.py: correct msp airspeed feature name
this will now match a dependency nominating it
2022-09-01 18:02:45 +10:00
Andrew Tridgell
5c95716ed5 Tools: allow apj_tool.py --extract without having params 2022-09-01 15:20:10 +10:00
Andrew Tridgell
7fccdf3a55 Tools: fixed Holybro 6C UDB product ID 2022-09-01 15:20:10 +10:00
Peter Barker
252588b9f8 Tools: understand elf is a known firmware file format 2022-08-31 22:51:06 +10:00
Andrew Tridgell
d0508189e1 Tools: added 3rd ArduPilot signing key 2022-08-31 10:14:25 +10:00
Andrew Tridgell
9f00076e15 Tools: allow for only ArduPilot keys when creating bootloader 2022-08-31 10:14:25 +10:00
Andrew Tridgell
e31a40014a Tools: added Holybro 6C/6X px4 USB IDs
should help solve loading in MissionPlanner

https://github.com/ArduPilot/MissionPlanner/issues/2934
2022-08-31 09:44:13 +10:00
Andrew Tridgell
86ed18716e Tools: added ArduPilot signing public keys 2022-08-30 10:51:06 +10:00
Andrew Tridgell
0c2594d04b Tools: added signing tools for secure boot 2022-08-30 10:51:06 +10:00
bugobliterator
40d11540ac Tools: add signed_firmware field in apj 2022-08-30 10:51:06 +10:00