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
Rhys Mainwaring
3235a0692c
Tools: ardupilotwaf: esp32 does not have hardware double
...
Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2024-12-26 19:59:15 -06:00
Thomas Watson
f964d3aed3
waf: add defaults.parm support to esp32 using ROMFS
...
And drop broken remnants of code using apj_tool to do it.
2024-12-24 10:50:21 +11:00
Thomas Watson
a14fb9ab28
AP_HAL_ESP32: regenerate sdkconfig after sdkconfig.defaults change
...
Ensures the sdkconfig does not get out of date as updates are made to
the defaults. The sdkconfig can still be manually changed for testing.
2024-12-10 10:32:47 +11:00
Andrew Tridgell
60f6a9deec
waf: enable IMU in simulated AP_Periph
2024-12-10 09:29:37 +11:00
Andy Piper
21106380b3
waf: add rate loop config abstraction that allows code to be elided on non-copter builds
2024-12-04 07:45:05 +11:00
Iampete1
b9dd814935
Tools: ardupilotwaf: add AP_Servo_Telem
to common vehicle libraries
2024-12-03 07:38:17 +11:00
Tom Pittenger
5503ac204e
Tools: update WSL2 use in uploader.py
2024-12-02 11:31:35 -08:00
bugobliterator
93d99ece0a
Tools:waf: add option to build IOMCU firmware with profiled support
2024-11-20 19:12:44 +11:00
Andrew Tridgell
c8e61402ec
waf: added AP_MultiHeap
2024-11-20 07:32:03 +11:00
Peter Barker
7ee9a337e1
Tools: waf: build rally and fencepoint protocols in on SITL
...
so we continue to autotest them
2024-11-18 08:34:08 +11:00
Peter Barker
8a58642cd1
waf: make initialiser reordering fatal
...
we were bitten by a nasty bug in CAN because of constructor reordering
2024-11-13 06:40:37 +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
64b9d0ebea
Tools: ardupilotwaf: add entry for 64bit versions of Navigator
2024-10-02 06:18:32 +10:00
ARg
f3a39105b9
Tools: Migration of ESP32 targets from idf 4.4 to 5.3 consisting of:
...
- Updated installation scripts of esp-idf toolchain;
- Adding ESP_PLATFORM define to ESP32 targets, it is required to compile FreeRTOS with idf 5.3;
2024-10-01 09:25:35 +10:00
Peter Barker
35a8a04787
waf: add -Werror=use-after-free to CFLAGS and CXXFLAGS
2024-09-19 11:42:50 +10:00
Thomas Watson
a9ea760cad
Tools/ardupilotwaf: improve dronecangen dependency tracking
...
Have the build depend on the input message definition files and the
generator source code so that the code is regenerated if either change.
2024-09-17 10:45:17 +10:00
Andrew Tridgell
b2b9226863
waf: allow any custom build option to be specified in waf configure
...
this makes it easy to configure with any option from build_options.py
2024-09-11 16:11:22 +10:00
Andrew Tridgell
a9455ec3d3
waf: fixed app signature in elf files
...
this fixes an issue when developing for ChibiOS AP_Periph targets
where loading the elf file in gdb doesn't allow it to run as it
doesn't have the correct AP_Periph signature (crc, board type etc)
This patch modifies the elf file to fill in the signature, so when you
load in gdb the bootloader will be able to run the signature checks
and load the firmware
2024-09-10 12:33:45 +10: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
Iampete1
d5a125a2a9
Tools: ardupilotwaf: boards: enable extended esc telem on sitl_periph_universal
2024-08-20 09:14:11 +10:00
Nicole Ashley
3763d094f6
Tools: Add i-BUS telemetry to build and feature flags
2024-08-07 14:01:44 +10:00
Eric Katzfey
4a3dad2f8f
Tools: Added pthread library to the link of the QURT build Linux application
2024-07-31 10:00:35 +10:00
Peter Barker
535f806c96
Tools: make include file mistakes nicer to interpret
2024-07-30 09:57:01 +10:00
Andrew Tridgell
38ea100c5f
waf: rename QURT host program to "ardupilot"
2024-07-13 14:38:31 +10:00
Andrew Tridgell
af34df2b9f
waf: added QURT board target
2024-07-12 15:56:48 +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
24a6e6bfa1
waf: Revert "waf: use debug option 3 which records defines as well"
...
this change made use of gdb so slow it is completely unusable for
ArduPilot. Far too many macros, loading gdb takes forever
2024-07-11 14:20:04 +10:00
Andrew Tridgell
096cfdcb61
waf: fixed ESP32 build
2024-07-11 09:28:17 +10:00
Andrew Tridgell
8be0a64155
waf: don't mark esp32 as CYGWIN_BUILD
2024-07-07 07:11:59 +10:00
Andrew Tridgell
039367e340
Tools: wrap _malloc_r on cygwin
...
fixes dual allocation heap bug
See https://cygwin.com/pipermail/cygwin/2000-July/038916.html
2024-07-07 07:11:59 +10:00
bugobliterator
4260acb21a
waf: use debug option 3 which records defines as well
2024-07-05 14:16:27 +10:00
bugobliterator
b93ba1ae68
waf: add support for generating compile_commands.json
2024-06-19 17:11:46 +10:00
Michelle Rossouw
7e5810a746
Tools: Added option to set environment variable to not add the compile_commands.json to VSCode's c_cpp_properties.json
2024-06-11 14:29:06 +10:00
Peter Barker
364452ffc8
autotest: add test for DroneCAN battery handling
2024-06-11 09:31:46 +10:00
Andrew Tridgell
93f1bb576b
waf: added --enable-new-checking option
...
this allows CI to check for violations of new, calling without
NEW_NOTHROW
2024-06-04 09:20:21 +10:00
Andrew Tridgell
1ad0c069ae
waf: fixed cygwin build
2024-06-04 09:20:21 +10:00
Andrew Tridgell
aff9175328
waf: moved elf symbol checking to ardupilotwaf
...
not chibios specific
2024-06-04 09:20:21 +10:00
Andrew Tridgell
07b5ffcc58
waf: removed -fcheck-new and added link checks
...
check for use of new without std::nothrow
2024-06-04 09:20:21 +10:00
Peter Barker
720c8719dc
waf: boards.py: use chibios_hwdef.py to get boards list
2024-05-28 10:25:39 +10:00
Bob Long
ead48b6737
Tools: fix handling of include files for Periph
...
This fix scans all the include files in a hwdef, not just one on the
first line.
2024-05-24 10:40:46 +10:00
Andrew Tridgell
792fdc2fb8
Tools: specify pymonocypher version in more places
...
and confirm version when running tools
2024-05-19 10:07:54 +10:00
Iampete1
773fa73e75
Tools: ardupilotwaf: move setting of ROMFS flags for all boards to embed_ROMFS_files
method
2024-05-14 10:05:51 +10:00
Andrew Tridgell
c097cd7fb9
waf: cope with CI python oddity
2024-05-08 18:28:59 +10:00
Rhys Mainwaring
513a6b6206
Tools: ardupilotwaf: use classic clang linker when compiling on macOS
...
- Fix issue where linker fails with Xcode 15.3.
- Add check for CC_VERSION.
Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2024-05-07 09:35:41 +10:00
Iampete1
8cb368de0c
Tools: ardupilotwaf: boards: enable HAL_PERIPH_ENABLE_RPM_STREAM
on sitl_periph_universal
2024-05-02 20:25:38 +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
muramura
4ef66dcf34
ardupilotwaf: change a word(NFC)
2024-04-10 14:20:04 +09:00