Commit Graph

3340 Commits

Author SHA1 Message Date
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
Andrew Tridgell
ae1d1cad5e Tools: added a script to build all bootloaders 2018-06-23 17:06:38 +10:00
Peter Barker
b94e31b21a Tools: remove warning about native clang builds
These appear to be stable now
2018-06-22 16:49:05 +10:00
Andrew Tridgell
290f050575 waf: enable gccdeps, using gcc dependencies
this is considerably faster than the way dependency system
2018-06-22 11:13:03 +10:00
Andrew Tridgell
ad49f4fdbf waf: fixed declaration of ap_romfs_embedded.h 2018-06-22 11:13:03 +10:00