bugobliterator
eee7e6cadf
waf: add defines for use in CrashCatcher Flash dump
2021-10-30 19:24:57 +11:00
bugobliterator
c5dd02fb2b
waf: compile in crash catcher library
2021-10-30 19:24:57 +11:00
Andy Piper
7daa276769
waf: stricter lua bindings build processing
2021-10-28 07:19:16 +11:00
Andy Piper
6672577f6e
waf: make sure APM_BUILD_DIRECTORY is defined for APM_BUILD_COPTER_OR_HELI and lua
2021-10-26 11:42:12 +11:00
Randy Mackay
37dbbc7ed3
Tools: add AP_Torqeedo to ardupilotwaf.py
2021-10-19 01:30:51 -04:00
bugobliterator
2223698c47
waf: don't build libuavcan library for AP_Periph builds
2021-10-14 20:13:06 +11:00
Peter Barker
376e7d2a21
Tools: add simulated RAMTRON device
2021-10-12 20:01:49 +11:00
Andrew Tridgell
00491275e0
waf: added image_maxsize to apj files
...
this allows the px4_uploader.py script to load apj files
2021-10-12 15:47:51 +11:00
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
Andrew Tridgell
5840d24ed9
Tools: build AP_ExternalAHRS
2021-01-05 21:13:12 +11:00
Andrew Tridgell
eaf7e7354a
Tools: added locations.txt to ROMFS for SITL
2021-01-01 17:30:32 +11:00
Pierre Kancir
60c6666941
Tools: ardupilotwaf: fix scripting inclusion on build_binaries.py
2020-12-23 22:52:52 +11:00
Randy Mackay
28e769a79e
Tools: link AP_WheelEncoder for all vehicles
2020-12-01 14:01:17 +09:00
Andrew Tridgell
ce95b7e81a
waf: added --enable-memory-guard option
2020-11-18 17:14:43 +11:00
Michael du Breuil
960437d446
Tools: Add the SFML configuration flags as needed for joysticks
2020-11-13 15:38:22 +11:00
Andrew Tridgell
2e60fbc6d3
waf: fixed headers check
2020-11-10 16:15:45 +11:00
Andrew Tridgell
0c1d665818
waf: support no-gcs and DAL builds
2020-11-10 16:15:45 +11:00
bugobliterator
48b59973b5
waf: add sitl_gps support to simulate AP_Periph GPS
2020-11-04 19:59:40 +11:00
Andrew Tridgell
39f25fc0f4
Tools: added models to ROMFS in SITL
2020-10-28 14:20:44 +11:00
bugobliterator
e49891d605
Tools: waf: remove extraneous frame-larger-than warning
2020-10-08 09:31:35 +11:00
giacomo892
4eeccb61cd
WAF: Add AP_OLC to build
2020-10-01 09:40:45 +10:00
Pierre Kancir
ae29697504
Tools: build_summary: make binary path a string
2020-09-30 17:59:33 +10:00
Siddharth Purohit
b27092c651
Tools: waf: don't do uavcan build config for AP_Periph
2020-09-24 12:32:19 +10:00
Andrew Tridgell
7726848a50
waf: lock in zero errors for gcc9
2020-09-22 08:07:23 +10:00
Andrew Tridgell
3da00b482e
waf: enable -Werror for whitelisted compilers on ChibiOS builds
2020-09-15 09:40:03 +10:00
Peter Barker
0bb44ba933
waf: print compiler version as part of configure
2020-09-14 18:11:31 +10:00
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
2020-09-14 11:19:11 +10:00
Pierre Kancir
85b599b2d7
Tools: make non DEBUG SITL use -march=native
2020-09-10 15:16:18 +10:00
Andrew Tridgell
6b242bf1db
waf: add flash_total to apj file
2020-09-10 07:41:25 +10:00
Pierre Kancir
2e60f361fa
Tools: ardupilotwaf: remove '-Werror=suggest-override' from benchmark to prevent failure
...
this is due to the fact that gbenchmark header should be compatible with C++03 and then don't accept C++11 feature like override ...
2020-09-06 19:13:04 +10:00
Pierre Kancir
9d9cf2501a
Tools: disable Gtest and testing on Gbenchmark build
2020-09-06 19:13:04 +10:00
Andrew Tridgell
689902cb69
waf: moved include of ap_config.h into configure step
2020-09-03 09:56:29 +10:00
Andrew Tridgell
24425b4155
waf: allow setup of double precision for some cpp files
2020-09-03 09:56:29 +10:00
Andrew Tridgell
844d2bf7ff
waf: enable MSP when we enable OSD
2020-09-02 05:56:46 +10:00
Andrew Tridgell
6f04b4a5ec
waf: added --osd-fonts configure option
...
allows for --osd without fonts
2020-09-02 05:56:46 +10:00
Andrew Tridgell
7c579c4814
waf: added --osd configure option
...
to allow boards with no builtin OSD to use MSP OSD
2020-09-02 05:56:46 +10:00
yaapu
b658edfa20
Tools: added MSP
2020-09-02 05:56:46 +10:00
Siddharth Purohit
4e17f8a23e
waf: add CANManager library and use uavcan agnostic names CAN vars
2020-08-19 17:31:09 +10:00
Peter Barker
904981a0c3
waf: build with -Werror=undef
2020-08-19 14:46:39 +10:00
Andrew Tridgell
5fdc400aab
waf: added -Werror=cast-align
2020-07-10 13:31:27 +10:00
Peter Barker
b955be50af
waf: build in AP_Generator directory
2020-07-03 08:21:42 +09:00
Pierre Kancir
77b461fee4
Tools: add --debug-ekf to debug the EKF
2020-06-20 19:59:05 +10:00
Andrew Tridgell
a349a2f956
Tools: fixed SITL build
2020-05-16 10:39:14 +10:00
Andrew Tridgell
c5c171b359
Tools: fixed scripting build with --out on configure line
...
thanks to Henry for noticing
2020-05-16 10:09:15 +10:00
Andrew Tridgell
be812f490f
waf: added AP_LIB_EXTRA_SOURCES
...
used to allow building of dynamically generated library components
2020-05-12 19:55:21 +10:00
Andy Piper
d0cd494178
waf: add AP_RCTelemetry to build
2020-05-05 09:23:15 +10:00
Andrew Tridgell
f352b6d107
waf: added -Werror configure option
...
for building with error on any warning
2020-04-28 10:32:23 +10:00
Andy Piper
6245197204
waf: add support for the macOS clang address sanitizer
2020-04-15 07:22:49 +10:00
Andrew Tridgell
823d666bc2
waf: added --disable-ekf2 and --disable-ekf3 build options
...
allows for testing disables in SITL
2020-04-14 09:15:43 +10:00
bugobliterator
1f421edaf2
waf: chibios remove quotes from the default param filename
2020-04-10 07:04:21 +10:00
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
2020-03-28 15:28:03 +11:00