Commit Graph

1222 Commits

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