Commit Graph

180 Commits

Author SHA1 Message Date
Thomas Watson
05f024ade7 ardupilotwaf: properly configure double precision tests
Use new setup function. Unsure if this affects anything.
2024-12-31 08:16:55 +11:00
Thomas Watson
084661d099 ardupilotwaf: properly configure double precision tasks
There might be multiple copies of the flags, so remove all of them. Also
pull the setup into a helper function to avoid duplicating the logic.

On ChibiOS boards, this fixes SITL (which had issues with position
quantization) and affects the SBF GPS driver (which was probably fine
before but does change slightly).
2024-12-31 08:16:55 +11:00
Iampete1
b9dd814935 Tools: ardupilotwaf: add AP_Servo_Telem to common vehicle libraries 2024-12-03 07:38:17 +11:00
Andrew Tridgell
c8e61402ec waf: added AP_MultiHeap 2024-11-20 07:32:03 +11:00
Patrick José Pereira
e4d92ecf9f Tools: ardupilotwaf: Print list of possible groups
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2024-11-08 10:55:38 +11:00
Willian Galvani
4ec023ac1a Tools: ardupilotwaf: allow automatic upload to BlueOS 2024-08-27 10:25:35 +10:00
Ryan Friedman
724e61fa70 Tools: factor out common library for GSOF
* Add tests too

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2024-08-20 14:50:05 +10:00
Nicole Ashley
3763d094f6 Tools: Add i-BUS telemetry to build and feature flags 2024-08-07 14:01:44 +10:00
Andrew Tridgell
a136c28122 waf: don't build CAN libraries if CAN not supported 2024-07-12 15:56:48 +10:00
Andrew Tridgell
aff9175328 waf: moved elf symbol checking to ardupilotwaf
not chibios specific
2024-06-04 09:20:21 +10:00
Peter Barker
8c5136e06d Tools: move Arming, Beacon and RC_Mapper into ardupilotwaf.py
these were built for all vehicles, so put them in the common list
2024-04-17 18:11:46 +10:00
Randy Mackay
96e17f18cc Tools: waf help output shows --define under build 2024-04-03 18:30:59 +11:00
Peter Barker
7794f7fdaa Tools: move AP_OSD into common libraries list 2024-03-19 07:15:10 +11:00
Peter Barker
df3267c9ba waf: remove SKETCH and SKETCHNAME from build sysmte
... renaming one of them to AP_BUILD_TARGET
2024-02-26 15:42:25 +11:00
Andrew Tridgell
4ad1231c8f waf: prevent use of C++ library calls that can cause exceptions
this cleans up our blacklist of library functions, and ensures there
can be no accidential use of std:: functions that cause exceptions in
flight code on HAL_ChibiOS
2024-02-21 12:09:48 +11:00
Andrew Tridgell
a7fba2ba5f waf: added AP_JSON to library list 2024-02-21 12:09:48 +11:00
Peter Barker
95661bb9bb waf: include piccolocan protocol directory in all libraries
with can_mgr in AP_Vehicle, eliding no longer works for the symbols generated from this directory, as *all* vehicles now get can, including the ones especially created in examples.  So now we include the symbols.
2024-02-06 11:03:54 +11:00
Andrew Tridgell
10435ca3c4 waf: added AP_ExternalControl to set of libraries 2023-08-22 18:21:23 +10:00
Tom Pittenger
f885cb2eb6 Tools/ardupilotwaf: add support for Networking 2023-08-06 09:20:08 +10:00
Andy Piper
744028e79e waf: ensure all constants are float not double if not otherwise declared
allow DOUBLE_PRECISION_SOURCES in ap_find_tests()
2023-08-02 16:22:59 +01:00
Tom Pittenger
a47e125c1f Tools: add ./waf --upload-force arg to allow uploader.py to do --force 2023-05-12 07:14:52 +10:00
Tom Pittenger
8a530ee0a6 Tools: move AP_KDECAN build to AP_Vehicle 2023-04-17 11:52:52 +10:00
bugobliterator
0e80802f69 waf: replace libuavcan with libcanard for vehicle builds 2023-03-29 17:16:39 +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
Tom Pittenger
ed5a0557ca ardupilotwaf: common libraries add AP_TemperatureSensor
Co-authored-by: Joshua Henderson <hendjoshsr71@gmail.com>
2022-10-18 10:05:31 +11:00
Andrew Tridgell
df75c1796a waf: added --enable-check-firmware option 2022-08-15 09:18:34 +10:00
Joshua Henderson
68360571d1 Tools: ardupilotwaf add OpenDroneID lib 2022-08-09 14:37:08 +10:00
Peter Barker
c0243772b4 waf: add --define command-line option
Allows CPP defines to be specified on command-line

Eases enable/disable of optional features
2022-07-19 09:09:05 +10:00
Andrew Tridgell
acf56204f2 waf: added --ubsan and --ubsan-abort options 2022-07-12 11:00:08 +10:00
Iampete1
28989f1838 Tools: ardupilotwaf: add AP_AIS to build 2022-07-12 09:39:54 +10:00
Tom Pittenger
0c7e107157 Tools/waf: Add Sagetech SDK to WAF build 2022-06-14 07:10:17 -07:00
Randy Mackay
104e9202af Tools: remove AP_ToshibaCAN from waf 2022-06-10 12:08:05 +09:00
Pierre Kancir
2cca370a74 Tools: ardupilotwaf: remove useless shebang on non exec files 2022-06-08 08:16:42 +09:00
Peter Barker
7474a31a83 waf: take ap_version.h int items from environment as we do str items
This will mean we take the integer version of GIT_VERSION from the env
too
2022-04-12 11:47:48 +10:00
Iampete1
6ac661c6ce Tools: ardupilotwaf: add AP_CustomRotations 2022-03-02 18:16:42 +11:00
Joshua Henderson
b3e78e1e8d ardupilotwaf: grouped_program use nested dicts 2022-02-02 19:36:39 +11:00
Peter Barker
c056a7948d Tools: move Airspeed up to AP_Vehicle, provide dummy 2022-01-19 18:21:32 +11:00
Joshua Henderson
ac4304e2c4 Tool: ardupilotwaf fix duplicate reporting from build summary 2022-01-03 12:40:42 +11:00
Randy Mackay
37dbbc7ed3 Tools: add AP_Torqeedo to ardupilotwaf.py 2021-10-19 01:30:51 -04:00
Gone4Dirt
7fab70b8f1 Waf: Modify build directory define if heli build command is given 2021-09-29 19:55:48 +10:00
Pierre Kancir
28706f5e23 Tools: link AP_FETtecOneWire 2021-08-13 16:22:37 +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
Andy Piper
7aa1e2d63b waf: add AP_VideoTX module 2021-02-17 18:23:33 +11:00
Andrew Tridgell
5840d24ed9 Tools: build AP_ExternalAHRS 2021-01-05 21:13:12 +11:00
Randy Mackay
28e769a79e Tools: link AP_WheelEncoder for all vehicles 2020-12-01 14:01:17 +09:00
Andrew Tridgell
0c1d665818 waf: support no-gcs and DAL builds 2020-11-10 16:15:45 +11:00
giacomo892
4eeccb61cd WAF: Add AP_OLC to build 2020-10-01 09:40:45 +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
Andrew Tridgell
689902cb69 waf: moved include of ap_config.h into configure step 2020-09-03 09:56:29 +10:00
yaapu
b658edfa20 Tools: added MSP 2020-09-02 05:56:46 +10:00