Commit Graph

1196 Commits

Author SHA1 Message Date
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