Commit Graph

873 Commits

Author SHA1 Message Date
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
Oleksiy Protas
4e21dbcc0b waf: Detect board class by inheritance instead of naming 2024-04-06 09:45:01 +11: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
a1a920ba78 waf: add and use AP_CUSTOMROTATIONS_ENABLED 2024-03-03 08:22:46 +11:00