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
Andy Piper
c68b886700
scripts: blacklist KakuteH7Miniv2 in favour of KakuteH7Mini-Nand
2022-08-30 09:52:41 +10:00
Andy Piper
33425ce542
scripts: update manifests with KakuteH7v2 and KakuteH7Mini-Nand.
2022-08-30 09:52:41 +10:00
Andy Piper
efbf3a79a7
scripts: remove Pixhawk1-1M-bdshot from blacklist
2022-08-24 17:27:41 +10:00
Andrew Tridgell
252f2ac6f5
Tools: don't build -ODID-heli
2022-08-22 18:56:14 +10:00
Peter Barker
9bf66afee2
build_binaries.py: write fwversion out even if directory exists
...
We re-use the "beta" directory for other betas
2022-08-22 14:02:52 +10:00
Peter Barker
a3124689b1
Tools: flake8 fixes for board_list.py
2022-08-20 21:52:20 +10:00
Andrew Tridgell
6245b3aa16
Tools: blacklist build of ODID boards
...
these confuse users
2022-08-19 18:51:38 +10:00
Peter Barker
2059d1485e
CI: test sailboat in CI
2022-08-19 17:04:25 +10:00
Stephen Dade
b031f88e3c
Tools: Add EKF3 External Nav to build_options
2022-08-19 09:02:10 +10:00
Peter Barker
27e7042377
Tools: build_autotest.sh: sync submodules from new master not old
...
Also remove a redundant pull
2022-08-18 22:47:10 +10:00
Stephen Dade
5b5cdfa1f1
Tools: Add mode flowhold to build_options
2022-08-18 07:46:13 -04:00
Peter Barker
2ebba3ea99
Tools: include blimp in manifest
2022-08-17 17:34:45 +10:00
Peter Barker
d269758737
build_binaries.py: retain elf files in stm32 boards, add .elf to them
2022-08-17 17:31:52 +10:00
Peter Barker
46234e85f9
build_binaries.py: tidy file copying loop
...
notably, don't make fwinfo file more than once
2022-08-17 17:31:52 +10:00
Peter Barker
26b17b7c39
build_binaries.py: collapse copyit into sole caller
2022-08-17 17:31:52 +10:00
TunaLobster
04a6a2fce7
Tools: build_options.py: Add macros for Fuel options
...
Adds macros for FuelFlow, FuelLevel_PWM, and FuelLevel_Analog. The features are enabled on all 2MB boards.
2022-08-16 09:36:31 +10:00
Peter Barker
a237a42390
build_ci.sh: change back to original directory after running profile
...
.profile changes directory on Vagrant VMs.
2022-08-14 07:50:27 +10:00
Peter Barker
44229c87f0
Tools: size_compare_branches: allow compilation with --extra-hwdef
2022-08-13 09:31:13 +10:00
Peter Barker
df2e354828
build_binaries.py: print not-found-on-boardlist message
...
Makes it clearer in the output that we're skipping a board because it isn't in the configure list. Currently it just does the submodule updaet then goes onto the next build, without telling you why it's not doing anything more
2022-08-10 23:28:14 +10:00
Peter Barker
e29374fa04
Tools: extract_features.py: allow for regular expressions for features
...
Also switch to keying off the define in build_options.py rather than the label as the label is not unique and we'd have to munge them badly (and enforce shape) where we can just use the ArduPilot defines which are all pretty well-formed.
2022-08-10 18:05:54 +10:00
Peter Barker
0632b9a0c4
Tools: powr_status.py: remove MAV_POWER_STATUS_ from bit descriptions
2022-08-10 10:05:48 +10:00
Andrew Tridgell
2f4a3ea4e8
CI: added CubeOrange-ODID build
2022-08-09 14:37:08 +10:00
Andy Piper
6ce3bb6a84
scripts: add back in bdshot targets for KakuteF7 and CubeYellow
2022-08-09 11:14:44 +10:00
Henry Wurzburg
44ce44b2fa
Tools: fix errors in build_options.py
2022-08-09 10:00:03 +10:00
Henry Wurzburg
cea1e29f4e
Tools: add TeraRange Neo Rangefinder
2022-08-09 09:01:34 +10:00
Peter Barker
d0210f7b89
Tools: build_ci.sh: correct quoting of space-containing value
...
May be "Unit Tests"
2022-08-03 09:06:49 +10:00
Andrew Tridgell
ee4a53da27
Tools: updated decode_devid.py
2022-08-02 17:26:46 +10:00
Peter Barker
b7a3038996
Tools: add script to extract features supported by a firmware
2022-07-27 09:23:06 -07:00
Iampete1
e397749946
Tools: build options: add fence
2022-07-27 19:04:56 +10:00
Iampete1
68e29f02a1
Tools: build options: add AC_AVOID
2022-07-27 19:04:56 +10:00
Peter Barker
41b8728296
autotest: remove report of pull failure
...
Nobody is ever reading these
2022-07-27 18:25:17 +10:00
Peter Barker
5fbd143d82
Tools: remove references to config.mk
...
dates from APM-build days. The build server files references APM1 which is long gone. Users running build_binaries can pollute their own environments, not need for this.
2022-07-26 21:23:06 +10:00
Peter Barker
b365fc129d
Tools: build_parameters.sh: honour $BUILDLOGS
2022-07-25 09:34:41 +10:00
Peter Barker
52aa676db2
Tools: build_log_message_documentation.sh: honour $BUILDLOGS
2022-07-25 09:34:41 +10:00
Tom Pittenger
c60f7bff91
Tools: Enable uploader.py and waf --upload to work on WSL2
2022-07-22 09:12:01 +10:00
Peter Barker
8d833e8f23
Tools: add CI test to build with default build_options.py output
...
hopefully make defaults builds on the build server work all the time
2022-07-22 08:48:16 +10:00
Peter Barker
edab5f0e5a
Tools: build_options.py: add AP_ICENGINE_ENABLED
2022-07-22 08:48:16 +10:00
李孟晓
d4bfcf80bd
Tools: added ICP201XX build option
2022-07-19 15:02:31 +10:00
Henry Wurzburg
406d03559f
Tools:Add build option for Ublox
2022-07-18 16:50:31 +01:00
Andy Piper
591f43e7d0
scripts: add TRAMP to build options
2022-07-14 09:23:59 +10:00
Tamas Nepusz
19bc7ebebe
build_bootloaders.py should invoke bin2hex.py with the same Python interpreter as its own
2022-07-13 17:24:19 +10:00
Iampete1
1a70f9fffc
Tools: scripts: build options: update AP_AIS_ENABLED to AP_AIS_ENABLED
2022-07-12 09:39:54 +10:00
Peter Barker
0ec06511ae
Tools: build_options: mount backends depend on mount being enabled
2022-07-08 16:00:57 +10:00
Peter Barker
c19549c3a9
Tools: add AP_LTM_TELEM_ENABLED
2022-06-28 20:19:41 +10:00
TunaLobster
e77ab54de1
Tools: Improved flake8 speed, ignore, and exclude
2022-06-28 13:16:24 +10:00
李孟晓
ff7832510d
Tools: add ICP101XX options to build_options.py
2022-06-28 11:59:04 +10:00
Peter Barker
554f20ddb1
Tools: configure_all.py: clarify command-line --stop option
...
This just makes it fatal on any command...
2022-06-28 08:18:27 +10:00
Peter Barker
71a4d24e72
Tools: add rangefinder backends to custom build server options
2022-06-21 09:15:20 +10:00
Randy Mackay
e55fa6ad92
Tools: add build_options for individual mount drivers
2022-06-15 18:08:58 +10:00
Andy Piper
3db079d15c
Tools: add MambaF405 2022 MK4
2022-06-15 17:05:41 +10:00
Chuck Faber
b657d54336
Tools/scripts: Add Sagtech MXS to custom build server
2022-06-14 07:10:17 -07:00
Andy Piper
3935971e46
Tools: add MambaH743 to manifest generator
2022-06-08 21:44:21 +10:00
Pierre Kancir
020bd0ba1e
Tools: fix exec permission
2022-06-08 08:16:42 +09:00
Andrew Tridgell
f0c3d5129c
Tools: cope with change in cygwin build
...
copy both with and without exe extension
2022-06-07 11:20:03 +10:00
Peter Barker
a09e8527ff
Tools: build_options.py: disable MSP, UAVCAN, Dummy and ExternalAHRS baro backends by default
...
Causes build errors as (e.g. ExternalAHRS is disable by default)
2022-05-26 21:45:45 +10:00
ES-Alexander
f6544ca25a
Tools: uploader.py: exit with error on failure
...
- Script was already exiting at this point anyway, this just sets a non-zero program return code in the case of a failure
- Means programatic callers can detect if flashing fails, without needing to monitor (and parse) stdout
2022-05-26 09:30:27 +10:00
Peter Barker
b99c4b3a89
build_options.py: enable baro backends by default
2022-05-25 18:17:49 +10:00
Peter Barker
0e9236a116
Tools: build_options.py: fix double-definition of AP_BARO_MSP_ENABLED
...
Fixes redefinition on custom build server
2022-05-25 17:49:38 +10:00
Peter Barker
e7d8ad4096
Tools: add baro backend drivers to build options
2022-05-22 12:11:45 +10:00
Peter Barker
c8bc8a8824
Tools: allow baro backends to be individually compiled out
2022-05-22 12:11:45 +10:00
Peter Barker
74ca672caf
Tools: add build options for airspeed to custom build server
2022-05-10 09:02:51 +10:00
Andrew Tridgell
b9366c50c8
Tools: treat brltty like modemmanager
...
on Ubuntu 22.04 brltty prevents use of serial radios
2022-05-03 10:09:12 +10:00
Oleksandr Shcherbatii
0cec5dccea
Tools: Fix setup for Jammy
2022-05-02 08:05:00 +10:00
Leonardo Garcia
0eb6ae365a
AP_InertialSensor: Added BMI085 support
...
Fixed styling for 61125e2
Remove whitespace l202
Removed else
2022-04-27 18:37:39 +10:00
Andrew Tridgell
e00608d922
Tools: fixed type of max-gap in CAN fix2 script
2022-04-27 17:13:07 +10:00
Andrew Tridgell
51fa26c505
Tools: added options to board_list.py
...
make it easier to rebuild all bootloaders for AP_Periph with:
./Tools/scripts/board_list.py AP_Periph --per-line | xargs -i ./Tools/scripts/build_bootloaders.py '{}'
2022-04-20 12:27:29 +10:00
Andrew Tridgell
35a2ca62ee
Tools: added test script for checking for Fix2 missed frames
...
used to track down the F405 and L431 lost frames
2022-04-18 14:40:53 +10:00
Andrew Tridgell
69666d19ee
Tools: fix cygwin build error
2022-04-13 18:30:18 +10:00
Peter Barker
eb930f830b
Tools: build_ci.sh: set consistent GIT_VERSION_INT in env
...
For consistent compiler output
2022-04-12 11:47:48 +10:00
Peter Barker
c805310152
Tools.py: add Volz, RobotisServo and FETTec to build_options.py
...
Allows for enabling/disabling on custom build server
2022-04-12 10:35:01 +10:00
Peter Barker
870527a385
Tools: allow size-compare_branches.py on AP_Periph
2022-04-11 08:07:42 +10:00
Andrew Tridgell
10d7ea9358
Tools: recognise "AUTOBUILD_TARGETS None"
...
and make for easier testing on command line
2022-04-06 14:13:44 +10:00
Peter Barker
934a125875
Tools: add script which tells you how Copter.ap changes over time
...
This is a global state object which we really want to get rid of - but
while we have it it does contain some useful state.
pbarker@bluebottle:~/rc/ardupilot(pr/du32-change)$ ./Tools/scripts/du32_change.py ~/rc/log32.bin
1648874490: Creating connection
Original armed_with_airmode_switch: 0
Original auto_armed: 0
Original compass_mot: 0
Original gps_glitching: 0
Original in_arming_delay: 1
Original initialised: 1
Original initialised_params: 1
Original land_complete: 1
Original land_complete_maybe: 1
Original land_repo_active: 0
Original logging_started: 1
Original motor_interlock_switch: 0
Original motor_test: 0
Original new_radio_frame: 1
Original pre_arm_check: 1
Original pre_arm_rc_check: 1
Original prec_land_active: 0
Original rc_receiver_present: 1
Original system_time_set_unused: 0
Original throttle_zero: 1
Original unused1: 0
Original unused2: 0
Original unused3: 0
Original unused_was_simple_mode bit1: 0
Original unused_was_simple_mode bit2: 0
Original usb_connected_unused: 0
Original using_interlock: 0
2022-04-01 08:19:27.03: -in_arming_delay
2022-04-01 08:19:31.04: +auto_armed -throttle_zero
2022-04-01 08:19:38.04: -land_complete -land_complete_maybe
2022-04-01 08:20:34.29: +throttle_zero
2022-04-01 08:20:35.29: -auto_armed +land_complete +land_complete_maybe
pbarker@bluebottle:~/rc/ardupilot(pr/du32-change)$
2022-04-05 17:56:37 +10:00
bugobliterator
df95b1ee13
Tools: modify scripts to allow vcan iface to have CANFD supported
2022-03-27 06:07:34 -07:00
Peter Barker
6b48a8df02
Tools: correct antennatracker name in size_compare_branches.py
2022-03-20 21:46:45 +11:00
Andy Piper
6c74c5d4da
scripts: add KakuteH7 and KakuteH7-bdshot.
2022-03-15 10:18:58 +11:00
Peter Barker
e94f28c81d
Tools: build_options.py: make and assert it flake8-clean
2022-03-11 13:17:27 +11:00
Peter Barker
bac20bd876
autotest: board_list.py: correct autobuild target name for Tracker
...
We're using the shortened name throughout
2022-03-11 09:46:43 +11:00
Peter Barker
ee138e6b3c
Tools: remove Solo Cubes and skyvipers from blacklist
2022-03-11 09:14:08 +11:00
Peter Barker
9eb5c93c55
Tools: board_list.py: build Sub binaries
2022-03-10 21:06:44 +11:00
Peter Barker
a2057b752d
Tools: build_options.py: fix syntax error
2022-03-10 18:56:01 +11:00
Andrew Tridgell
b9d96ad148
Tools: update runplanetest.py
...
added prearm check and cope with python3
2022-03-10 07:34:20 +11:00
Andrew Tridgell
693022d344
Tools: add AntennaTracker to builds list
...
for completeness, and time monitoring
2022-03-08 14:36:42 -08:00
Henry Wurzburg
ca9e3e95a8
Tools: add build option for Rangefinders
2022-03-08 14:33:38 -08:00
Peter Barker
f2fe55b5da
autotest: correct exception handling for Python 3.10
2022-03-07 19:36:05 +11:00
Peter Barker
cb6f9ea6a1
Tools: allow specification of AUTOBUILD_TARGETS in hwdef files
2022-03-03 09:03:17 +11:00
Evgeniy
74bbf1bd9e
Tools: BeastH7v2 board added
2022-03-02 15:46:17 +11:00
Andrew Tridgell
7470920dc6
Tools: switch compiler for new releases to 10.2
...
only sub stable and beta on old compiler
2022-03-02 11:25:09 +11:00
Peter Barker
f79c43eebd
Tools: build_binaries.py: ensure existence of buildlogs dir
...
If buildlogs didn't exist then the sqlite database creation would fail.
This really shouldn't have been done in init anyway...
2022-02-26 14:17:01 +11:00
Peter Barker
e312c3de30
Tools: correct copying of binary files under Python3
2022-02-23 23:38:14 +11:00
Peter Barker
e0e84880b2
Tools: add facility to print stack traces
2022-02-23 23:38:14 +11:00
Andrew Tridgell
6b962ae48b
CI: added ccache test
2022-02-23 12:36:59 +11:00
Peter Barker
c781897e52
Tools: powr_change.py also prints AccFlags changes
2022-02-16 10:07:56 +11:00
Peter Barker
de1c2ed598
Tools: add powr_change.py
...
Simpler to work out what's gone wrong in a log this way:
pbarker@bluebottle:~/rc/ardupilot/Tools/scripts(master)$ ./powr_change.py /tmp/00000109.BIN
1644894818: Creating connection
2022-02-14 00:30:25.91: +MAV_POWER_STATUS_BRICK_VALID +MAV_POWER_STATUS_SERVO_VALID
2022-02-14 00:33:15.46: +MAV_POWER_STATUS_CHANGED
2022-02-14 00:33:34.96: +MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:33:35.06: -MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:34:16.86: +MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:34:16.96: -MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:34:38.46: +MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:34:38.56: -MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:34:40.05: +MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:34:40.15: -MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:34:41.45: +MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:34:41.55: -MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:34:45.85: +MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:34:45.95: -MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:34:47.05: +MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:34:47.15: -MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:34:48.25: +MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:34:48.35: -MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:34:49.75: +MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:34:49.85: -MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:34:51.05: +MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:38:01.89: -MAV_POWER_STATUS_CHANGED
pbarker@bluebottle:~/rc/ardupilot/Tools/scripts(master)$
2022-02-16 10:07:56 +11:00
Andy Piper
a34f8e1b8d
scripts: add SPRacingH7 to manifest files and CI build
2022-02-15 11:32:52 +11:00
Willian Galvani
77f9d4fdba
Tools: scripts: build_ci.sh: validate firmware fwversion with firmware_version_decoder.py
2022-02-15 10:38:28 +11:00
Willian Galvani
55d8ba647c
Tools: Scripts: firmware_version_decoder: add --expected-hash for running in CI
2022-02-15 10:38:28 +11:00
Patrick José Pereira
4525627664
Tools: scripts: Update firmware version decoder
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2022-02-11 09:21:00 +11:00
Andy Piper
960c0d0f8b
scripts: allow more time for external flash verification
...
create ssbl uploader script for SPRacingH7
2022-02-09 12:47:55 +00:00
Peter Barker
b45680c9ee
Tools: update build_autotest.sh to reflect server content
...
these times have had to move out as our builds are taking a long time
now
2022-02-08 12:08:17 +11:00
Hwurzburg
9c91e3c793
Tools: update option names in BATTMonitor in prep for expansion
2022-02-01 12:35:03 +11:00
Peter Barker
c83446a359
Tools: add quick-and-dirty EKF-status-change dump tool
2022-01-26 18:55:11 +11:00
Michelle Rossouw
1d8a62f064
Tools: Add gen date to build_sizes script, make flash size of -1 not turn up as low flash, some formatting fixes.
2022-01-21 13:26:52 +11:00
Peter Barker
2fe709a59c
Tools: build_ci.sh: use valid hexadecmail digits in GIT_VERSION
...
building AP_Periph requires these to be able to be converted into a
number
2022-01-18 11:30:41 +11:00
Peter Barker
09dac0cc8a
Tools: board_list.py: add AP_PERIPH_HEAVY into is-periph check
2022-01-18 11:07:28 +11:00
Peter Barker
a74795bc67
Tools: board_list.py: remove Pixracer-periph from blacklist
2022-01-18 11:07:28 +11:00
Peter Barker
ddcd6e6244
Tools: add optical flow options to build_options.py
2022-01-14 11:49:01 +11:00
Peter Barker
dfea221a49
board_list.py: tidy
2022-01-13 14:44:23 +11:00
Peter Barker
7a9474749a
build_options.py: correct GPS Drivers section
...
must be within closing ] for array
2022-01-13 09:45:08 +11:00
Peter Barker
62285d51a8
build_options.py: remove HAL_MPPT_PACKETDIGITAL_CAN_ENABLE
2022-01-12 23:09:17 +11:00
Hwurzburg
1948073438
Tools: add build options for GPS backends
2022-01-12 16:17:21 +11:00
Peter Barker
b737d113c9
Tools: correct board_list.py for being copied into root dir in autotest
2022-01-12 10:28:17 +11:00
Dr.-Ing. Amilcar do Carmo Lucas
15e99e306d
Tools: add more categories and reorganize a bit
...
Should be NFC, it does not add nor remove options
2022-01-11 11:07:59 +11:00
Pierre Kancir
ae2d3a8570
Tools: add blue and bbbmini to firmware server
2022-01-09 11:34:59 +11:00
Michelle Rossouw
62bd62e9b7
Tools: build_sizes move to folder, no red for old stable/beta, add hyperlink for boards
2022-01-08 13:54:08 +11:00
Peter Barker
7cd58e59c5
Tools: fix define name HAL_CRSF_TELEM_TEXT_SELECTION_ENABLED
2022-01-08 06:18:39 +11:00
Peter Barker
fb94cc4092
Tools: use define for define rather than default...
2022-01-08 06:18:39 +11:00
Michelle Rossouw
b58ecff90e
Tools: Add blimp log message documentation to be built
2022-01-07 22:54:13 +11:00
Peter Barker
d6f4f54c0a
Tools: include brand name and manufacturer in APJ file, use for manifest
2022-01-07 22:46:52 +11:00
Peter Barker
21c42e3123
Tools: board_list.py: generate from hwdef files
2022-01-07 22:46:52 +11:00
Michelle Rossouw
24f8e03bf6
Tools: Auto-build blimp firmwares
2022-01-06 10:06:33 +11:00
Peter Barker
50942b2df7
Tools: add script returning build options
2022-01-05 19:25:16 +11:00
Michelle Rossouw
38cd386d44
Tools: Add css, red/yellow colour and filtering
2022-01-05 19:03:22 +11:00
Andy Piper
2fcec7d03f
scripts: add BeastF7v2
2022-01-05 18:50:41 +11:00
Andrew Tridgell
7e2b010458
Tools: a script to list builds with flash free
...
example: https://firmware.ardupilot.org/Tools/BuildSizes/builds.html
Pair programmed with MichelleR
2021-12-31 11:11:34 +11:00
Andy Piper
d307b15c2d
Tools: add BMI270 to decode_devid.py
2021-12-31 09:25:29 +11:00
Andrew Tridgell
b901117ab9
Tools: added missing periph builds
2021-12-30 06:03:14 +11:00
mateksys
ac49b2a3c8
Tools: add MatekF405-TE bootloader and autobuild
2021-12-22 18:47:37 +11:00
Josh Henderson
74fa47a3bb
Tools: fix flash size reporting due to crash_log
2021-12-21 20:33:00 +11:00
Andrew Tridgell
244f0f3e45
Tools: auto-build PixC4-Jetson
2021-12-21 13:05:34 +11:00
Brad Stinson
55d82a4cd8
Tools: build 8MHz IO firmware
2021-12-21 13:05:34 +11:00
Peter Barker
7ebf45616d
Tools: scripts: copy param_parse.py JSON output as part of build_parameters.sh
...
This will populate https://autotest.ardupilot.org/Parameters/ArduCopter/
with the json output
2021-12-21 11:55:51 +11:00
bugobliterator
a9c78fe7e3
Tools: also test out directory working in one of the build tests
2021-12-20 12:47:25 +11:00
Josh Henderson
317d32574c
Tools: pretty_diff_size, show total flash cost
2021-12-16 14:26:04 +11:00
Andrew Tridgell
ea4c929c50
Tools: added decoding of new v3 Invensense sensors
2021-12-14 11:38:36 +11:00
bugobliterator
e7ab56674b
Tools:libcanard moved to modules/DroneCAN
2021-11-24 18:30:47 +11:00
Andrew Tridgell
821a041cbe
Tools: fixed cygwin build for rover
...
try to fix singleton depenency in scripting
2021-11-19 20:40:30 +09:00
Peter Barker
492104f9f2
Tools: uploader.py: add Swift-Flyer to usb device strings
2021-11-18 15:22:42 +11:00
Peter Barker
477528bd93
Tools: build_binaries.py: split timing out for configure/build steps
2021-11-18 11:54:37 +11:00
Josh Henderson
bc9ab66348
Tools: size_compare Change elfdiff_output rectory
2021-11-16 17:13:51 +11:00
Peter Barker
548e8aef2a
Tools: run BalanceBot and SailBoat tests as part of coverage
2021-11-10 09:34:05 +11:00
Peter Barker
4bea052692
Tools: check tests actually succeeded
...
Without this we can get a false impression of how much is being covered
It does mean all your tests have to pass...
2021-11-10 09:34:05 +11:00
Andrew Tridgell
5b3dc03cf6
Tools: auto-build AIRLink board
2021-11-10 08:47:21 +11:00
Andrew Tridgell
8a6a47aa3f
Tools: autobuild Pixhawk5X
2021-11-05 14:30:43 +11:00
Andrew Tridgell
dfd2686878
Tools: fixed uploader.py for px4 bootloader
...
by fetching ext flash info before we get IDs the bootloader is left in
a state where it accepts an erase and upload
2021-11-05 14:30:43 +11:00
Andrew Tridgell
350de066a5
Tools: recognise Auterion bootloader string
2021-11-05 14:30:43 +11:00
Josh Henderson
32e628f267
Tools: size_compare_branches.py add -vehicle option
2021-11-04 19:57:27 +11:00
Buzz
854266dc78
ESP32: drop submodule and add script to get it as a clone and/or submodule
...
works with either a submodule setup or a 'clone' for either type of dev
2021-11-03 06:06:15 +11:00
Peter Barker
76859c8386
Tools: add option to configure-all to write all hw configs out
2021-10-26 15:28:19 +11:00