Commit Graph

3844 Commits

Author SHA1 Message Date
Andrew Tridgell
102141756a waf: make board name case insensitive in waf configure 2019-03-05 08:43:14 +11:00
Peter Barker
792fbc6240 Tools: autotest: allow imprecise home in set-home test
float<->integer conversion issues means this comes back imprecisely
2019-03-04 23:46:40 +11:00
Buzz
31697a3b0c Tools: add support for GCOV code coverage tool and HTML reporting with LCOV.
first, "apt install gcovr lcov" as new prerequisites
then run:
./waf configure --enable-gcov
./waf build --lcov-report
and after much waiting review the report in HTML format with your preferred browser eg:
firefox reports/lcov-report/index.html
2019-03-04 23:46:40 +11:00
Andrew Tridgell
764bd97e89 Tools: update Pixawk4Pro bootloader
uses 400MHz clock
2019-03-04 19:49:19 +11:00
Boreas Wind
bef6a01682 Tools: Separate words with spaces in a help message 2019-03-04 11:34:43 +09:00
Andrew Tridgell
e00d242688 Tools: added EKF maths to CPUInfo 2019-03-04 11:00:40 +11:00
Mark Whitehorn
48e4d779ac Tools: scripts: uploader.py: add dict of compatible board IDs 2019-03-03 14:27:38 +11:00
Peter Barker
6103d5ebac Tools: autotest: add a simple dataflash-over-mavlink test 2019-03-02 09:28:19 +11:00
Peter Barker
facfa53f57 Tools: waf: add -Werror=overloaded-virtual 2019-03-01 22:31:21 +11:00
Pierre Kancir
4ac5fb42cd Tools: don't upload failed log on ardupilot server by default 2019-03-01 20:48:39 +11:00
Pierre Kancir
b45e2ed6ab Tools: correct log download for copter 2019-03-01 20:48:39 +11:00
Peter Barker
d43bcf4649 Tools: autotest: add simple mode-requires-position test for Copter 2019-03-01 13:43:20 +09:00
Peter Barker
9dad451ef5 Tools: autotest: use start_subtest in arming test 2019-03-01 14:56:05 +11:00
Peter Barker
39e7733872 Tools: waf: add -Werror=enum-compare 2019-03-01 12:50:52 +11:00
Andrew Tridgell
397ddbd2d0 Tools: updated CubeOrange bootloader 2019-03-01 11:39:12 +11:00
Andrew Tridgell
ec0e6137e3 Tools: updated CPUInfo 2019-03-01 11:39:12 +11:00
Pierre Kancir
038dd68e3a Tools: update RNGFND syntax in parameters files 2019-02-28 20:10:43 +09:00
Peter Barker
ed5fc06a5d Tools: autotest: skip arm features on Tracker until rudder problems sorted 2019-02-28 14:14:28 +11:00
Peter Barker
d6674a3bb1 Tools: autotest: correct progress message 2019-02-28 12:53:49 +11:00
Peter Barker
50687c9add Tools: autotest: ArmFeatures is common to all vehicles; use inheritted tests 2019-02-28 12:53:07 +11:00
Dr.-Ing. Amilcar do Carmo Lucas
edac5e1a80 Tools: replace location_offset() and get_distance() function calls with Location object member function calls
This allows removing duplicated code
2019-02-28 11:44:09 +11:00
Peter Barker
94c5a39b4f Tools: uploader.py: factor out a find_bootloader method
This also changes to try to close the port if sending on it fails.
2019-02-28 09:51:16 +11:00
Peter Barker
e8b18a46a4 Tools: uploader.py: break out a modemmanager_check 2019-02-28 09:51:16 +11:00
Peter Barker
f9908efb65 Tools: uploader.py: move baud_flightstack initialisation outside loop 2019-02-28 09:51:16 +11:00
Peter Barker
36109cae65 Tools: uploader.py tidy port list code 2019-02-28 09:51:16 +11:00
Andrew Tridgell
a5a8575c83 Tools: removed old vrbrain build scripts 2019-02-27 20:32:37 +11:00
Andrew Tridgell
b619e1e560 Tools: remove more px4 remnants 2019-02-27 20:32:37 +11:00
Francisco Ferreira
3da3f75c41 Tools: ci: remove old code 2019-02-27 07:03:22 +11:00
Andrew Tridgell
4caf1c9080 Tools: autobuild Pixhawk4Pro and CubeOrange 2019-02-26 18:23:13 +11:00
Andrew Tridgell
30e0e6a15a Tools: added CubeOrange bootloader 2019-02-26 18:21:13 +11:00
Andrew Tridgell
518476dba9 Tools: update Pixhawk4Pro bootloader 2019-02-26 16:18:26 +11:00
Andrew Tridgell
ec2c742523 Tools: added Holybro to supported USB IDs for upload 2019-02-26 16:18:26 +11:00
Andrew Tridgell
c474872bae Tools: updated H7 bootloaders 2019-02-26 16:18:26 +11:00
Andrew Tridgell
e5efbffe5b waf: pad bootloader to multiple of 32 bytes
this ensures that we can write a whole flash line when updating
bootloader from ROMFS
2019-02-26 16:18:26 +11:00
Andrew Tridgell
3c9646dfef waf: allow hwdef.dat to override build optimization 2019-02-26 16:18:26 +11:00
Andrew Tridgell
e71514c136 waf: allow for no param default support
this allows apj files to be built for example fw
2019-02-26 16:18:26 +11:00
Andrew Tridgell
ee83f228e1 Tools: added H743 and pixracer CPUInfo output 2019-02-26 16:18:26 +11:00
Andrew Tridgell
c67ec11cc5 Tools: improved CPUInfo test 2019-02-26 16:18:26 +11:00
Andrew Tridgell
af78ac1abf AP_Bootloader: disable debug printf 2019-02-26 16:18:26 +11:00
Andrew Tridgell
3c24bec5f5 Tools: added initial bootloaders for H743 boards 2019-02-26 16:18:26 +11:00
Andrew Tridgell
ac070c92f5 AP_Bootloader: fully working on H7 2019-02-26 16:18:26 +11:00
Andrew Tridgell
9013c15f4d AP_Bootloader: fixed sys lock for timer 2019-02-26 16:18:26 +11:00
Andrew Tridgell
660a790401 AP_Bootloader: improved flash test code 2019-02-26 16:18:26 +11:00
Andrew Tridgell
2fee1ffba4 AP_Bootloader: first working bootloader for H7 2019-02-26 16:18:26 +11:00
Andrew Tridgell
4d3cbd95ac AP_Bootloader: support building on STM32H7 2019-02-26 16:18:26 +11:00
Peter Barker
4d0ae8c371 Tools: autotest: add test for MAVLINK_MSG_ID_SET_POSITION_TARGET_LOCAL_NED 2019-02-26 14:09:21 +11:00
Peter Barker
6fc4086726 Tools: autotest: accept home position before or after ack
autopilot may be out of space or time to send home position packet after
we have requested it
2019-02-26 14:01:41 +11:00
Peter Barker
31a9ac7dbd Tools: autotest: add test suite for Tracker 2019-02-26 08:03:56 +11:00
Peter Barker
e9fc158c8a Tools: autotest: eliminate use of recv_match with condition
We have functions for achieving this

Also, a lot of these places were missing timeouts, so any failure would
cause the entire suite to stop running
2019-02-22 16:30:05 +11:00
Andrew Tridgell
6a4da68c4f Tools: auto-build TBS-Colibri-F7 board 2019-02-22 10:28:53 +11:00