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
Andrew Tridgell
d07d5a7082
waf: removed g++ command line differences between similar boards
...
don't put board name on g++ command line
2022-02-22 12:13:19 +11:00
Peter Barker
408491ddd5
wscript: build ArduPilot against all.xml not ardupilotmega.xml
2022-02-08 11:00:41 +11:00
Andrew Tridgell
bd0a7b57e8
waf: re-add vendor specific DSDL
2021-12-06 20:17:02 +11:00
bugobliterator
abdcd11f9a
waf:libcanard moved to modules/DroneCAN
2021-11-24 18:30:47 +11:00
bugobliterator
d8b2dba223
waf: change to using dronecan instead of uavcan
2021-11-24 18:30:47 +11:00
bugobliterator
1047b7e1ba
waf: switched to DroneCAN DSDL
2021-10-23 21:13:07 +11:00
Andrew Tridgell
a50120cec3
CAN: switched to DroneCAN DSDL and libuavcan
2021-10-23 21:13:07 +11:00
Andrew Tridgell
bebb722d02
waf: improve error messages for lack of dsdlc and empy
2021-10-20 19:05:01 +11:00
Peter Barker
8f431c183a
waf: correct capture of stdout/stderr in subprocess call
2021-10-20 19:03:47 +11:00
Iampete1
66272aee61
wscript: add scripting docs option
2021-10-20 18:35:09 +11:00
bugobliterator
56e3d71b06
waf: only generate canard dsdl code at build time
2021-10-14 20:13:06 +11:00
bugobliterator
8f11c3b3a5
.github: add canard generator test in CI
2021-10-14 20:13:06 +11:00
bugobliterator
6fb0571f5c
waf: add support for subprocess.run for python2
2021-10-14 20:13:06 +11:00
bugobliterator
0b7a913b30
waf: regenerate canard dsdl sources after clean
2021-10-14 20:13:06 +11:00
bugobliterator
e26f429557
waf: setup to use new canard dsdl generator
2021-10-14 20:13:06 +11:00
Peter Barker
0961d651f9
waf: correct description of --sitl-flash-storage
2021-10-05 10:16:54 +11:00
bugobliterator
eb9b29f84b
waf: do not generate headers when cleaning
2021-10-01 15:20:18 +10:00
Josh Henderson
3da294833d
wscript: add --sitl-32bit build option
2021-09-28 09:15:11 +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