Commit Graph

548 Commits

Author SHA1 Message Date
Andrew Tridgell 9f2c689ec8 waf: fixed build to produce consistent binary
this ensures that optimisation levels are added regardless of whether
clean is run before or after a configure
2020-03-28 15:28:03 +11:00
Andrew Tridgell 4ca11224ba waf: embed files from ROMFS directory in SITL 2020-03-28 15:28:03 +11:00
Andrew Tridgell 1b5e5de0d1 waf: prevent warnings about OSD_ENABLED in build 2020-03-28 15:28:03 +11:00
bugobliterator 21a6a5d061 waf: disable use of libc realloc for chibios 2020-03-24 10:32:14 +11:00
bugobliterator 51fa1773b4 waf: enable heap methods for everything but bootloader 2020-03-24 10:32:14 +11:00
Andrew Tridgell de791682e9 waf: fixed build on cygwin
this fixes a link error on cygwin with the new DSP libs
2020-02-22 22:41:24 +11:00
Andy Piper 88f0c26636 Tools: add CMSIS DSP module to waf for M4 ChibiOS and control inclusion of FFT based on HAL_WITH_DSP and GYROFFT_ENABLED. target appropriate ARM cpus
sophisticated autotest for Gyro FFT
2020-02-22 11:15:37 +11:00
Michael du Breuil ea3d8046da waf: don't embed the sandbox.lua anymore 2020-02-18 10:38:09 +11:00
Randy Mackay dc537efabe Tools: add AP_ESC_Telem to build for all vehicles 2020-02-12 11:58:34 +09:00
Matt Lawrence e6f32f4572 AP_HAL_ChibiOS: Fix waf --default-parameters
If a defaults.parm file was present in the hwdef, waf ignored the --default-parameters=xyz.parm command line argument.  This will allow it to use that command line argument specified file.
2020-02-11 11:00:01 +11:00
Jaaaky fb7c5e09e5 Tools: chibios.py remove duplicate fread from wraplist 2020-01-28 08:48:29 +11:00
Andrew Tridgell 647aaf0575 waf: added AP_Stats to Sub 2020-01-16 20:36:54 +11:00
Andrew Tridgell c2ed419401 waf: build AP_Hott_Telem 2020-01-16 20:36:54 +11:00
Patrick José Pereira 994a934f88 Tools: ardupilotwaf: Add navigator board
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2020-01-16 08:01:54 +11:00
Peter Barker a21a87e884 waf: factor out a cc_version_gte 2020-01-15 13:55:42 +11:00
Peter Barker 824a085097 waf: make implicit fallthroughs fatal 2020-01-15 13:55:42 +11:00
Peter Barker 0afdee5105 waf: add -werror=unused-value to catch unused expression results 2020-01-14 11:12:14 +11:00
Andrew Tridgell 82148607ee Tools: add USBID to generated apj file 2020-01-06 09:55:26 +11:00
Andy Piper 1b17955f6b waf: hack to let RunCam header enablement macro pass 2019-12-30 13:02:04 +11:00
Andy Piper 30878553d6 Tools: add AP_Camera to list of libraries
remove dummy Camera methods from Replay
add rcmapper to replay
make replay a vehicle
2019-12-30 13:02:04 +11:00
Andrew Tridgell a06da57f3e waf: fixed aligned size of bootloader in ROMFS 2019-12-23 21:46:33 +11:00
Oliver Walters 9a7b78d49d waf: added support for Piccolo CAN ESCs 2019-12-22 09:48:40 +11:00
Andy Piper abb7041c22 Tools: only enable -Wno-format-contains-nul if not clang 2019-12-01 10:27:51 +11:00
Andrew Tridgell 4ff2d744e7 waf: build AP_EFI 2019-11-17 20:10:54 +11:00
Peter Barker a4a1536614 waf: make format errors fatal 2019-11-05 11:29:08 +11:00
Andrew Tridgell ca00ca4dac waf: build AP_SerialLED 2019-11-04 13:01:59 +11:00
Michael du Breuil 7b2fdec211 ardupilotwaf: Add -Wno-format-contains-nul
MAV_FTP benefits quite a lot from using null's in it's print strings
2019-11-02 22:52:06 +11:00
Andrew Tridgell d00f4316e9 Tools: moved AC_PID dependency to core 2019-11-02 16:31:04 +11:00
Andrew Tridgell 4e33aff5d6 waf: fixed unnecessary nul termination of ROMFS 2019-10-25 21:36:55 +11:00
Andrew Tridgell c219d357f0 waf: allow for uncompressed ROMFS
this saves memory flashing bootloader on low memory boards
2019-10-24 22:03:43 +11:00
Andrew Tridgell c5afc3ff99 Tools: use crc_crc32() in app descriptor 2019-10-21 19:12:01 +11:00
Andrew Tridgell d572d630ed waf: added generation of app descriptor 2019-10-21 19:12:01 +11:00
Michael du Breuil 6be5578621 ardupilotwaf: -Werror=delete-non-virtual-dtor is a C++ flag not a C flag 2019-10-16 18:14:42 +11:00
Andrew Tridgell c18098cdf4 waf: always build AP_ADSB
needed for singleton
2019-10-16 13:13:24 +11:00
Andy Piper 1d11fe5377 Tools: add --upload-port option to waf 2019-10-01 18:12:04 +10:00
Andrew Tridgell 1635da1dd7 Tools: removed HAVE_OCLOEXEC check 2019-09-28 14:19:46 +10:00
Peter Barker 84f6e49594 waf: cope with new format of gtest submodule 2019-09-24 14:30:13 +10:00
Peter Barker 52cb509f11 waf: add suggest-override even when building in uavcan 2019-09-24 14:30:13 +10:00
Andrew Tridgell e9f8b91134 waf: fixed --build-dates option
and remove build_time from apj when --build-dates not used to avoid
changing apj file
2019-09-23 08:32:05 +10: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