Peter Barker
62331cf8a0
waf: remove vestiges of waf-run coverage
5 years ago
Andrew Tridgell
93e27cfcab
waf: support AP_Periph build
6 years ago
Peter Barker
36387b5a21
waf: move coverage out into separate shell script
6 years ago
Peter Barker
0952ca0abc
waf: remove NuttX-based IO firmware blob
6 years ago
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
6 years ago
Michael du Breuil
4a4a91c662
wscript: Swap enable-sciprint to be disable
6 years ago
Peter Barker
4f7905331a
waf: add build option to include dates in binary
6 years ago
Peter Barker
85fe4ae6dd
waf: add sitl rgbled option
6 years ago
Siddharth Purohit
c137ca5a42
waf: add support for extra messages from AP_UAVCAN
6 years ago
Jonathan Challinger
fea82dc360
waf: support building headers from uavcan_vendor_specific_types directory
6 years ago
Peter Barker
a23a60d1ea
wscript: add option to enable sfml audio
6 years ago
Andrew Tridgell
9e50c1b64e
waf: fixed case insensitive board name
6 years ago
Andrew Tridgell
102141756a
waf: make board name case insensitive in waf configure
6 years ago
Peter Barker
88e3f6f78c
wscript: add slowdown and timeout to coverage autotest commandline
...
The optimisation / compiler flags required slow things down somewhat
6 years ago
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
6 years ago
Francisco Ferreira
03ed67a996
waf: add option to override toolchain
6 years ago
Andrew Tridgell
1f28994bae
waf: added --sitl-flash-storage option
6 years ago
Andrew Tridgell
646c6f4361
waf: point developers at the new build
6 years ago
Michael du Breuil
dcfc90b911
wscript: Add a runtime scripting check flag
6 years ago
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
6 years ago
Francisco Ferreira
389a9ee88b
waf: add option to disable gccdeps
6 years ago
Francisco Ferreira
10ff67d71e
waf: fix method name
...
Add underscore prefix so that method isn't identified as a waf command
6 years ago
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
6 years ago
Peter Barker
fb3b976aa2
wscript: add enable-math-check-indexes configure option
6 years ago
Michael du Breuil
82dad7b732
wscript: Add enable-scripting option
6 years ago
Siddharth Purohit
19d9982ac1
waf: only add support for iofirmware build if the board supports it
6 years ago
Andrew Tridgell
17112c8988
waf: allow build with "./waf iofirmware"
6 years ago
Siddharth Purohit
746ed2be79
wscript: add support for iofirmware as target
6 years ago
Andrew Tridgell
36af9eecdf
waf: fixes for python 3.7
7 years ago
Andrew Tridgell
c5f3beb297
waf: added --enable-asserts option for ChibiOS
7 years ago
Andrew Tridgell
b527dce08d
autotest: use --enable-sfml for graphics
7 years ago
Andrew Tridgell
355269115e
waf: support --enable-osd option
7 years ago
Andrew Tridgell
88ec03ce5a
waf: don't build mavlink for bootloader
7 years ago
Andrew Tridgell
b3bbb0c389
waf: removed bootloader variant directory
...
too painful to maintain
7 years ago
Andrew Tridgell
a0e17ab1ed
waf: avoid formatting issue in emacs
...
python mode doesn't understand the embedded apostrophe
7 years ago
Andrew Tridgell
4c2c2012a6
waf: allow for "./waf bootloader"
...
easier build of the bootloader
7 years ago
Andrew Tridgell
0ae25787c0
waf: added a --bootloader configure option
...
this selects hwdef-bl.dat instead of hwdef.dat, allowing for
bootloader config to be kept in the same directory as the main
hwdef.dat
7 years ago
Lucas De Marchi
2916a3f40c
build: add --apstatedir for Linux boards
...
This is the --localstatedir that is found on other
buildsystems/programs + the package directory. We could provide a
--localstatedir instead to be similar to the others, but I thought it
would be too confusing for the help message.
7 years ago
Lucas De Marchi
98c741803f
build: change default installation prefix to /usr
7 years ago
Lucas De Marchi
997d9f58de
build: invert default for header checks
...
In the end the build time is always almost the same, but it's a pain to
change one header and have it check the world. CI continues to use the
check so we can get any mistake before merging.
7 years ago
Lucas De Marchi
7c068ee8ef
build: add command to output currently configured board
...
./waf board now shows what's the currently configured board. Same as
grep "'board':" build/.lock-waf*
but in a more pleasant way.
7 years ago
Lucas De Marchi
3ecc138c86
build: move more Linux-only options inside group
...
prefix, destdir, libdir, bindir only make sense for Linux targets.
7 years ago
Lucas De Marchi
73edda697d
build: align help options
...
While it's aesthetically nice to start the help message in a new line
looking at the code, the first \n screws the output leaving them not
aligned.
7 years ago
Lucas De Marchi
9342bc5050
build: invert default for lttng
...
Since it's a debug option, particularly for the scheduler, leave it
disabled by default and let the user enable on demand.
7 years ago
Lucas De Marchi
4697089a82
build: move Linux configuration options to its own sections
7 years ago
Andrew Tridgell
9aa0ddfa54
waf: don't make --debug create a build varient
...
this behaviour is really quite annoying for developers
7 years ago
Andrew Tridgell
9c040105d6
waf: split copter and heli builds
...
this makes things less confusing for users
7 years ago
Andrew Tridgell
2476a51908
waf: allow for pre_build hook in board modules
7 years ago
Andrew Tridgell
48422e1038
waf: added --default-parameters option
7 years ago
Andrew Tridgell
1901cb6c7f
waf: added --disable-header-checks
...
the headers checks are most of the re-build time when editing class
headers. Disabling them makes development much faster
8 years ago