Andrew Tridgell
e7ad32288f
Tools: add USBID to generated apj file
2020-02-23 07:43:04 +11:00
Andrew Tridgell
31bbc8d191
waf: build AP_SerialLED
2020-02-05 10:51:29 +11:00
Andrew Tridgell
c549be5887
Tools: moved AC_PID dependency to core
2020-02-05 10:51:29 +11:00
Michael du Breuil
b83625b9ac
ardupilotwaf: Add -Wno-format-contains-nul
...
MAV_FTP benefits quite a lot from using null's in it's print strings
2020-02-05 10:51:29 +11:00
Andrew Tridgell
86db7c3b02
waf: allow for uncompressed ROMFS
...
this saves memory flashing bootloader on low memory boards
2020-02-05 10:43:37 +11:00
Andrew Tridgell
37e136f230
Tools: use crc_crc32() in app descriptor
2020-02-05 10:43:36 +11:00
Andrew Tridgell
eab65f0e9f
waf: added generation of app descriptor
2020-02-05 10:43:36 +11:00
Michael du Breuil
4bc1a94042
ardupilotwaf: -Werror=delete-non-virtual-dtor is a C++ flag not a C flag
2020-02-05 10:16:10 +11:00
Andrew Tridgell
b37cc178ee
waf: always build AP_ADSB
...
needed for singleton
2020-02-05 10:15:17 +11:00
Andy Piper
8afa87b32d
Tools: add --upload-port option to waf
2020-02-05 10:10:37 +11:00
Andrew Tridgell
b142255a4c
Tools: removed HAVE_OCLOEXEC check
2020-02-05 10:10:20 +11:00
Peter Barker
f3ddc9d17b
waf: cope with new format of gtest submodule
2020-02-05 10:09:20 +11:00
Peter Barker
8106424611
waf: add suggest-override even when building in uavcan
2020-02-05 10:09:20 +11:00
Andrew Tridgell
3538bd62c3
waf: fixed --build-dates option
...
and remove build_time from apj when --build-dates not used to avoid
changing apj file
2020-02-05 10:05:59 +11:00
Andrew Tridgell
635d836957
waf: fixed aligned size of bootloader in ROMFS
2019-12-23 17:36:31 +11:00
Peter Barker
45a76fe7fc
waf: add -Werror=format-extra-args to cxx flags
2019-09-10 10:04:48 +10:00
Andrew Tridgell
c90b937972
waf: wrap more libc functions
2019-09-09 13:31:30 +10:00
Andrew Tridgell
c2b06a3293
waf: wrap vsnprintf
2019-09-09 13:31:30 +10:00
Peter Barker
2273ffb267
waf: build in libraries/AP_NavEKF
2019-09-03 09:28:37 +10:00
Peter Barker
291e2e3af6
waf: squash expansion-to-defined warnings
...
We use these a lot in our code and we're not particularly fussed with
portability.
2019-08-27 18:41:03 +10:00
Andrew Tridgell
da15fb988c
waf: add a lot more wrapped functions
...
this allows us to catch accidential inclusion of libc functions that
we don't want
2019-08-27 15:40:43 +10:00
Andrew Tridgell
abe53e1c9e
waf: build AP_Filesystem
2019-08-27 15:40:43 +10:00
Andrew Tridgell
29fe4241a8
waf: use C11 for C files
...
needed for AP_Periph
2019-08-27 10:29:56 +10:00
Peter Barker
813694894d
Tools: waf: add warning if bootloader not found
2019-08-26 11:08:11 +10:00
Peter Barker
be173a9514
Tools: waf: stop adding -Wno-error=suggest-override for CAN boards
2019-08-14 16:33:29 +10:00
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
2019-08-13 23:19:45 +10:00
Peter Barker
c339d18ee6
Tools: add -Werror=suggest-override for gcc
2019-08-13 09:46:20 +10:00
Pierre Kancir
bb13a75e30
Tools: check for feenableexcept on WAF
2019-08-06 09:37:30 +10:00
Peter Barker
cc742dbfc4
waf: make unused variables an error on C as well as C++ source files
2019-08-05 18:31:58 +10:00
Peter Barker
a3b5ed442c
waf: add -Werror=ignored-qualifiers
...
Sub recently got a patch which introduced a bunch of these warnings
2019-08-02 08:23:57 +10:00
Peter Barker
0952ca0abc
waf: remove NuttX-based IO firmware blob
2019-07-16 10:29:05 +10:00
Peter Barker
c4311b4af6
Tools: waf: add -Werror=delete-non-virtual-dtor
2019-07-16 10:28:30 +10:00
Siddharth Purohit
8de169b1ce
waf: remove redundant src includes for libuavcan drivers
2019-07-08 12:18:29 +10:00
Peter Barker
306783211b
Tools: waf: understand DISABLE_SCRIPTING from the board configuration
2019-07-08 09:55:46 +10:00
Michael du Breuil
4893b85983
Tools: bootloaders should not include scripting
2019-06-19 11:26:44 +10:00
Michael du Breuil
0e76afd22c
Tools: Support enabling scripting by default
2019-06-18 00:06:32 -07:00
Peter Barker
4f7905331a
waf: add build option to include dates in binary
2019-06-18 10:54:01 +10:00
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
2019-06-14 18:52:57 -07:00
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
2019-06-11 21:50:53 +10:00
Peter Barker
0aa074467b
waf: add -Werror=overflow
...
Can catch some trivial errors. This warns by default on gcc anyway
2019-06-11 09:12:49 +10:00
Peter Barker
f730020b31
Tools: waf: make extra arguments in format string fatal
2019-06-07 22:03:41 +10:00
Andrew Tridgell
d81bd6530c
waf: use make -j on build of ChibiOS core
...
using number of jobs from waf
2019-06-06 08:29:06 +10:00
Francisco Ferreira
8849e0d276
waf: add AP_NMEA_Output to common libraries
2019-05-21 09:41:15 +10:00
Peter Barker
85fe4ae6dd
waf: add sitl rgbled option
2019-05-21 09:21:56 +10:00
Jonathan Challinger
fea82dc360
waf: support building headers from uavcan_vendor_specific_types directory
2019-05-15 16:01:53 +09:00
Peter Barker
2f7f361968
Tools: waf: do not permit taking address of packed members under clang++
2019-05-01 19:36:49 -07:00
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.
2019-04-30 09:29:59 +10:00
Peter Barker
1dd5c33374
Tools: waf: add various conversion warning compiler options
...
suggested by @patrickelectric
2019-04-30 09:29:59 +10:00
Peter Barker
ad6c1acbd7
waf: add -Werror=type-limits
...
This catches always-true comparisons and the like
Also remove redundant directive
2019-04-14 12:18:03 +09:00
Peter Barker
30fec9f54b
Tools: ardupilotwaf: make unused variables fatal on all boards
2019-04-02 10:24:49 +11:00