z
de93779d4c
battery volt mah edit
5 years ago
z
27ccf07d62
backup commit 0416
5 years ago
Andrew Tridgell
6b0252b44f
waf: fixed aligned size of bootloader in ROMFS
5 years ago
Andrew Tridgell
149c03b6f5
waf: build AP_SerialLED
5 years ago
Andrew Tridgell
21ca4d360e
Tools: moved AC_PID dependency to core
5 years ago
Michael du Breuil
8111d64b7f
ardupilotwaf: Add -Wno-format-contains-nul
...
MAV_FTP benefits quite a lot from using null's in it's print strings
5 years ago
Andrew Tridgell
c219d357f0
waf: allow for uncompressed ROMFS
...
this saves memory flashing bootloader on low memory boards
5 years ago
Andrew Tridgell
c5afc3ff99
Tools: use crc_crc32() in app descriptor
5 years ago
Andrew Tridgell
d572d630ed
waf: added generation of app descriptor
5 years ago
Michael du Breuil
6be5578621
ardupilotwaf: -Werror=delete-non-virtual-dtor is a C++ flag not a C flag
5 years ago
Andrew Tridgell
c18098cdf4
waf: always build AP_ADSB
...
needed for singleton
5 years ago
Andy Piper
1d11fe5377
Tools: add --upload-port option to waf
5 years ago
Andrew Tridgell
1635da1dd7
Tools: removed HAVE_OCLOEXEC check
5 years ago
Peter Barker
84f6e49594
waf: cope with new format of gtest submodule
5 years ago
Peter Barker
52cb509f11
waf: add suggest-override even when building in uavcan
5 years ago
Andrew Tridgell
e9f8b91134
waf: fixed --build-dates option
...
and remove build_time from apj when --build-dates not used to avoid
changing apj file
5 years ago
Peter Barker
45a76fe7fc
waf: add -Werror=format-extra-args to cxx flags
5 years ago
Andrew Tridgell
c90b937972
waf: wrap more libc functions
5 years ago
Andrew Tridgell
c2b06a3293
waf: wrap vsnprintf
5 years ago
Peter Barker
2273ffb267
waf: build in libraries/AP_NavEKF
6 years ago
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.
6 years ago
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
6 years ago
Andrew Tridgell
abe53e1c9e
waf: build AP_Filesystem
6 years ago
Andrew Tridgell
29fe4241a8
waf: use C11 for C files
...
needed for AP_Periph
6 years ago
Peter Barker
813694894d
Tools: waf: add warning if bootloader not found
6 years ago
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