Commit Graph

169 Commits

Author SHA1 Message Date
Andrew Tridgell 66bad7b885 waf: added --assert-cc-version configure option
this will allow build_binaries.py to confirm it is using the right
compiler for each build
2021-07-27 19:50:21 +10:00
Siddharth Purohit 67ed54bfca waf: add option to disable Watchdog 2021-07-14 15:18:42 +10:00
Andrew Tridgell 5f45098044 waf: added --ekf-double configure option 2021-07-10 07:20:41 +10:00
bugobliterator f6715cdaa0 waf: generate SOAP wsdl into cpp code 2021-07-07 18:57:25 +10:00
Siddharth Purohit f115b246df wscript: move to using tool instead of tools program group 2021-07-07 17:31:09 +10:00
Andrew Tridgell cc5d368a98 waf: use abspath for EXTRA_HWDEF
this allows auto-reconfigure
2021-07-01 09:33:16 +10:00
willpiper 15cd9d502d waf: added --extra-hwdef option 2021-07-01 09:33:16 +10:00
Andrew Tridgell 895ab6c089 waf: added --postype-single option
for SITL with single precision postype_t
2021-06-24 21:34:30 +10:00
Pierre Kancir d1cc8d2bf3 Waf: add coverage flags 2021-06-02 14:42:59 +10:00
Pierre Kancir 86f39d354f Waf: Display debug config into config summary 2021-05-26 18:46:03 +10:00
Andy Piper 0726870e6f waf: add support for thread statistics 2021-04-21 17:14:11 +10:00
Andrew Tridgell 9683647fd1 waf: added blimp target 2021-03-31 12:27:07 +11:00
Pierre Kancir 4e487f2598 wscript: add list_ap_periph_boards function 2021-01-22 05:42:12 +11:00
Siddharth Purohit 3ae76fa64b wscript: add generate tasklist for use by vscode extension 2021-01-22 05:42:12 +11:00
Andrew Tridgell ce95b7e81a waf: added --enable-memory-guard option 2020-11-18 17:14:43 +11:00
Andrew Tridgell e122d8ae8e Replay: allow build with "./waf replay"
a bit easier to remember
2020-11-16 10:28:43 +11:00
Michael du Breuil 350fe3ed8d wscript: Add configure option for SFML joystick 2020-11-13 15:38:22 +11:00
Andrew Tridgell 603146c5ca waf: added --no-gcs build option
Co-authored-by: Peter Barker <pbarker@barker.dropbear.id.au>
2020-11-10 16:15:45 +11:00
Andrew Tridgell 689902cb69 waf: moved include of ap_config.h into configure step 2020-09-03 09:56:29 +10:00
Andrew Tridgell 24425b4155 waf: allow setup of double precision for some cpp files 2020-09-03 09:56:29 +10:00
Andrew Tridgell 6f04b4a5ec waf: added --osd-fonts configure option
allows for --osd without fonts
2020-09-02 05:56:46 +10:00
Andrew Tridgell 7c579c4814 waf: added --osd configure option
to allow boards with no builtin OSD to use MSP OSD
2020-09-02 05:56:46 +10:00
Siddharth Purohit 4e17f8a23e waf: add CANManager library and use uavcan agnostic names CAN vars 2020-08-19 17:31:09 +10:00
Andrew Tridgell 4311385cb9 waf: recurse into AP_Scripting for build 2020-05-12 19:55:21 +10:00
Andrew Tridgell f352b6d107 waf: added -Werror configure option
for building with error on any warning
2020-04-28 10:32:23 +10:00
Andrew Tridgell 823d666bc2 waf: added --disable-ekf2 and --disable-ekf3 build options
allows for testing disables in SITL
2020-04-14 09:15:43 +10:00
Peter Barker 62331cf8a0 waf: remove vestiges of waf-run coverage 2019-09-27 07:20:21 +10:00
Andrew Tridgell 93e27cfcab waf: support AP_Periph build 2019-08-27 10:29:56 +10:00
Peter Barker 36387b5a21 waf: move coverage out into separate shell script 2019-08-12 12:29:51 +10:00
Peter Barker 0952ca0abc waf: remove NuttX-based IO firmware blob 2019-07-16 10:29:05 +10:00
Buzz a79afefa39 waf: coverage: run the 'examples', 'unit_test' and heli tests
run the code coverage as normal:
./waf configure --enable-gcov
./waf build --lcov-report
2019-07-02 11:54:47 +10:00
Michael du Breuil 4a4a91c662 wscript: Swap enable-sciprint to be disable 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
Peter Barker 85fe4ae6dd waf: add sitl rgbled option 2019-05-21 09:21:56 +10:00
Siddharth Purohit c137ca5a42 waf: add support for extra messages from AP_UAVCAN 2019-05-15 16:01:53 +09:00
Jonathan Challinger fea82dc360 waf: support building headers from uavcan_vendor_specific_types directory 2019-05-15 16:01:53 +09:00
Peter Barker a23a60d1ea wscript: add option to enable sfml audio 2019-03-23 07:10:50 +11:00
Andrew Tridgell 9e50c1b64e waf: fixed case insensitive board name 2019-03-07 08:36:01 +11:00
Andrew Tridgell 102141756a waf: make board name case insensitive in waf configure 2019-03-05 08:43:14 +11:00
Peter Barker 88e3f6f78c wscript: add slowdown and timeout to coverage autotest commandline
The optimisation / compiler flags required slow things down somewhat
2019-03-04 23:46:40 +11:00
Buzz 31697a3b0c Tools: add support for GCOV code coverage tool and HTML reporting with LCOV.
first, "apt install gcovr lcov" as new prerequisites
then run:
./waf configure --enable-gcov
./waf build --lcov-report
and after much waiting review the report in HTML format with your preferred browser eg:
firefox reports/lcov-report/index.html
2019-03-04 23:46:40 +11:00
Francisco Ferreira 03ed67a996 waf: add option to override toolchain 2019-02-22 08:27:08 +11:00
Andrew Tridgell 1f28994bae waf: added --sitl-flash-storage option 2019-01-21 20:59:00 +11:00
Andrew Tridgell 646c6f4361 waf: point developers at the new build 2018-12-22 11:06:59 +11:00
Michael du Breuil dcfc90b911 wscript: Add a runtime scripting check flag 2018-11-14 01:41:35 +00:00
Francisco Ferreira ff77000d93 waf: support changing board to build without re-configure
This allows to use the board option when building as long as it has been configured before

As we don't want to force configuration of all boards each single time, auto-configuration support now has to be done per-board
2018-11-13 10:30:34 +11:00
Francisco Ferreira 389a9ee88b waf: add option to disable gccdeps 2018-11-13 10:30:34 +11:00
Francisco Ferreira 10ff67d71e waf: fix method name
Add underscore prefix so that method isn't identified as a waf command
2018-11-13 10:30:34 +11:00
Andrew Tridgell b3b5415081 waf: added --use-nuttx-iofw configure option
this allows building with the old NuttX based IO firmware. The default
is the ChibiOS based firmware
2018-10-30 13:00:48 +11:00
Peter Barker fb3b976aa2 wscript: add enable-math-check-indexes configure option 2018-10-19 08:46:43 +11:00