Peter Barker
71a4d24e72
Tools: add rangefinder backends to custom build server options
3 years ago
Randy Mackay
e55fa6ad92
Tools: add build_options for individual mount drivers
3 years ago
Andy Piper
3db079d15c
Tools: add MambaF405 2022 MK4
3 years ago
Chuck Faber
b657d54336
Tools/scripts: Add Sagtech MXS to custom build server
3 years ago
Andy Piper
3935971e46
Tools: add MambaH743 to manifest generator
3 years ago
Pierre Kancir
020bd0ba1e
Tools: fix exec permission
3 years ago
Andrew Tridgell
f0c3d5129c
Tools: cope with change in cygwin build
...
copy both with and without exe extension
3 years ago
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)
3 years ago
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
3 years ago
Peter Barker
b99c4b3a89
build_options.py: enable baro backends by default
3 years ago
Peter Barker
0e9236a116
Tools: build_options.py: fix double-definition of AP_BARO_MSP_ENABLED
...
Fixes redefinition on custom build server
3 years ago
Peter Barker
e7d8ad4096
Tools: add baro backend drivers to build options
3 years ago
Peter Barker
c8bc8a8824
Tools: allow baro backends to be individually compiled out
3 years ago
Peter Barker
74ca672caf
Tools: add build options for airspeed to custom build server
3 years ago
Andrew Tridgell
b9366c50c8
Tools: treat brltty like modemmanager
...
on Ubuntu 22.04 brltty prevents use of serial radios
3 years ago
Oleksandr Shcherbatii
0cec5dccea
Tools: Fix setup for Jammy
3 years ago
Leonardo Garcia
0eb6ae365a
AP_InertialSensor: Added BMI085 support
...
Fixed styling for 61125e2
Remove whitespace l202
Removed else
3 years ago
Andrew Tridgell
e00608d922
Tools: fixed type of max-gap in CAN fix2 script
3 years ago
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 '{}'
3 years ago
Andrew Tridgell
35a2ca62ee
Tools: added test script for checking for Fix2 missed frames
...
used to track down the F405 and L431 lost frames
3 years ago
Andrew Tridgell
69666d19ee
Tools: fix cygwin build error
3 years ago
Peter Barker
eb930f830b
Tools: build_ci.sh: set consistent GIT_VERSION_INT in env
...
For consistent compiler output
3 years ago
Peter Barker
c805310152
Tools.py: add Volz, RobotisServo and FETTec to build_options.py
...
Allows for enabling/disabling on custom build server
3 years ago
Peter Barker
870527a385
Tools: allow size-compare_branches.py on AP_Periph
3 years ago
Andrew Tridgell
10d7ea9358
Tools: recognise "AUTOBUILD_TARGETS None"
...
and make for easier testing on command line
3 years ago
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)$
3 years ago
bugobliterator
df95b1ee13
Tools: modify scripts to allow vcan iface to have CANFD supported
3 years ago
Peter Barker
6b48a8df02
Tools: correct antennatracker name in size_compare_branches.py
3 years ago
Andy Piper
6c74c5d4da
scripts: add KakuteH7 and KakuteH7-bdshot.
3 years ago
Peter Barker
e94f28c81d
Tools: build_options.py: make and assert it flake8-clean
3 years ago
Peter Barker
bac20bd876
autotest: board_list.py: correct autobuild target name for Tracker
...
We're using the shortened name throughout
3 years ago
Peter Barker
ee138e6b3c
Tools: remove Solo Cubes and skyvipers from blacklist
3 years ago
Peter Barker
9eb5c93c55
Tools: board_list.py: build Sub binaries
3 years ago
Peter Barker
a2057b752d
Tools: build_options.py: fix syntax error
3 years ago
Andrew Tridgell
b9d96ad148
Tools: update runplanetest.py
...
added prearm check and cope with python3
3 years ago
Andrew Tridgell
693022d344
Tools: add AntennaTracker to builds list
...
for completeness, and time monitoring
3 years ago
Henry Wurzburg
ca9e3e95a8
Tools: add build option for Rangefinders
3 years ago
Peter Barker
f2fe55b5da
autotest: correct exception handling for Python 3.10
3 years ago
Peter Barker
cb6f9ea6a1
Tools: allow specification of AUTOBUILD_TARGETS in hwdef files
3 years ago
Evgeniy
74bbf1bd9e
Tools: BeastH7v2 board added
3 years ago
Andrew Tridgell
7470920dc6
Tools: switch compiler for new releases to 10.2
...
only sub stable and beta on old compiler
3 years ago
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...
3 years ago
Peter Barker
e312c3de30
Tools: correct copying of binary files under Python3
3 years ago
Peter Barker
e0e84880b2
Tools: add facility to print stack traces
3 years ago
Andrew Tridgell
6b962ae48b
CI: added ccache test
3 years ago
Peter Barker
c781897e52
Tools: powr_change.py also prints AccFlags changes
3 years ago
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)$
3 years ago
Andy Piper
a34f8e1b8d
scripts: add SPRacingH7 to manifest files and CI build
3 years ago
Willian Galvani
77f9d4fdba
Tools: scripts: build_ci.sh: validate firmware fwversion with firmware_version_decoder.py
3 years ago
Willian Galvani
55d8ba647c
Tools: Scripts: firmware_version_decoder: add --expected-hash for running in CI
3 years ago