Commit Graph

3185 Commits

Author SHA1 Message Date
Andrew Tridgell
b6c0e65dee waf: set CYGWIN_BUILD on cygwin for px4
helps with missing/cmath
2018-03-03 13:35:39 +11:00
Andrew Tridgell
3e9f0f83f0 waf: fixed cygwin build for ChibiOS
keep path lengths to linker short
2018-03-02 17:11:31 +11:00
Andrew Tridgell
706a0c1b2f waf: define CYGWIN_BUILD for ChibiOS under cygwin
and for SITL
2018-03-02 17:11:31 +11:00
Andrew Tridgell
43f1b43b6c waf: auto-generate board targets for ChibiOS
this allows porting to a new board by just adding the hwdef.dat, with
no other changes
2018-03-02 12:52:50 +11:00
Andrew Tridgell
2075a3da7d waf: use pre_build hook for ChibiOS
this fixes dynamic uavcan building
2018-03-02 12:52:50 +11:00
Andrew Tridgell
7d5ed1bc9b waf: simplify board classes for ChibiOS
rely in hwdef.dat
2018-03-02 12:52:50 +11:00
Andrew Tridgell
fed1579187 waf: auto-enable CAN for ChibiOS builds
use presence of CAN pins in hwdef.dat to automatically enable if
available
2018-03-02 12:52:50 +11:00
Andrew Tridgell
89430793dd waf: allow env variable overrides in hwdef.dat
this allows hwdef.dat to control files that are built and flags to the
build
2018-03-02 12:52:50 +11:00
Andrew Tridgell
61debe95e0 Tools: started on OMNIBUSF7V2 support 2018-03-02 12:52:50 +11:00
Andrew Tridgell
6b6c35a435 waf: use relative paths for ChibiOS build
this fixes the ChibiOS build on cygwin by reducing path lengths to
below the cygwin limit
2018-03-02 12:52:50 +11:00
Peter Barker
3f17ac765e Tools: build_binaries: raise a CalledProcessError on bad exit code
We've been silently ignoring bad exit codes.  Stop that.
2018-03-01 19:50:50 +11:00
Peter Barker
4d28fa8e09 Tools: build_binaries.py: catch exception on copy failure
Also correct some debug and add flake8 compliance
2018-03-01 19:50:50 +11:00
Andrew Tridgell
035da5047a waf: added fmuv2 build
based on fmuv3, but with 1M target flash
2018-03-01 15:25:55 +11:00
Peter Barker
cbbd5d3410 Tools: remove unused build_binaries.sh script
This was left as a reference while working out problems with
build_binaries.py

It is now causing confusion.
2018-03-01 13:52:16 +11:00
Peter Barker
053d789843 Tools: ardupilotwaf: disable SLP vectorization for clang++ in SITL
There appears to be a problem caused by clang++'s optimisations to do
with SLP vectorizations.

It *looks* like it doesn't push enough operands into one of the vectors,
so you end up with a division by zero when attempting to execute an SSE
instruction.
2018-03-01 13:12:10 +11:00
Jacob Walser
9897ff60de Frame_params: Add BlueROV2 Heavy param file 2018-02-28 13:22:08 -05:00
Peter Barker
18135b4764 Tools: build-with-disabled-features: update deps 2018-02-27 07:43:13 +09:00
Peter Barker
67257e545e Tools: add how-to-use comment to build-with-disabled-features 2018-02-22 10:18:44 +10:00
Peter Barker
705e6287b9 Tools: add a build-with-disabled-features script 2018-02-22 10:18:44 +10:00
Peter Barker
6fb9210c95 Tools: vagrant: install gcov for coverage and pexpect for autotest 2018-02-16 12:50:49 +11:00
Luis Vale Gonçalves
e88be33c9e Updated the usbmodem line for upload
Added a * to enable recognition of usbmodems
2018-02-16 10:17:45 +11:00
Andrew Tridgell
4dc88c6022 waf: added crazyflie2 2018-02-14 18:27:00 +11:00
Andrew Tridgell
320c3b53a4 waf: make it easier to list USB IDs to load fw to 2018-02-14 18:27:00 +11:00
ljwang
59ee3c8f62 AP_HAL: support mini-pix 2018-02-14 18:27:00 +11:00
Pierre Kancir
fe36c09bb0 Tools: correct Gazebo-iris param 2018-02-14 09:45:25 +09:00
Peter Barker
50ccbb5d0c Tools: autotest: correct speedup parameter handling 2018-02-13 17:15:05 +11:00
Peter Barker
aeb99c675b Tools: autotest: remove racey mavproxy.expect
The autopilot could well have emitted the statustext before we
start to expect() it
2018-02-13 17:15:05 +11:00
Peter Barker
bae67c479b Tools: update instructions on how to use Vagrant VM 2018-02-13 13:49:41 +09:00
Peter Barker
0a7ae22398 Tools: Vagrant: use install-prereqs-ubuntu for installation 2018-02-13 13:49:41 +09:00
Alexey Bulatov
7302618bbc waf: add support UAVCAN for Edge board 2018-02-13 13:52:44 +11:00
nicknunno
72b698bf96 Tools: update AION default param
Add servo-function reversed, compass offset maximum
2018-02-12 16:56:46 +09:00
Andrew Tridgell
7c0e18f0c7 Tools: added more bootloader details 2018-02-10 19:13:18 +11:00
Andrew Tridgell
04be33c0c5 Tools: added skyviper bootloader 2018-02-10 19:13:18 +11:00
Andrew Tridgell
2cbf04a3d0 waf: use new bootloader path 2018-02-10 19:13:18 +11:00
Andrew Tridgell
d6f3ef0be1 Tools: moved bootloaders to Tools/bootloaders 2018-02-10 19:13:18 +11:00
Andrew Tridgell
8b5291975b waf: disable uavcan and fatfs on skyviper-v2450 2018-02-08 22:10:46 +11:00
Andrew Tridgell
36695fe1f6 waf: create abin files for some px4 builds
needed for skyviper web UI upload
2018-02-08 18:56:51 +11:00
Andrew Tridgell
507fcb0f27 Tools: moved make_abin.sh into Tools/scripts
will be used in px4 build
2018-02-08 18:56:51 +11:00
Andrew Tridgell
258ae49952 waf: support PX4 boards with no microSD or USB 2018-02-08 18:56:51 +11:00
Andrew Tridgell
330fa815e8 Frams_params: updates for new pos controller for skyviper 2018-02-08 18:56:51 +11:00
Andrew Tridgell
86d43061e9 waf: added skyviper-v2450-px4 build 2018-02-08 17:36:33 +11:00
Andrew Tridgell
238db04187 Frame_Params: set TMODE_ENABLE=2 for the F412 2018-02-08 17:36:33 +11:00
Andrew Tridgell
ca12d99430 Frame_Params: fixed orientation on F412 2018-02-08 17:36:33 +11:00
Andrew Tridgell
2db74a642b waf: added skyviper-f412-rev1 board
older board with SPI 20789
2018-02-08 17:36:33 +11:00
Andrew Tridgell
76703a80c4 Frame_params: disable unpopulated serial ports 2018-02-08 17:36:33 +11:00
Andrew Tridgell
3b5bb3cae2 Frame_params: default to CC2500 radio for F412 2018-02-08 17:36:33 +11:00
Andrew Tridgell
b0c16f7eb9 waf: auto-build abin files for ChibiOS 2018-02-08 17:36:33 +11:00
Andrew Tridgell
d208dc69d3 Tools: moved make_abin.sh into ChibiOS scripts 2018-02-08 17:36:33 +11:00
Andrew Tridgell
5eb29f94ce Frame_Params: update config for Skyviper-2450 2018-02-08 17:36:33 +11:00
Andrew Tridgell
779de02acb waf: disable double-promotion warnings on ChibiOS
these are not useful
2018-02-08 17:36:33 +11:00
Andrew Tridgell
674bf12f6e Frame_params: fixed ordering of F412 motors 2018-02-08 17:36:33 +11:00
Andrew Tridgell
ebeda12953 Frame_params: added defaults for SkyViper-F412 2018-02-08 17:36:33 +11:00
Andrew Tridgell
4570213665 scripts: added make_abin.sh script
used to create binary for install of SkyViper 2450GPS via web UI
2018-02-08 17:36:33 +11:00
Andrew Tridgell
5c259459ea waf: build with AP_TempCalibration 2018-02-08 17:36:33 +11:00
Andrew Tridgell
0258c5baf4 waf: added AP_Radio to build 2018-02-08 17:36:33 +11:00
Patrick José Pereira
6ca1c03767 Tools: Skip reinstall of existing packages in install-prereqs-arch
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-02-08 09:54:37 +09:00
Patrick José Pereira
8aa00e88e2 Tools: Correct submodule update script in install-prereqs-arch
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-02-08 09:54:37 +09:00
Patrick José Pereira
d73f534bc7 Tools: Check if symbolic link already exist in install-prereqs-arch
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-02-08 09:54:37 +09:00
Andrew Tridgell
13a3c56a02 waf: added board name to ChibiOS build 2018-02-07 20:33:45 +11:00
Andrew Tridgell
1c0b598c05 waf: fixed permissions on px_mkfw.py 2018-02-07 20:33:45 +11:00
Siddharth Purohit
d1a497f223 waf: add more wraps to compile uavcan 2018-02-07 20:33:45 +11:00
Siddharth Purohit
b1499ee8f2 waf: add option to compile with uavcan for chibios boards 2018-02-07 20:33:45 +11:00
Andrew Tridgell
3d50bbe2c0 waf: added mini-pix build target 2018-02-07 20:33:45 +11:00
Andrew Tridgell
6ee0c48ab1 waf: added revo-mini build type 2018-02-07 20:33:45 +11:00
Siddharth Purohit
90ca9626cc waf: use gcc/g++ by default if available else throw warning 2018-01-31 12:22:23 +11:00
Siddharth Purohit
8f074d52c1 autotest: fix setup of sitl for macosx 2018-01-31 12:22:23 +11:00
Michael du Breuil
a7cdca030c Tools: Split sitl tests into per vehicle tasks 2018-01-23 13:34:54 +09:00
Andrew Tridgell
4bc3a649cc waf: default port list for uploader 2018-01-20 17:40:07 +11:00
Andrew Tridgell
d7c62602ed waf: added AP_RCProtocol to list of libraries for all vehicles 2018-01-20 17:40:07 +11:00
Peter Barker
7c232323da waf: added support for Sparky2 STM23F405 board 2018-01-20 17:40:07 +11:00
Alexey Bulatov
e16ac3da23 ardupilotwaf: Disable exceptions for UAVCAN on linux boards 2018-01-17 07:24:17 -08:00
Alexey Bulatov
0998ac102b ardupilotwaf: Add libraries instead of assignment 2018-01-17 07:24:17 -08:00
Robert Clarke
69b9438e7f Tools: use posixpath for compatability with git on Windows (MSYS) 2018-01-16 11:05:45 +09:00
Andrew Tridgell
4f0839a493 waf: improved dependencies in ChibiOS build 2018-01-16 09:46:21 +11:00
Andrew Tridgell
681792acf3 waf: added skyviper-v2450 build target
derived from fmuv3
2018-01-15 11:46:02 +11:00
Andrew Tridgell
360a8d99bf Frame_params: bring 2450 params in line with release 2018-01-15 11:46:02 +11:00
Andrew Tridgell
c708201fc6 waf: added flag for no FATFS in ChibiOS 2018-01-15 11:46:02 +11:00
Andrew Tridgell
ce9473f0e8 waf: fixed handling of waf clean with new hwdef generation 2018-01-15 11:46:02 +11:00
Andrew Tridgell
2978649cd4 waf: moved to generated loader script 2018-01-15 11:46:02 +11:00
Andrew Tridgell
9482ab1840 waf: use common makefile for ChibiOS if no custom present 2018-01-15 11:46:02 +11:00
Andrew Tridgell
e3f4860666 waf: cope with serial exceptions in px_uploader.py
this allows the loader to continue on a USB removal/reinsert
2018-01-15 11:46:02 +11:00
Andrew Tridgell
5af4f8b364 waf: added mindpx-v2 build target 2018-01-15 11:46:02 +11:00
bugobliterator
3aba8bf706 waf: add mac usb com ports to list of devices for upload 2018-01-15 11:46:02 +11:00
Andrew Tridgell
a2681f1d1c waf: support ChibiOS FMUv4 2018-01-15 11:46:02 +11:00
Andrew Tridgell
964f081bab waf: fixed comment 2018-01-15 11:46:02 +11:00
Peter Barker
550ab6ac62 waf: chibios trigraph warning fix 2018-01-15 11:46:02 +11:00
Andrew Tridgell
b48b436923 waf: implement --default-parameters option for ChibiOS 2018-01-15 11:46:02 +11:00
Andrew Tridgell
40ba4645e6 Frame_params: added SkyViper 2450GPS params for ChibiOS 2018-01-15 11:46:02 +11:00
Andrew Tridgell
38022d03b6 waf: disable gtest build on ChibiOS 2018-01-15 11:46:02 +11:00
Andrew Tridgell
4e6c26cf77 waf: simplify chibios libch.a building 2018-01-15 11:46:02 +11:00
Andrew Tridgell
ec81f905f4 autotest: added some new locations for testing 2018-01-15 11:46:02 +11:00
Andrew Tridgell
e026a408f3 waf: added AP_RAMTRON and AP_IOMCU to build 2018-01-15 11:46:02 +11:00
bugobliterator
925e3a2dcb waf: added ChibiOS support 2018-01-15 11:46:02 +11:00
Andrew Tridgell
9869b98da3 waf: added ap_version_append_int()
used for date defines
2018-01-15 11:46:02 +11:00
mirkix
d3d46a7f2c Linux_HAL_Essentials: set default pwm to 0us 2018-01-11 16:35:10 +00:00
Matt
9f1c96bb09 Tools: Solo AC 3.6 parameters
Parameters for a 3DR Solo running ArduCopter 3.6, since there are some
differences from 3.5.
2018-01-11 11:14:12 +09:00
Matt
a766551a48 Tools: Solo AC 3.5 disable log prearm check
There are still intermitant false-positive logging failure happening in
ArduCopter.  This disables the logging arming check for the time being.
This was set back to 1 a few months ago thinking the issue was fixed.
But it turns out it is not.
2018-01-11 11:13:53 +09:00
Stephen Dade
aa7389b455 Tools: Fixed Cygwin SITL package names and made install easier for new users 2018-01-09 14:40:43 +00:00
Peter Barker
c56529f39c Tools: waf: remove GCS_Console 2018-01-09 13:46:22 +00:00
Peter Barker
8a15c69aff Tools: add --fresh-params option to sim_vehicle.py
This will rebuild and use the XML file we generate from our
source code which conveys information about our parameters.

When using this option, "param help PARAMETERNAME" should reflect
changes made to the parameter metadata for PARAMETERNAME.
2018-01-08 14:49:35 +00:00