Andrew Tridgell
bdc615e4cc
Tools: added rcda_decode script
2020-03-24 09:10:36 +09:00
Peter Barker
1104f15d88
Tools: build log message documentation on autotest server
2020-03-20 13:05:46 +11:00
Peter Barker
9bb40af1c7
Tools: add script to build all parameter documentation
2020-03-20 13:05:46 +11:00
Peter Barker
61cc1decc3
Tools: start of script to help decode stm32 ICSR register
...
pbarker@bluebottle:~/rc/ardupilot(master)$ ./Tools/scripts/decode-ICSR.py 4196355
VECTACTIVE: 3 (Hard fault)
RESERVED1: 0
ROTOBASE: 1
VECTPENDING: 0
RESERVED2: 0
ISRPENDING: 1
RESERVED3: 0
PENDSTCLR: 0
PENDSVCLR: 0
PENDSVSET: 0
RESERVED4: 0
NMIPENDSET: 0
pbarker@bluebottle:~/rc/ardupilot(master)$
2020-03-18 11:22:41 +11:00
Peter Barker
bb0920d56a
Tools: build_parameters: remove unused function parameters
2020-03-12 08:40:29 +11:00
Andrew Tridgell
e15bb744ff
Tools: improve build_bootloaders.py script
...
give list of failed builds
2020-03-11 09:53:06 +11:00
Andrew Tridgell
0f7de04d79
Tools: added image_size to manifest
2020-03-11 09:43:06 +11:00
Peter Barker
49314b2b86
Tools: build_autotest.sh: install pymavlink after MAVProxy
...
Currently installing MAVProxy pulls pymavlink in as a dependency, so we
end up running whatever MAVProxy's master branch is pointing to
(currently pymavlink>=2.3.3).
ardupilot master can reference a pymavlink commit which is not part of
whatever MAVProxy's master branch is pointing to, so we end up with
failures like this in autotest:
fly.ArduCopter:
Mount (Test Camera/Antenna Mount) ('module' object has no attribute 'MAV_CMD_DO_SET_ROI_SYSID') (see /mnt/volume_nyc3_01/autotest/APM/buildlogs/ArduCopter-Mount.txt)
FixedYawCalibration (Test Fixed Yaw Calibration) ('module' object has no attribute 'MAV_CMD_FIXED_MAG_CAL_YAW') (see /mnt/volume_nyc3_01/autotest/APM/buildlogs/ArduCopter-FixedYawCalibration.txt)
If we install pymavlink after installing MAVProxy we should end up with
the pymavlink messages generated from the messages in our mavlink
subdirectory, rather that the pymavlink messages shipped as part of the
pymavlink pip release.
2020-03-09 15:04:20 +11:00
Peter Barker
d464db9c70
Tools: create log of build_binaries.py builds
2020-03-07 20:49:36 +11:00
Peter Barker
194998d631
travis: restore fly.ArduCopter as running all tests
2020-02-22 16:51:39 +11:00
Peter Barker
82f53abee2
autotest: restore fly.ArduCopter as running all tests
...
the test list for ArduCopter is made up of those from tests1 and tests2
2020-02-22 16:51:39 +11:00
Andy Piper
05a0fe615b
Tools: split Copter tests into two runs to balance time on travis
2020-02-22 11:15:37 +11:00
Pierre Kancir
1d8a9ab556
Tools: make dumpstack and run-coverage .sh script
2020-02-20 20:41:26 +11:00
Pierre Kancir
097cffaa06
Tools: build_ci: remove useless check for waf support
2020-02-20 20:41:26 +11:00
Peter Barker
14e758a6d1
Tools: add sitltest-tracker into build_ci.sh
2020-02-19 13:13:45 +11:00
Andrew Tridgell
01b5337d91
Tools: auto-build f303-M10025
2020-02-17 12:49:34 +11:00
CUAVcaijie
b854fa3d4e
Tools: added CUAV-Nora to autobuild
2020-02-12 21:17:49 +11:00
Peter Barker
93ac71095d
Tools: build_binaries, sort boards before building, print board counts
2020-02-08 11:06:32 +11:00
Andrew Tridgell
b3ff75ed6b
Tools: fixed list for USBID in generate_manifest.py
2020-01-27 10:16:49 +11:00
Andrew Tridgell
d87306afbd
Tools: auto-build f303-Universal firmware
2020-01-26 09:12:55 +11:00
Andrew Tridgell
0d283bf3a7
Tools: added --build-target to configure_all.py
2020-01-19 07:24:57 +11:00
Andrew Tridgell
a777031f54
Tools: auto-build R9Pilot
2020-01-18 17:00:44 +11:00
Michel Pastor
e2ac1acfcc
Tools: added SuccexF4 to auto build
2020-01-18 14:54:29 +11:00
Peter Barker
2342ea600a
Tools: exclude build-linux-libraries and gtest from coverage analysis
...
The build-linux-libraries were mavlink-generated headers created when we
build the examples. We don't intentionally try to test anything in
there at the moment, so it's noise.
2020-01-13 16:11:49 +11:00
Andrew Tridgell
82148607ee
Tools: add USBID to generated apj file
2020-01-06 09:55:26 +11:00
Peter Barker
57300d0769
Tools: remove build before running coverage
...
Stop losing a run because a file has been removed.
2020-01-05 12:16:59 +11:00
Andrew Tridgell
26e0f5c084
Tools: add python version option to configure_all.py
2020-01-02 09:52:57 +11:00
Andy Piper
70d00f2361
Tools: generate_manifest for KakuteF7Mini
2019-12-30 21:16:42 +11:00
Andrew Tridgell
e813d349ba
Tools: added bin format as valid firmware
2019-12-29 19:57:06 +11:00
Peter Barker
29e8d17e2c
Tools: show test timings in CI output
2019-12-29 08:05:01 +11:00
Michael du Breuil
cebe4eefa5
Tools: Remove gcc 4.9 from CI prereqs
2019-12-20 11:03:31 +11:00
Andrew Tridgell
c545171cec
Tools: fixed compiler path for autotest
2019-12-17 18:10:23 +11:00
Andy Piper
fc16c5c2ae
Tools: align ci gcc with environment gcc v6 on arm
2019-12-17 10:56:44 +11:00
Peter Barker
704407118b
Tools: use https:// scheme for ardupilot URLs
2019-12-10 07:53:46 +11:00
Andrew Tridgell
d7018a2ba0
Tools: switch to https URL for firmware
2019-12-08 07:44:14 +11:00
Andrew Tridgell
dd4ec08ec8
Tools: removed old wordpress update of params
2019-12-05 14:29:58 +11:00
Andrew Tridgell
36ea023e8d
Tools: added H7 info in uploader
...
and don't mention 1M flaw unless family is vulnerable to it
2019-11-25 21:52:45 +11:00
Peter Barker
8f99262ffe
Tools: CI: install MAVProxy from source rather than using pip
...
Trying to get correct version of pymavlink (i.e. the one with messages
references in our mavlink repository)
As-is, if there is a pymavlink release after the one references in the
ardupilot repo, we don't pick up any new messages in the Python
bindings.
2019-11-12 07:52:22 +08:00
Peter Barker
ee1f919244
Tools: do recursive submodule update when installing pymavlink
2019-11-12 07:52:22 +08:00
Peter Barker
1279c63ece
Tools: run-coverage: build unit-tests and examples with debug
2019-11-08 14:34:15 +11:00
Andrew Tridgell
db8c682a14
Tools: added f303-GPS to builds
2019-11-01 10:53:53 +11:00
Andrew Tridgell
cd98659abe
Tools: cope with location of AP_Periph in Tools directory
2019-10-25 13:52:43 +11:00
Andrew Tridgell
9a176526d7
Tools: include bin files on firmware server for AP_Periph
2019-10-25 13:52:43 +11:00
Andrew Tridgell
6f6a8d5d14
Tools: auto-build AP_Periph binaries
2019-10-25 09:35:27 +11:00
Andrew Tridgell
c5afc3ff99
Tools: use crc_crc32() in app descriptor
2019-10-21 19:12:01 +11:00
Andrew Tridgell
5cda8b4a4f
Tools: updated AP_Periph CI and docs
...
target is now f103-GPS
2019-10-16 13:13:24 +11:00
Andy Piper
16c9649ced
Tools: bootloader and binary build for Kakute F7 mini
2019-10-12 21:53:55 +11:00
Andrew Tridgell
c19d31d0c3
Tools: autobuild Pixhawk1-1M
2019-10-01 09:08:25 +10:00
Peter Barker
073248eca5
Tools: autotest: remove vestiges of waf-run coverage
2019-09-27 07:20:21 +10:00
Andrew Tridgell
f5364e5efa
Tools: added script for creating apj file from *.bin
...
useful when you have a binary firmware and want to be able to upload
it with uploader.py
2019-09-25 08:40:02 +10:00
Peter Barker
d8fb003cc2
Tools: add entry for running unit tests to build_ci.sh
2019-09-24 14:30:13 +10:00
Peter Barker
642935fd43
Tools: random Python cleanups based on lgtm analysis
2019-09-21 22:26:03 +10:00
Peter Barker
cefd30a086
travis: run balancebot tests as part of CI
2019-09-18 09:10:37 +10:00
Andrew Tridgell
84b035692f
Tools: added --no-bl option to configure_all.py
2019-09-16 12:53:44 +10:00
Andrew Tridgell
ab5868c0fa
Tools: added CubeBlack+ to autobuild
2019-09-16 12:53:44 +10:00
Andrew Tridgell
f881e4a248
Tools: autobuild skyviper-journey
2019-09-12 14:02:36 +10:00
Peter Barker
6352e10811
Tools: scripts: build_ci.sh: understand env CI_BUILD_DEBUG
2019-09-11 06:55:37 +10:00
Andrew Tridgell
99bcab955b
CI: added peripheral build to travis
2019-08-27 10:29:56 +10:00
Andrew Tridgell
687f2a3da4
Tools: fixed apj_tool for python3
...
py3 really is a major pain for simple string tools
2019-08-26 12:31:02 +10:00
Peter Barker
cd45f3a14c
Tools: build_binaries.py: honour BUILDLOGS environment variable
2019-08-21 14:51:09 +10:00
Peter Barker
6d6eb1f751
Tools: move coverage analysis into Tools/scripts/run-coverage
2019-08-12 12:29:51 +10:00
Peter Barker
cfd7e05257
Tools: build_binaries.py: correct comment on common_boards call
2019-08-07 11:54:04 +10:00
Peter Barker
066a382a3d
Tools: build_binaries.py: add omnibusf4 to build target list
2019-08-07 11:54:04 +10:00
Andrew Tridgell
e708446f4d
Tools: rename Pixhawk6 to Durandal
2019-08-01 14:11:06 +10:00
bugobliterator
6469174a84
Tools: move to using separate firmwares for heater polarity values
2019-07-25 17:05:41 +10:00
Michael du Breuil
fbc719c113
Tools: Run parameter emitters
2019-07-23 09:29:48 +10:00
Michael du Breuil
bd8d63dd3f
Tools: Add edn_format to CI
2019-07-23 09:29:48 +10:00
Peter Barker
392a174e2e
Tools: scripts: dumpstack: do not run any gdbinit scripts
...
Often these scripts look for hardware dongles that may not exist
2019-07-17 14:04:41 +10:00
Andrew Tridgell
05b55945fc
Tools: auto-build F765-Wing
2019-07-13 15:23:45 +10:00
Tatsuya Yamaguchi
4321a987f2
Tools: fix the help message
2019-07-11 15:56:49 +09:00
Tatsuya Yamaguchi
ba1903708b
Tool: fix the switch-to-uart function in TFMiniPlus script
2019-07-11 15:56:49 +09:00
Peter Barker
fbb26ff52d
Tools: uploader.py: py3 fix
2019-07-03 15:42:28 +10:00
Peter Barker
3c6b08e67f
Tools: generate_manifest: correct detection of linux filetypes
2019-06-27 14:41:28 +10:00
DonLakeFlyer
b34b276844
Fix tab usage
2019-06-27 07:52:35 +10:00
DonLakeFlyer
e7104fb6f0
Fix heli manifest generatio
2019-06-27 07:52:35 +10:00
Peter Barker
98f30fe099
Tools: script: uploader.py: add --identify option
...
Add option to make it absolutely clear what the MCU revision is and
whether it is flawed
2019-06-25 13:40:27 +10:00
Peter Barker
4b455afd42
scripts: uploader.py: print unplug hint when downloading firmware
2019-06-25 13:40:27 +10:00
Michael du Breuil
93d8f32c8f
Tools: Support CubeOrange bootloader in CI
2019-06-19 11:26:44 +10:00
Michael du Breuil
8c7946a9d8
Tools: Remove unneeded sitltest-scripting, it's now the default
2019-06-18 00:06:32 -07:00
Andrew Tridgell
6a558bff2b
Tools: removed PYTHONPATH setting
...
this was breaking mavproxy
2019-06-08 07:14:59 +10:00
Peter Barker
5f018d0798
Tools: scripts: add dumpstack
...
Given a pid this script attempts to dump a stack trace of that process
to stderr
2019-06-07 22:03:41 +10:00
Andrew Tridgell
d66d1a31f0
Tools: set SITL_PANIC_EXIT for build_autotest.sh
2019-06-07 20:33:13 +10:00
Andrew Tridgell
78f3265f27
Tools: fixed typo
2019-06-07 07:43:44 +10:00
Andrew Tridgell
2fb8aba1b2
autotest: use build path on faster filesystem
2019-06-06 09:10:32 +10:00
Andrew Tridgell
a745bad5b0
Tools: cleanup autotest script
2019-06-06 08:42:47 +10:00
Andrew Tridgell
a4c17a3913
Tools: move skip_board_waf after update_submodules in build_binaries
...
thanks to Peter for noticing this
2019-06-03 21:48:27 +10:00
Andrew Tridgell
0b321eb84c
Tools: speed up builds and report build time per build
2019-06-03 17:59:28 +10:00
斯东Stone
70c0ba5722
AP_RangeFinder: Fix typo in Benewake TFMiniPlus python tool
2019-06-02 23:40:21 -07:00
Andrew Tridgell
3f71a84894
Tools: timestamp build steps
...
try to track down what is slow
2019-05-31 07:36:16 +10:00
Andrew Tridgell
6690e38ee3
Tools: added in vehicletype
...
request from Michael
2019-05-30 15:36:41 +10:00
Andrew Tridgell
7c65d89c34
Tools: call gen_stable from build_binaries.py
2019-05-25 11:50:02 +10:00
Lucas De Marchi
0afd58fb99
Tools: add helper script for TFMini Plus
...
This allows to easily change the sensor back and forth between I2C and
UART modes.
2019-05-24 01:47:04 -07:00
Andrew Tridgell
7186e443ba
Tools: added playback tool for onboard logs
...
allows for visualising flights using flightgear with onboard log
2019-05-16 11:21:13 +10:00
Phillip Kocmoud
9b43870ffe
Tools: auto-build mRoControlZeroF7
2019-05-10 15:05:42 +10:00
Andrew Tridgell
372d9483aa
Tools: added --download option to uploader.py
2019-05-06 08:08:05 +10:00
Andrew Tridgell
9ff69b90e1
Tools: added mapping for brand name and manufacturer
...
requested by Don for QGC
2019-05-05 20:31:58 +10:00
Andrew Tridgell
a46ea1d5c5
Tools: keep old stable releases
...
this will ensure that all future stable releases are kept for users to
select with the GCS
2019-05-03 10:32:21 +10:00
Andrew Tridgell
4881d32b18
Tools: added a script to generate missing firmware-version.txt files
2019-04-30 10:29:41 +10:00
Andrew Tridgell
709a4d00d9
Tools: simplify and fix manifest generation
2019-04-30 10:29:41 +10:00
Andrew Tridgell
e98d5094b5
Tools: cleanups to generate_manifest.py
2019-04-30 10:29:41 +10:00
Andrew Tridgell
0abec1e0f3
Tools: flake8 fixes for generate_manifest.py
2019-04-29 19:07:11 +10:00
Andrew Tridgell
9da18cd6bc
Tools: flake8 fixes for build_binaries.py
2019-04-29 19:07:11 +10:00
Andrew Tridgell
cbd72cb7c6
Tools: improved manifest.json
...
the new manifest.json includes USB IDs, board_id, and bootloader
strings. This will make it possible to generate a list of matching
boards which will allow a GCS to offer a list to the user
2019-04-29 19:07:11 +10:00
Andrew Tridgell
1367e46d2f
Tools: fixed manifest.json.gz generation
2019-04-29 19:07:11 +10:00
Matt
09411fed10
BUILD: Update CubeBlack-solo to CubeSolo.
2019-04-29 14:40:13 +10:00
Rajat Singhal
a963a0d245
Tools: scripts: Suggest exporting JSBSim path after building
...
Tools: scripts: Remove debug output in build-jsbsim.sh
Tools: scripts: Restore debug output in build-jsbsim.sh
2019-04-21 17:06:10 +10:00
Peter Barker
bec9b6dda4
Tools: apj_tool.py: python3 fixes
2019-04-19 07:28:49 +10:00
Andrew Tridgell
283968afca
Tools: rename Pixhawk4Pro to Pixhawk6
2019-04-16 04:33:17 +10:00
Phillip Kocmoud
564a82c5da
uploader.py: Add detection for mRo USB devices
2019-04-11 11:16:48 +10:00
Michael du Breuil
ae1d7f0b26
Tools: Add a scripting build target to CI
2019-04-10 01:30:32 -07:00
Andrew Tridgell
4aaf3e2dd1
Tools: build CUAVv5Nano firmware
2019-04-08 08:21:39 -07:00
Andrew Tridgell
db5776d080
travis: added fmuv2 plane build
...
this tests HAL_MINIMIZE_FEATURES build
2019-04-08 09:34:15 +10:00
Lucas De Marchi
2cac03bfd3
Tools: auto-build edge
2019-04-06 09:50:13 +11:00
IamPete1
d188245855
Tools: autobuild tracker on common boards
2019-04-06 09:37:37 +11:00
Stephen Dade
7461d70e82
Tools: Consolidated prereq install scripts to single location
2019-04-05 10:31:09 +11:00
Patrick José Pereira
0e5f9454dd
Tools: Update ubuntu script to add pexpect
...
pexpect is used in autotest
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2019-04-02 07:31:37 +11:00
Andrew Tridgell
2d2b02e50b
Tools: added more INS device decodes
2019-03-28 09:15:27 +11:00
Peter Barker
176d26b40a
Tools: generate_manifest: flake8 compliance
2019-03-26 16:21:14 +11:00
Peter Barker
02e687e99c
Tools: generate_manifest: improve handling of unknown tags
2019-03-26 16:21:14 +11:00
Dr Nic Williams
9cab607d0a
Tools: pexpect python dependency used by autotest
2019-03-24 09:49:34 +11:00
Peter Barker
4379186333
Tools: scripts: remove dated directories from manifest
2019-03-21 21:28:57 +11:00
Siddharth Purohit
bc97ee5498
Tools: fix uploader for macos systems
2019-03-21 18:54:32 +11:00
Peter Barker
ca81cd0f1b
Tools: build_binaries.py: build SITL binaries for x86_64-linux-gnu and arm-linux-gnueabihf
2019-03-19 20:21:50 +11:00
Andrew Tridgell
7239e2bd07
Tools: fixed iomcu build with configure_all.py
2019-03-15 20:08:26 +11:00
Andrew Tridgell
3d7c6fea78
Tools: added --stop option to configure_all.py
2019-03-15 20:08:26 +11:00
Andrew Tridgell
0215e08f86
Tools: add option to configure_all.py to do builds
2019-03-15 11:54:57 +11:00
Andrew Tridgell
9c3e606076
CI: added configure-all.py to travis testing
...
make sure all hwdef.dat files can be used
2019-03-15 11:54:57 +11:00
Andrew Tridgell
e67ccbe13d
Tools: added bootloader configure to configure_all.py
2019-03-15 11:54:57 +11:00
Andrew Tridgell
57ab496a1c
Tools: fixed board selection in build_binaries.py
2019-03-11 15:55:57 +11:00
Andrew Tridgell
13e3c2fa92
Tools: fixed exception in generate_manifest.py
2019-03-11 15:44:28 +11:00
Andrew Tridgell
aca2115401
Tools: auto-build CubeYellow
2019-03-11 12:40:21 +11:00
Andrew Tridgell
f30f7ca395
travis: added F7 and H7 boards to travis builds
...
ensure these two build types don't get broken
2019-03-11 08:53:06 +11:00
Tom Pittenger
d47663c0ba
Tools: allow uploader.py to detect ttyS* on Ubuntu on Windows (WSL)
2019-03-10 21:31:22 +11:00
filipsladek
09b09ad288
Tools: scripts: Update jsbsim installation script.
...
According to http://ardupilot.org/dev/docs/setting-up-sitl-on-linux.html
"
In the past ArduPilot required a special version of JSBSim. As of December 2018 that is no longer the case, and we can use the standard JSBSim releases.
"
Moreover currently build-jsbsim.sh is failing with error:
../../src/models/propulsion/FGTurbine.h:297:3: error: ‘FGParameter’ does not name a type; did you mean ‘FGThruster’?
FGParameter *N1SpoolUp;
^~~~~~~~~~~
2019-03-08 22:26:04 +11:00
Peter Barker
e68ceda59e
Tools: scripts: uploader.py takes target-system / target component
2019-03-05 09:52:03 +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
Mark Whitehorn
48e4d779ac
Tools: scripts: uploader.py: add dict of compatible board IDs
2019-03-03 14:27:38 +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
ec2c742523
Tools: added Holybro to supported USB IDs for upload
2019-02-26 16:18:26 +11:00
Andrew Tridgell
6a4da68c4f
Tools: auto-build TBS-Colibri-F7 board
2019-02-22 10:28:53 +11:00
Pierre Kancir
910de89b4e
Tools: add DEVTYPE_RM3100 to decode_devid.py
2019-02-20 22:06:31 +11:00
MohamedAliRashad
ddab9455e8
Tools: install-prereqs: do not use sudo to install Python packages
2019-02-19 13:29:03 +11:00
Peter Barker
5828915a02
Tools: scripts: remove build_all_vrbrain.sh
2019-02-13 10:11:29 +11:00