Peter Barker
be173a9514
Tools: waf: stop adding -Wno-error=suggest-override for CAN boards
6 years ago
Peter Barker
1574464543
waf: do not -Werror=suggest-override on uavcan-enabled boards
...
uavcan doesn't have all of the required override keywords
SITL will still die without the keyword
6 years ago
Peter Barker
c339d18ee6
Tools: add -Werror=suggest-override for gcc
6 years ago
Pierre Kancir
bb13a75e30
Tools: check for feenableexcept on WAF
6 years ago
Peter Barker
cc742dbfc4
waf: make unused variables an error on C as well as C++ source files
6 years ago
Peter Barker
a3b5ed442c
waf: add -Werror=ignored-qualifiers
...
Sub recently got a patch which introduced a bunch of these warnings
6 years ago
Peter Barker
0952ca0abc
waf: remove NuttX-based IO firmware blob
6 years ago
Peter Barker
c4311b4af6
Tools: waf: add -Werror=delete-non-virtual-dtor
6 years ago
Siddharth Purohit
8de169b1ce
waf: remove redundant src includes for libuavcan drivers
6 years ago
Peter Barker
306783211b
Tools: waf: understand DISABLE_SCRIPTING from the board configuration
6 years ago
Michael du Breuil
4893b85983
Tools: bootloaders should not include scripting
6 years ago
Michael du Breuil
0e76afd22c
Tools: Support enabling scripting by default
6 years ago
Peter Barker
4f7905331a
waf: add build option to include dates in binary
6 years ago
Julien Beraud
8a4553ba0a
waf: fix lib link check
...
-llibrary_name is already part of the link flags at this point and
libname is "liblibrary_name" so it adds -lliblibrary_name instead which
is wrong
6 years ago
Peter Barker
82dd2438b9
waf: add -Werror=parentheses
...
This warns on some of our compilers in CI, but doesn't flag it as an
error ATM
6 years ago
Peter Barker
0aa074467b
waf: add -Werror=overflow
...
Can catch some trivial errors. This warns by default on gcc anyway
6 years ago
Peter Barker
f730020b31
Tools: waf: make extra arguments in format string fatal
6 years ago
Andrew Tridgell
d81bd6530c
waf: use make -j on build of ChibiOS core
...
using number of jobs from waf
6 years ago
Francisco Ferreira
8849e0d276
waf: add AP_NMEA_Output to common libraries
6 years ago
Peter Barker
85fe4ae6dd
waf: add sitl rgbled option
6 years ago
Jonathan Challinger
fea82dc360
waf: support building headers from uavcan_vendor_specific_types directory
6 years ago
Peter Barker
2f7f361968
Tools: waf: do not permit taking address of packed members under clang++
6 years ago
Peter Barker
9f9531a790
Copter: AP_Arming: correct overriding of arm_checks method
...
This makes the arbitrary decision that arming checks always report
failures to the GCS.
Fixes:
In file included from ../../ArduCopter/events.cpp:1:
In file included from ../../ArduCopter/Copter.h:91:
../../ArduCopter/AP_Arming.h:33:69: fatal error: non-virtual member function marked 'override' hides virtual member function
bool arm_checks(bool display_failure, AP_Arming::Method method) override;
^
../../libraries/AP_Arming/AP_Arming.h:64:18: note: hidden overloaded virtual function 'AP_Arming::arm_checks' declared here: different number of parameters (1 vs 2)
virtual bool arm_checks(AP_Arming::Method method);
^
1 error generated.
6 years ago
Peter Barker
1dd5c33374
Tools: waf: add various conversion warning compiler options
...
suggested by @patrickelectric
6 years ago
Peter Barker
ad6c1acbd7
waf: add -Werror=type-limits
...
This catches always-true comparisons and the like
Also remove redundant directive
6 years ago
Peter Barker
30fec9f54b
Tools: ardupilotwaf: make unused variables fatal on all boards
6 years ago
Peter Barker
e6a1789df8
Tools: ardupilotwaf: make shadowed variables fatal on all platforms
6 years ago
Peter Barker
156d580bcd
Tools: ardupilotwaf: include sfml-audio
6 years ago
Peter Barker
d762629c62
Tools: waf: link AP_InternalError everywhere
6 years ago
Peter Barker
780e0e2eba
Tools: ardupilotwaf: build SITL binaries for x86_64-linux-gnu and arm-linux-gnueabihf
6 years ago
Peter Barker
1a81da4a26
Tools: ardupilotwaf: sort boards in help text
6 years ago
Peter Barker
929e84d120
Tools: ardupilotwaf: add -Werror=attributes
6 years ago
Andrew Tridgell
9e50c1b64e
waf: fixed case insensitive board name
6 years ago
Andrew Tridgell
102141756a
waf: make board name case insensitive in waf configure
6 years ago
Peter Barker
facfa53f57
Tools: waf: add -Werror=overloaded-virtual
6 years ago
Peter Barker
39e7733872
Tools: waf: add -Werror=enum-compare
6 years ago
Andrew Tridgell
b619e1e560
Tools: remove more px4 remnants
6 years ago
Andrew Tridgell
e5efbffe5b
waf: pad bootloader to multiple of 32 bytes
...
this ensures that we can write a whole flash line when updating
bootloader from ROMFS
6 years ago
Andrew Tridgell
3c9646dfef
waf: allow hwdef.dat to override build optimization
6 years ago
Andrew Tridgell
e71514c136
waf: allow for no param default support
...
this allows apj files to be built for example fw
6 years ago
Francisco Ferreira
03ed67a996
waf: add option to override toolchain
6 years ago
Francisco Ferreira
ba2f954a20
waf: add AC_AttitudeControl library for PE target format
6 years ago
Peter Barker
6137704032
Tools: ardupilotwaf: add -Werror=inconsistent-missing-override for clang
6 years ago
Peter Barker
e23809fd59
Tools: ardupilotwaf: include AP_Parachute in all builds
6 years ago
Peter Barker
61961d037e
Tools: ardupilotwaf: all vehicles get AC_Fence
6 years ago
Andrew Tridgell
1f28994bae
waf: added --sitl-flash-storage option
6 years ago
mirkix
f9d49913d9
ardupilotwaf: enable UAVCAN for bbbmini, blue and pocket
6 years ago
Andrew Tridgell
85ca38b630
waf: fixed git hash in generated APJ file
6 years ago
Peter Barker
0bf55ce3f4
Tools: ardupilotwaf: DataFlash renamed to AP_Logger
6 years ago
Randy Mackay
b3b3385143
Tools: add ToshibaCAN to waf build
6 years ago