Commit Graph

933 Commits

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