Commit Graph

639 Commits

Author SHA1 Message Date
Peter Barker b2a7841672 Tools: allow for selection of Storage backend type at runtime 2021-10-05 10:16:54 +11:00
Pierre Kancir 040a5dffb9 Tools: fix missing warning on Clang 2021-09-30 08:22:40 +10:00
Gone4Dirt 7fab70b8f1 Waf: Modify build directory define if heli build command is given 2021-09-29 19:55:48 +10:00
Josh Henderson 27bb200644 Tools: add sitl_32bit board type for sim_vehicle & autotests 2021-09-28 09:15:11 +10:00
Peter Barker 76e2db952b Tools: move from HAL_NO_GCS to HAL_GCS_ENABLED 2021-09-22 21:37:00 +10:00
Pierre Kancir 41788d7b2e Tools: add more compilation warning flags 2021-09-22 18:06:48 +10:00
bugobliterator b8749b776a waf: configure compileCommands json based on the configured board 2021-09-22 17:35:31 +10:00
Mohammad Hefny 705acb26c6 Tools: define obal board 2021-09-10 08:17:37 +10:00
bugobliterator 948a0012c5 waf: fix build issue on cygwin after changes for external flash 2021-09-06 18:04:48 +10:00
bugobliterator 5940cfac8a waf: move SRCROOT env variable setting to common Board class 2021-09-01 17:10:53 +10:00
Siddharth Purohit f15f5e9334 waf: create separate image sections for internal and external flash 2021-09-01 17:10:53 +10:00
Peter Barker 784d1ddf7c waf: check for AP_PERIPH define in hwdef includes 2021-08-25 10:09:23 +10:00
Pierre Kancir 28706f5e23 Tools: link AP_FETtecOneWire 2021-08-13 16:22:37 +10:00
Andrew Tridgell fadadfb50e waf: avoid problem with custom build server
this happens on custom build server when building into a new directory
2021-08-10 21:34:36 +10:00
Andrew Tridgell 54d92551d1 waf: add files from ROMFS_custom to ROMFS
this allows for lua scripts in the root of the source tree as ROMFS_custom/scripts/*.lua

it also allows for any other custom data files that may be
needed. This is cleaner for custom scripts than having the files in
AP_HAL_ChibiOS/hwdef/BOARD/scripts, and allows for the same scripts
working in SITL, Linux and ChibiOS
2021-08-03 10:57:38 +10:00
Iampete1 d2a14f4283 Tools/ardupilotwaf: make skipped summary warning red 2021-07-28 18:25:27 +10:00
Andrew Tridgell 791b043586 waf: added 10.2.1 gcc to whitelist of compilers for -Werror 2021-07-27 19:50:21 +10:00
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 7a2c460496 waf: remove cast-align disable flags from CXXFLAGS 2021-07-15 07:50:12 +10:00
Peter Barker d2be5231cb ardupilotwaf: probe external baros in SITL 2021-07-14 17:46:15 +10:00
Siddharth Purohit 67ed54bfca waf: add option to disable Watchdog 2021-07-14 15:18:42 +10:00
Andrew Tridgell 4f7630e29c Tools: allow for double EKF build 2021-07-10 07:20:41 +10:00
Andrew Tridgell 5f45098044 waf: added --ekf-double configure option 2021-07-10 07:20:41 +10:00
bugobliterator a5d3dade67 waf: allow overriding uploader script with custom uploader script 2021-07-09 18:19:04 +10:00
Siddharth Purohit 51a6d3c16a waf: only apply gsoap specific flags to gsoap sources 2021-07-07 18:57:25 +10:00
bugobliterator f6715cdaa0 waf: generate SOAP wsdl into cpp code 2021-07-07 18:57:25 +10:00
Siddharth Purohit 5d435c762e waf: notify users that we have moved to using tool instead of tools 2021-07-07 17:31:09 +10:00
Andrew Tridgell d6088539b7 waf: use new syntax for chibios_hwdef.py 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
Peter Barker 31c345fc4b Tools: add support for AP_Logger into AP_Periph 2021-06-08 09:57:55 +10:00
Pierre Kancir d1cc8d2bf3 Waf: add coverage flags 2021-06-02 14:42:59 +10:00
Peter Barker 0d05bb9732 Revert "waf: list boards 1/line in case of board-not-found error"
This reverts commit 8ab74d9462.

This broke the build server which parses the output of this
2021-05-21 10:59:56 +10:00
Peter Barker 98753ec6dc Tools: move from HAL_NO_LOGGING to HAL_LOGGING_ENABLED 2021-05-19 17:38:47 +10:00
Peter Barker 8ab74d9462 waf: list boards 1/line in case of board-not-found error
This line is now way too long, and splitting it this way will allow the
output to be grepped for likely-looking board names.
2021-05-18 10:47:37 +10:00
Andrew Tridgell a04e8746a4 waf: removed debug code
this was in to test cygwin ar behaviour on linux. It should not have
been committed.

Thanks to Andy for letting me know it broke MacOS
2021-04-23 05:50:23 +10:00
Andy Piper 5eca0c61c4 waf: add support for --enable-stats 2021-04-21 17:14:11 +10:00
Andrew Tridgell 878bd3f0fe waf: use /usr/bin/ar not arm-none-eabi-ar on cygwin
needed to allow for @FILE syntax for long arg lists
2021-04-20 18:43:20 +10:00
Andrew Tridgell 5304dfe213 waf: set NDEBUG define to avoid assert issues
this avoids future assert() calls from affecting STM32 HAL_ChibiOS
builds
2021-03-30 11:05:13 +11:00
Andrew Tridgell b137f9e319 waf: fixed embed error on python2 2021-02-26 10:59:09 +11:00
bugobliterator 6d25b02508 waf: need to crc the padded bootloaders before embedding 2021-02-26 10:59:09 +11:00
Andrew Tridgell b012c472e1 waf: added crc to embedded data 2021-02-23 20:20:07 +11:00
Andy Piper 7aa1e2d63b waf: add AP_VideoTX module 2021-02-17 18:23:33 +11:00
Andrew Tridgell ee8e9e3289 waf: fixed handling of vehicle dependency check for abs paths
this fixes the use of vehicle dependent cpp files on the build server
2021-02-15 07:23:33 +11:00
Andrew Tridgell 3c825bdffc waf: make AP_NavEKF3_core.h a vehicle dependent include 2021-01-24 11:56:52 +11:00
Pierre Kancir 805493c854 ardupilotwaf: use dynamic generation for ap_periph board name 2021-01-22 05:42:12 +11:00
bugobliterator 9e15b5785b ardupilotwaf: fix spec args as distcc doesn't like it 2021-01-20 19:21:14 +11:00
Andrew Tridgell bd9dd7ff4c Tools: added vnav linux target 2021-01-20 10:06:45 +11:00
Iampete1 5e00f5ae48 Tools: ardupilotwaf: ap_library: add genrated bindings to whitle list and add support for ends with whitle listing 2021-01-19 11:18:10 +11:00
Iampete1 8d7299d052 Tools: ardupilotwaf: ap_library.py: allow vehicle in build/ 2021-01-19 11:18:10 +11:00