Commit Graph

237 Commits

Author SHA1 Message Date
Andrew Tridgell b2b9226863 waf: allow any custom build option to be specified in waf configure
this makes it easy to configure with any option from build_options.py
2024-09-11 16:11:22 +10:00
bugobliterator b93ba1ae68 waf: add support for generating compile_commands.json 2024-06-19 17:11:46 +10:00
Andrew Tridgell 93f1bb576b waf: added --enable-new-checking option
this allows CI to check for violations of new, calling without
NEW_NOTHROW
2024-06-04 09:20:21 +10:00
Andrew Tridgell c097cd7fb9 waf: cope with CI python oddity 2024-05-08 18:28:59 +10:00
Peter Barker 7f1a551364 waf: factor out a vehicles array
most elements duplicated for sitl, linux and ChibiOS
2024-04-17 18:10:24 +10:00
Oleksiy Protas 4e21dbcc0b waf: Detect board class by inheritance instead of naming 2024-04-06 09:45:01 +11:00
Andrew Tridgell 38b5d942fd waf: avoid trying to compile .github directory as DSDL 2024-02-11 16:48:52 +11:00
Joshua Henderson f1ca5bea49 waf : wscript add submoduleclean & submodule_force_clean 2024-01-17 07:41:44 +11:00
Andrew Tridgell d26530c892 waf: added --enable-ppp option 2024-01-03 12:14:47 +11:00
Andrew Tridgell 468c532290 waf: recurse info AP_Networking 2024-01-03 12:14:47 +11:00
Peter Barker aa9bbd0fcb waf: invert ekf2-disable command-line option 2023-11-27 09:05:08 +11:00
Andrew Tridgell aec605b020 waf: enable networking by default when supported, and disable with --disable-networking 2023-11-17 10:54:24 -08:00
Ryan Friedman c09352102e waf: Improve help text for network tests
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-11-15 21:30:27 -08:00
Andrew Tridgell c4cf3268cb waf: added --enable-networking and --enable-networking-tests 2023-11-15 12:43:41 -08:00
Andrew Tridgell 1d05196b52 waf: moved SKETCHBOOK to AP_BUILD_ROOT in ap_version.h 2023-10-25 09:50:08 +11:00
Michelle Rossouw a900921f95 wscript: Add recurse into SITL library 2023-08-12 10:49:02 +10:00
Andy Piper ec02ac9378 wscript: recurse into AP_HAL_SITL 2023-08-02 16:22:59 +01:00
Peter Barker 46b262cb32 waf: tidy interpretation of -Werror 2023-08-01 11:31:07 +10:00
Peter Barker 35d7561c50 waf: allow AP_SCRIPTING_ENABLED to come from hwdef files 2023-06-09 16:10:52 +10:00
Ryan Friedman a32f429e23 waf: Preserve default to werr off on CLI
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-06-05 09:09:13 +10:00
Ryan Friedman fd10bc35f0 waf: Fix disable werror to actually work
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-06-05 09:09:13 +10:00
Ryan Friedman ae20754ab9 waf: Enable Werror by default and add option to disable it
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-06-05 09:09:13 +10:00
Randy Mackay 49b9b0393e waf: revert run Tools/gittools/submodule-sync.sh at distclean
This reverts commit 22c1470aca
2023-05-31 18:44:35 +10:00
bugobliterator 22c1470aca waf: also run Tools/gittools/submodule-sync.sh at distclean 2023-05-26 10:50:04 -07:00
Peter Barker b051b0d24b waf: add --enable-scripting option 2023-05-16 10:31:01 +10:00
Peter Barker 537fc19bb5 AP_HAL_ChibiOS: do not build ChibiOS with debug symbols unless debug build
debug symbols subtly change the compiler output which can lead to problems with repeatable builds
2023-05-16 09:55:47 +10:00
Peter Barker fbf63ce601 waf: reduce requirement for Python back to 3.6.9
so bionic can continue to function
2023-05-09 11:09:25 +10:00
Andrew Tridgell 3371296e39 waf: use python3 even if /usr/bin/python is v2 2023-05-06 10:09:04 +10:00
Andrew Tridgell 91496a1e22 waf: require python 3.8.0 or later
for 4.5.x we no longer support py2
2023-05-05 08:54:03 +10:00
Andrew Tridgell 775f12387c waf: added -g option to configure
this adds debug symbolds to the build without enabling other debug
code. This is needed for analysing watchdog crash dumps
2023-05-02 10:38:24 +10:00
Andrew Tridgell 85d4024e64 waf: allow for 64 bit CAN builds 2023-04-10 14:46:54 +10:00
Andrew Tridgell 75ed340efa waf: rename UAVCAN to DroneCAN 2023-04-08 07:11:23 +10:00
Andrew Tridgell e9e3b943b3 waf: removed reference to uavcan 2023-04-08 07:11:23 +10:00
bugobliterator 56068e65c6 waf: add support for multithreaded register/unregister of DroneCAN handlers 2023-03-29 17:16:39 +11:00
bugobliterator 50bfa516bc waf: add support for dronecan on linux 2023-03-29 17:16:39 +11:00
bugobliterator 0e80802f69 waf: replace libuavcan with libcanard for vehicle builds 2023-03-29 17:16:39 +11:00
Andrew Tridgell 7e3b538b16 waf: added --board-start-time configure option 2023-03-24 08:31:25 +11:00
Ryan Friedman c7cac9abae waf: Add building DDS client to waf
* Had to ignore pre-commit hooks for isort and mypy since there are unrelated broken issues in the file

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
Co-authored-by: Arsh Pratap <arshpratapofficial@gmail.com>
Co-authored-by: Andrew Tridgell <andrew@tridgell.net>
2023-03-22 09:22:36 +11:00
bugobliterator 7d61a5df8e wscript: add support for setting number of auxiliary IMUs 2023-03-21 10:04:16 +11:00
Peter Barker 2dfb93be4b waf: add waf argument to get consistent builds 2023-02-17 20:48:45 +11:00
bugobliterator 3ec938fae6 waf: add dynamic source option to ap_stlib 2022-11-16 18:05:59 +11:00
bugobliterator e4ada09fc3 waf: use bld for dronecangen export headers for including 2022-11-16 18:05:59 +11:00
Andrew Tridgell 3abdc6ad25 waf: added --enable-gps-logging 2022-10-15 17:20:42 +11:00
Andrew Tridgell b55ee297d8 waf: allow setting signing key as part of configure with --private-key
makes for faster development with signed bootloaders
2022-09-05 12:35:37 +10:00
esaldiran 661a525dc1 waf: add --enable-custom-controller build option 2022-08-30 13:10:09 +10:00
bugobliterator 3f951c3e0b waf: add support for secure bootloader 2022-08-30 10:51:06 +10:00
Andrew Tridgell c955c75b9d waf: allow for --enable-opendroneid on any board
useful for testing
2022-08-15 12:45:06 +10:00
Andrew Tridgell df75c1796a waf: added --enable-check-firmware option 2022-08-15 09:18:34 +10:00
Iampete1 1132555c1b wscript: remove 'libraries/SITL' from common_dirs_excl 2022-04-26 10:26:29 +10:00
Andrew Tridgell ad88f3e1e8 waf: added --save-temps configure option
linking fails with this option, but the ii files are produced, which
is what is needed for diagnosing cache issues
2022-02-23 12:36:59 +11:00