Commit Graph

3444 Commits

Author SHA1 Message Date
Peter Barker 8c44a0d8c8 Tools: autotest: add contexts to ease reverting parameter values 2018-07-27 09:55:25 +10:00
Peter Barker b47c63c7bd Tools: autotest: wait_ekf_happy checks status bits rather than value
Based on discussions prompted by @khancyr's PR
https://github.com/ArduPilot/ardupilot/pull/8022

Check that we have bits set we want set and that bits we don't want set
aren't set.  In the future we might take these bit sets as parameters.
2018-07-27 09:55:20 +10:00
Andrew Tridgell 4022a17d3b waf: fixed upload on Linux 2018-07-26 08:52:56 +10:00
Jani Hirvinen 62cf45659b adding support for win/cygwin installations 2018-07-24 12:40:23 -07:00
Christian Llanes d86dbee18b Tools: Added name to GIT_Success.txt 2018-07-21 08:24:19 +10:00
Ebin 830a3bbacf Tools: modified default params for Balance Bot 2018-07-20 14:41:32 +10:00
Andrew Tridgell ff0f293d06 Tools: added KakuteF7 bootloader 2018-07-19 17:06:40 +10:00
Stephen Dade 0130ff9b89 Tools - updated URL and git submodule command for install-prereqs 2018-07-19 14:52:05 +09:00
Andrew Tridgell 9cba2c9bd3 Tools: fixed build target for F4BY 2018-07-18 21:24:44 +10:00
Andrew Tridgell 578f17c45a Tools: rename f4by-ch to F4BY 2018-07-18 21:24:29 +10:00
Andrew Tridgell 34e9a6e693 Tools: added f4by to autobuild list 2018-07-18 21:11:44 +10:00
Alexander Malishev f265d7e128 AP_Bootloader: add f4by bootloader 2018-07-18 21:10:39 +10:00
Andrew Tridgell d49d5cbb85 autotest: fixed tailsitter default params for SITL 2018-07-18 19:58:02 +10:00
Andrew Tridgell 07871cb867 Tools: rename revo405_bl to F4LightF405_bl
this is the general bootloader used for F4Light. Prevents confusion
for ChibiOS users
2018-07-18 17:49:54 +10:00
Stephen 651a7030aa Tools: Add quotes in ChibiOS waf file
Without these quotes, the ChibiOS build fails if there are spaces in the Ardupilot path, ie ``C:\Stephen Dade\files\ardupilot``
2018-07-18 12:55:29 +10:00
Peter Barker 8fdcd7e1f5 Tools: hide parameter in documentation if no values present 2018-07-17 12:08:27 +10:00
Michael du Breuil 8ab3b666fa Tools: Remove unused ADC include 2018-07-17 09:29:50 +10:00
Andrew Tridgell 44cfb6eaca Tools: added KakuteF7 to builds 2018-07-13 14:53:53 +10:00
Andrew Tridgell 087aa1a199 Tools: decode SITL device IDs 2018-07-13 10:19:01 +10:00
Pierre Kancir 0af97529ba Tools: common.py : fix empty returned_value variable 2018-07-12 21:13:02 +10:00
Pierre Kancir 065a459df8 Tools: common.py : make some method statics 2018-07-12 21:13:02 +10:00
Pierre Kancir 6c43ab27c1 Tools: remove trailling semilocons 2018-07-12 21:13:02 +10:00
Andrew Tridgell 3b951471f0 Tools: added bootloaders for mRoX21 and Pixracer 2018-07-12 12:33:32 +10:00
Andrew Tridgell 20d1d9dc36 Tools: build Pixracer and mRoX21 in autobuild 2018-07-12 12:33:32 +10:00
Luis Vale Gonçalves 0e6780e18b Update tap and update pre-reqs
Update tap to ardupilot and updated the pre-reqs
2018-07-11 12:14:07 -07:00
Andrew Tridgell 1e2065e381 waf: recognise CubeBlack USB IDs 2018-07-11 09:26:59 +10:00
Andrew Tridgell 7e166a4a38 Tools: added bootloaders for PH4, PH4-mini and CUAVv5 2018-07-10 18:29:14 +10:00
Andrew Tridgell 7c3a75b609 Tools: added auto-build of PH4, PH4-mini and CUAVv5 boards 2018-07-10 18:29:14 +10:00
Andrew Tridgell 7316a478b6 AP_Bootloader: fixed rcc reset when no USB 2018-07-09 20:59:51 +10:00
Andrew Tridgell 655828d2f8 waf: use wildcard OSD fonts for SITL 2018-07-09 19:41:56 +10:00
Andrew Tridgell d2996677cf waf: auto-compress ROMFS files 2018-07-09 19:41:56 +10:00
Andrew Tridgell bf901aff49 AP_Bootloader: support building without USB
this allows for a bootloader on a board with no USB pins defined in
hwdef.dat
2018-07-09 08:35:15 +10:00
Andrew Tridgell 950be3fc17 waf: stop build if OSD libs missing and requested 2018-07-08 08:22:40 +10:00
Randy Mackay cc0b3705e9 Tools: default param file for Thunder Tiger Toyota Hilux 2018-07-06 14:47:15 +09:00
Andrew Tridgell 7c55c60beb Tools: run configure_all.py in build_all 2018-07-06 10:21:12 +10:00
Andrew Tridgell 7ceb83ae9d Tools: added configure test for all boards 2018-07-06 10:21:12 +10:00
Peter Barker 357a57f68a Tools: Replay: implement more dummy camera methods to avoid linking camera 2018-07-06 09:43:09 +10:00
Andrew Tridgell 2c1be910d8 Tools: removed a lot of ancient AVR code 2018-07-06 09:04:15 +10:00
Peter Barker b23ea9a47b Tools: autotest: fix race condition on parameter values 2018-07-05 11:48:08 +10:00
Andrew Tridgell 43ab8d88bf Tools: fixed test for supported boards 2018-07-05 09:17:44 +10:00
Peter Barker 4c581a0522 Tools: autotest: correct invocation of build_all 2018-07-05 09:02:02 +10:00
Andrew Tridgell b97fa4c978 Tools: allow pattern of boards to build_bootloaders.py 2018-07-05 07:53:48 +10:00
Andrew Tridgell 09d0d980a0 Tools: updated cube bootloaders 2018-07-05 07:53:48 +10:00
Andrew Tridgell ca96cf33e9 Tools: added CubeBlack and CubeOrange bootloaders 2018-07-05 07:53:48 +10:00
Andrew Tridgell 9def39f89f Tools: auto-build CubeBlack 2018-07-05 07:53:48 +10:00
Andrew Tridgell 2e427475cf Tools: added bootloader docs 2018-07-04 19:11:10 +10:00
Peter Barker fa19c3a680 Tools: autotest: fix sub autotest 2018-07-04 14:48:41 +10:00
Peter Barker 0ae82751b8 Tools: autotest.py: flake8 compliance
Also fixed a bug where CalledProcessError has not been imported
2018-07-04 14:05:07 +10:00
Pedro Villegas 48d00de030 Tools: added name to GIT_Success.txt 2018-07-04 11:55:26 +09:00
Peter Barker 8f15a76327 Tools: autotest: sim_vehicle.py: whitespace changes for flake8 compliance 2018-07-04 09:36:48 +10:00
Michael du Breuil 7e7bbb8df6 Tools: sim_vehicle.py fixups
limit pkill to 15 characters, fix GDB arguments for python3
2018-07-04 09:36:48 +10:00
Andrew Tridgell 1dece80c88 waf: fixed error with no ROMFS files 2018-07-03 14:05:37 +10:00
Andrew Tridgell f78b84805c waf: don't generate hex files if intelhex module not installed 2018-07-02 12:47:58 +10:00
Andrew Tridgell b527dce08d autotest: use --enable-sfml for graphics 2018-07-02 10:43:48 +10:00
Andrew Tridgell 8ba137bd9a waf: moved ROMFS embed script into waf folder 2018-07-02 10:43:48 +10:00
Andrew Tridgell 00b2cc4a93 Tools: support --osd option to sim_vehicle.py 2018-07-01 21:21:28 +10:00
Andrew Tridgell 355269115e waf: support --enable-osd option 2018-07-01 21:21:28 +10:00
Peter Barker 38898dc793 Tools: autotest: add test for vision position estimate 2018-06-30 10:11:10 +10:00
Peter Barker b197d05476 Tools: autotest: allow for return of negative values in parameters 2018-06-29 21:39:59 +10:00
Andrew Tridgell a7ecbf29aa waf: define CHIBIOS_BOARD_NAME 2018-06-29 20:27:36 +10:00
Peter Barker 975b8c2e5f Tools: autotest: use reboot to apply parameter changes; avoid sim restart
Previously we stopped the simulation to ensure parameter changes are
applied to the simulated vehicle.  We can now reboot the simulated
autopilot, so these patches make use of those changes.

One big advantage is that the --gdb option is in play for the applying
of the parameters to the vehicle.
2018-06-29 10:54:27 +10:00
Andrew Tridgell e2f5ae6a4c Tools: update bootloaders
added bad protocol protections
2018-06-29 08:17:38 +10:00
Andrew Tridgell 95b2587c76 waf: use ardupilot uploader for HAL_PX4 2018-06-29 08:17:38 +10:00
Andrew Tridgell c955d7b824 AP_Bootloader: fixed issue loading NuttX firmwares
NuttX assumes a lot more about MCU state on startup
2018-06-29 08:17:38 +10:00
Andrew Tridgell d470c161e8 AP_Bootloader: protect against random input to bootloader
require both a good sync and get_device before accepting destructive
operations
2018-06-29 08:17:38 +10:00
Lucas De Marchi 981a575aa2 Frame_params: rename some aerofc parameters
Now that we don't panic() on unknown parameters, we can boot even with
wrong parameters. This brings the default parameters of aerofc to be up
to date.

The following parameters were not removed and will be warned:

WPNAV_LOIT_JERK
WPNAV_LOIT_MAXA
WPNAV_LOIT_MINA
WPNAV_LOIT_SPEED

There are no clear substitute for those, so they are staying until we
know if they should be renamed/changed/removed.
2018-06-28 10:18:19 -07:00
Ebin fd92475ce9 autotest: added more default params for balance bot 2018-06-28 21:55:20 +09:00
Ebin 6bb5aa5d36 autotest: added default params for balancebot 2018-06-28 21:55:20 +09:00
Andrew Tridgell 576d1a145d Tools: updated bootloaders 2018-06-28 11:35:13 +10:00
Andrew Tridgell c44a8309f9 AP_Bootloader: fixed strncmp bug 2018-06-28 11:35:13 +10:00
Andrew Tridgell 28ad2287c8 AP_Bootloader: for fast boot don't init USB 2018-06-28 11:35:13 +10:00
Andrew Tridgell b6e057dfb9 AP_Bootloader: use RTC sig for fast boot 2018-06-28 11:35:13 +10:00
Andrew Tridgell bff796af4e Tools: removed annoying print msgs 2018-06-28 11:35:13 +10:00
Andrew Tridgell 8ae6b2e026 waf: fixed dependency of hwdef.h on hwdef.dat 2018-06-27 11:37:45 +10:00
Andrew Tridgell d12cf0ab59 waf: added -Werror on signed comparison 2018-06-27 11:37:45 +10:00
Evan Hammac 37accc96f6 Tools: Added Tyndall AFB to locatons.txt file 2018-06-27 09:37:25 +10:00
Lucas De Marchi 49d08ba72a Global: remove minlure
Minlure is a port of ArduPilot to Minnow Board connected to daughter
board. Very few of those were produced and nobody is flying with it.

It served its purpose and all the the improvements to ArduPilot remain
regardless of it not being supported anymore. Now it's just adding
maintenance work with no clear benefit, so pull the plug.
2018-06-26 07:32:08 -07:00
Andrew Tridgell fe4a18d5f3 Tools: updated bootloader binaries
faster upload, and fixed a number of bugs
2018-06-25 21:22:31 +10:00
Andrew Tridgell f3a2d63747 Tools: don't generate a _with_bl file for the bootloader itself 2018-06-25 21:22:31 +10:00
Andrew Tridgell 77929dabb3 Tools: fixed python3 error in make_intel_hex.py 2018-06-25 21:22:31 +10:00
Andrew Tridgell 0546ea69d1 AP_Bootloader: fixed build with no uarts 2018-06-25 21:22:31 +10:00
Andrew Tridgell 0ebd05aa1a AP_Bootloader: support changing baudrates on UARTs 2018-06-25 21:22:31 +10:00
Andrew Tridgell fe4aa4bbc7 AP_Bootloader: support uarts and usb for bootloading 2018-06-25 21:22:31 +10:00
Andrew Tridgell 5b208b401f AP_Bootloader: skip erasing already erased pages 2018-06-25 21:22:31 +10:00
Andrew Tridgell b5fc7f10f3 AP_Bootloader: added flash size limiting on old CPUs 2018-06-25 21:22:31 +10:00
Andrew Tridgell 4fbd1e409f AP_Bootloader: make flashing a bit faster 2018-06-25 21:22:31 +10:00
Andrew Tridgell 1c73c133a9 waf: fixed binary generation order 2018-06-24 20:24:06 +10:00
Andrew Tridgell 949af17fa4 Tools: save _with_bl.hex files in firmware download 2018-06-24 20:15:38 +10:00
Andrew Tridgell 623a30be55 waf: build hex file with and without bootloader
this allows for DFU tools without losing parameters
2018-06-24 16:47:23 +10:00
Andrew Tridgell f73ca2a6ba waf: speed up the bootloader build
don't need to build all libraries
2018-06-24 15:57:51 +10:00
Andrew Tridgell f202ff87e2 Tools: only build one target for revo-mini 2018-06-24 08:26:28 +10:00
Andrew Tridgell 4997898c5b Tools: added bootloaders for new boards 2018-06-24 08:26:28 +10:00
Andrew Tridgell 3900949d19 Tools: build a lot more board binaries 2018-06-24 08:26:28 +10:00
Tom Pittenger 49de205a06 Tools: Git Success - Tom Pittenger 2018-06-23 19:39:54 +10:00
Peter Barker b555370e07 Tools: build_binaries: remove build directory before configure
with recent changes this should actually be marginally faster than
keeping old build products around
2018-06-23 17:51:45 +10:00
Andrew Tridgell 5b46adf3fb waf: fixed chibios upload 2018-06-23 17:06:53 +10:00
Andrew Tridgell e2d29fe1db Tools: install intelhex package for CI 2018-06-23 17:06:38 +10:00
Andrew Tridgell 8fbe57c82e Tools: added new bootloaders 2018-06-23 17:06:38 +10:00
Andrew Tridgell 338ff6ae64 waf: automatically build intel hex fw when possible
this combines the bootloader and application code into a single binary
2018-06-23 17:06:38 +10:00
Andrew Tridgell 4cafcc4eae travis: added revo-bootloader to CI
this ensures the bootloader build will keep working
2018-06-23 17:06:38 +10:00