Andrew Tridgell
c8b8aa1f4f
Tools: define obal board
3 years ago
Andrew Tridgell
87e5d47ed7
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
4 years ago
Andrew Tridgell
df9950fbb3
Tools: allow for double EKF build
4 years ago
Andrew Tridgell
5bccdf5e5a
waf: added --ekf-double configure option
4 years ago
Andrew Tridgell
895ab6c089
waf: added --postype-single option
...
for SITL with single precision postype_t
4 years ago
Peter Barker
31c345fc4b
Tools: add support for AP_Logger into AP_Periph
4 years ago
Pierre Kancir
d1cc8d2bf3
Waf: add coverage flags
4 years ago
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
4 years ago
Peter Barker
98753ec6dc
Tools: move from HAL_NO_LOGGING to HAL_LOGGING_ENABLED
4 years ago
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.
4 years ago
Andy Piper
5eca0c61c4
waf: add support for --enable-stats
4 years ago
Andrew Tridgell
5304dfe213
waf: set NDEBUG define to avoid assert issues
...
this avoids future assert() calls from affecting STM32 HAL_ChibiOS
builds
4 years ago
Pierre Kancir
805493c854
ardupilotwaf: use dynamic generation for ap_periph board name
4 years ago
bugobliterator
9e15b5785b
ardupilotwaf: fix spec args as distcc doesn't like it
4 years ago
Andrew Tridgell
bd9dd7ff4c
Tools: added vnav linux target
4 years ago
Andrew Tridgell
eaf7e7354a
Tools: added locations.txt to ROMFS for SITL
4 years ago
Andrew Tridgell
ce95b7e81a
waf: added --enable-memory-guard option
4 years ago
Michael du Breuil
960437d446
Tools: Add the SFML configuration flags as needed for joysticks
4 years ago
Andrew Tridgell
0c1d665818
waf: support no-gcs and DAL builds
4 years ago
bugobliterator
48b59973b5
waf: add sitl_gps support to simulate AP_Periph GPS
4 years ago
Andrew Tridgell
39f25fc0f4
Tools: added models to ROMFS in SITL
4 years ago
bugobliterator
e49891d605
Tools: waf: remove extraneous frame-larger-than warning
5 years ago
Andrew Tridgell
7726848a50
waf: lock in zero errors for gcc9
5 years ago
Andrew Tridgell
3da00b482e
waf: enable -Werror for whitelisted compilers on ChibiOS builds
5 years ago
Peter Barker
0bb44ba933
waf: print compiler version as part of configure
5 years ago
Peter Barker
5c22e9e105
Revert "Tools: make non DEBUG SITL use -march=native"
...
This reverts commit 85b599b2d7
.
This breaks the cygwin binaries that MissionPlanner uses for simulation
5 years ago
Pierre Kancir
85b599b2d7
Tools: make non DEBUG SITL use -march=native
5 years ago
Andrew Tridgell
844d2bf7ff
waf: enable MSP when we enable OSD
5 years ago
Andrew Tridgell
6f04b4a5ec
waf: added --osd-fonts configure option
...
allows for --osd without fonts
5 years ago
Andrew Tridgell
7c579c4814
waf: added --osd configure option
...
to allow boards with no builtin OSD to use MSP OSD
5 years ago
Siddharth Purohit
4e17f8a23e
waf: add CANManager library and use uavcan agnostic names CAN vars
5 years ago
Peter Barker
904981a0c3
waf: build with -Werror=undef
5 years ago
Andrew Tridgell
5fdc400aab
waf: added -Werror=cast-align
5 years ago
Pierre Kancir
77b461fee4
Tools: add --debug-ekf to debug the EKF
5 years ago
Andrew Tridgell
f352b6d107
waf: added -Werror configure option
...
for building with error on any warning
5 years ago
Andy Piper
6245197204
waf: add support for the macOS clang address sanitizer
5 years ago
Andrew Tridgell
823d666bc2
waf: added --disable-ekf2 and --disable-ekf3 build options
...
allows for testing disables in SITL
5 years ago
Andrew Tridgell
9f2c689ec8
waf: fixed build to produce consistent binary
...
this ensures that optimisation levels are added regardless of whether
clean is run before or after a configure
5 years ago
Andrew Tridgell
4ca11224ba
waf: embed files from ROMFS directory in SITL
5 years ago
Andrew Tridgell
1b5e5de0d1
waf: prevent warnings about OSD_ENABLED in build
5 years ago
bugobliterator
21a6a5d061
waf: disable use of libc realloc for chibios
5 years ago
bugobliterator
51fa1773b4
waf: enable heap methods for everything but bootloader
5 years ago
Andrew Tridgell
de791682e9
waf: fixed build on cygwin
...
this fixes a link error on cygwin with the new DSP libs
5 years ago
Andy Piper
88f0c26636
Tools: add CMSIS DSP module to waf for M4 ChibiOS and control inclusion of FFT based on HAL_WITH_DSP and GYROFFT_ENABLED. target appropriate ARM cpus
...
sophisticated autotest for Gyro FFT
5 years ago
Michael du Breuil
ea3d8046da
waf: don't embed the sandbox.lua anymore
5 years ago
Patrick José Pereira
994a934f88
Tools: ardupilotwaf: Add navigator board
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
5 years ago
Peter Barker
a21a87e884
waf: factor out a cc_version_gte
5 years ago
Peter Barker
824a085097
waf: make implicit fallthroughs fatal
5 years ago
Peter Barker
0afdee5105
waf: add -werror=unused-value to catch unused expression results
5 years ago
Andy Piper
abb7041c22
Tools: only enable -Wno-format-contains-nul if not clang
5 years ago