Lucas De Marchi
997d9f58de
build: invert default for header checks
...
In the end the build time is always almost the same, but it's a pain to
change one header and have it check the world. CI continues to use the
check so we can get any mistake before merging.
2018-05-04 11:47:04 -07:00
Lucas De Marchi
73edda697d
build: align help options
...
While it's aesthetically nice to start the help message in a new line
looking at the code, the first \n screws the output leaving them not
aligned.
2018-05-04 11:47:04 -07:00
Lucas De Marchi
9342bc5050
build: invert default for lttng
...
Since it's a debug option, particularly for the scheduler, leave it
disabled by default and let the user enable on demand.
2018-05-04 11:47:04 -07:00
Lucas De Marchi
4697089a82
build: move Linux configuration options to its own sections
2018-05-04 11:47:04 -07:00
Peter Barker
4e53d9e1a8
Tools: correct flashing under Linux
2018-05-04 18:37:14 +10:00
stephen.dade
76cc014245
waf: Allow spaces in paths when compiling for ChibiOS targets
2018-05-04 12:47:06 +10:00
Andrew Tridgell
835484429d
waf: don't build ChibiOS with debug by default
...
this makes builds (and rebuilds with ccache) faster
2018-05-04 12:17:12 +10:00
Andrew Tridgell
5fb8fe927c
waf: added AP_ROMFS to build
2018-04-17 08:44:44 +10:00
Andrew Tridgell
02f20b4114
HAL_ChibiOS: first version of OMNIBUSF7V2 board support
...
first F7 based board
2018-04-12 11:50:44 +10:00
Andrew Tridgell
827108617a
waf: only generate an abin file when needed
...
this saves on user confusion
2018-04-11 15:09:49 +10:00
Andrew Tridgell
8eaac031af
waf: added AP_BLHeli
2018-04-07 09:10:29 +10:00
Andrew Tridgell
c50359a5b5
waf: throw an error if hwdef.dat can't be processed
2018-04-07 09:10:29 +10:00
Andrew Tridgell
98ab1c13db
Tools: fixed call to apj_tool in skyviper build
2018-03-24 16:11:50 +11:00
Peter Barker
6dfdb19711
Tools: include VisualOdom in common vehicle libraries
2018-03-23 09:28:07 +09:00
Peter Barker
44a063e818
Tools: ardupilotwaf: chibios: change directory before running make_abin.sh
...
Any waf build which is done outside of the git checkout will fail to create the abin without this, as it attempts to invoke git.
An example of this is the autotest system
2018-03-23 11:06:24 +11:00
Peter Barker
edd0f74ec0
Tools: ardupilotwaf: chibios: hand apj tool an absolute path to parameters
...
Any waf build specifying an --out which is not at the same level as the default "build" will fail without this
2018-03-23 11:06:24 +11:00
Peter Barker
b26d140316
Tools: ardupilotwaf: remove redundant --no-trigraph
2018-03-05 13:28:03 +00:00
Andrew Tridgell
ba55f99419
waf: fixed python3 pickle error
2018-03-05 09:50:27 +11:00
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
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
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
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
Alexey Bulatov
7302618bbc
waf: add support UAVCAN for Edge board
2018-02-13 13:52:44 +11:00
Andrew Tridgell
2cbf04a3d0
waf: use new bootloader path
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
258ae49952
waf: support PX4 boards with no microSD or USB
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
2db74a642b
waf: added skyviper-f412-rev1 board
...
older board with SPI 20789
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
779de02acb
waf: disable double-promotion warnings on ChibiOS
...
these are not useful
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
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