Commit Graph

59782 Commits

Author SHA1 Message Date
Peter Barker 1c07c875d6 hwdef: recreate minimize_features.inc to just include minimize_common.inc 2023-09-06 20:32:06 +10:00
Peter Barker d55c08009f hwdef: rename minimize_features.inc to minimize_common..inc 2023-09-06 20:32:06 +10:00
pedro-fuoco 62b15a8af0 AP_DDS: Accept body-frame velocity inputs 2023-09-06 20:31:19 +10:00
Peter Barker 198268e03c AP_Logger: use HAL_LOGGING_ENABLED defines 2023-09-06 20:26:25 +10:00
Nick Exton 2e84e273ea gitignore: Add Python environment folders 2023-09-06 17:33:23 +10:00
Andy Piper c6511b513b AP_HAL_ChibiOS: T-Motor H743 Mini 2023-09-06 17:13:07 +10:00
Andy Piper bc98e8bd87 bootloaders: TMotor H743 Mini bootloader 2023-09-06 17:13:07 +10:00
Andy Piper 194f555c7b AP_HAL_ChibiOS: provide mcu defaults in betaflight conversion 2023-09-06 17:13:07 +10:00
Andy Piper 2160a1afb4 AP_HAL_ChibiOS: correct hwdef generator battery scale 2023-09-06 17:13:07 +10:00
Andy Piper ee8631e9fd AP_HAL_ChibiOS: cope with different IMU drivers in hwdef conversion 2023-09-06 17:13:07 +10:00
Andrew Tridgell 2e0eef20d1 AP_Bootloader: fixed use of OTG in peripheral bootloader 2023-09-06 11:21:51 +10:00
Andrew Tridgell efb4a98414 Tools: rebuild AP_Periph bootloaders 2023-09-06 11:21:51 +10:00
Andrew Tridgell 698673b0b2 hwdef: reduced size of f103-periph bootloader
serial not needed
2023-09-06 11:21:51 +10:00
Andrew Tridgell 684385c7d5 hwdef: reduced size of Hitec-Airspeed bootloader
serial not needed in bootloader
2023-09-06 11:21:51 +10:00
Andrew Tridgell 84ff71d519 Tools: added --periph-only option to build_bootloaders.py 2023-09-06 11:21:51 +10:00
Andrew Tridgell ea51aea2e5 hwdef: removed most CAN_APP_NODE_NAME defines
both bootloader and AP_Periph now default to
"org.ardupilot.BOARD_NAME". This makes it much easier to find the
right firmware for update
2023-09-06 11:21:51 +10:00
Andrew Tridgell fb5dba9d86 hwdef: disable HAL_USE_CAN on all boards except f103-periph
setting HAL_USE_CAN uses the ChibiOS CAN driver instead of the AP_HAL
CAN driver. This is only used on the f103-periph as it significantly
reduces the size of the bootloader, which allows for f103 builds to
fit in the limited flash

on all other builds we are much better off using the HAL CAN driver as
it is much faster
2023-09-06 11:21:51 +10:00
Andrew Tridgell fbd44dddd0 HAL_ChibiOS: enable ISRs during flash ops in bootloader
this makes a huge difference in AP_Periph bootloader speeed, where
disabling interrupts prevents CAN packets from being received
2023-09-06 11:21:51 +10:00
Andrew Tridgell f353ae4933 AP_Bootloader: speed up DroneCAN fw update
pipeline file read requests to reduce impact of transport latency
2023-09-06 11:21:51 +10:00
Andrew Tridgell 23811af626 AP_Bootloader: use libcanard decoders
bugs in TAO handling are fixed, so no need for manual decoding
2023-09-06 11:21:51 +10:00
Peter Barker c7080825d3 AP_HAL_ChibiOS: chibios_hwdef.py: canonicalise AP_PERIPH env define
before this change this environment variable is a string, which means anything checking it for truth will get back true even if it is empty ("") or the string zero ("0").  The existing is_periph_fw check only works because "1" != 0 - if it was "0" then it would still be considered a periph firmware
2023-09-06 09:28:37 +10:00
Peter Barker 26b7092c1a ArduCopter: correct logging when rally disabled 2023-09-05 22:23:51 +10:00
Peter Barker 34524d3475 AP_Logger: correct logging when rally disabled 2023-09-05 22:23:51 +10:00
Peter Barker d27bb9d606 Tools: allow more libraries to compile with no HAL_GCS_ENABLED 2023-09-05 22:23:51 +10:00
Peter Barker d47a742272 RC_Channel: allow more libraries to compile with no HAL_GCS_ENABLED 2023-09-05 22:23:51 +10:00
Peter Barker ed5da4ead2 GCS_MAVLink: allow more libraries to compile with no HAL_GCS_ENABLED 2023-09-05 22:23:51 +10:00
Peter Barker 642d15582a AP_WheelEncoder: allow more libraries to compile with no HAL_GCS_ENABLED 2023-09-05 22:23:51 +10:00
Peter Barker 23ec192854 AP_Vehicle: allow more libraries to compile with no HAL_GCS_ENABLED 2023-09-05 22:23:51 +10:00
Peter Barker 545d3b2648 AP_Tuning: allow more libraries to compile with no HAL_GCS_ENABLED 2023-09-05 22:23:51 +10:00
Peter Barker e092d4be44 AP_ServoRelayEvents: allow more libraries to compile with no HAL_GCS_ENABLED 2023-09-05 22:23:51 +10:00
Peter Barker 3604c44000 AP_Scheduler: allow more libraries to compile with no HAL_GCS_ENABLED 2023-09-05 22:23:51 +10:00
Peter Barker 4384f53dce AP_RSSI: allow more libraries to compile with no HAL_GCS_ENABLED 2023-09-05 22:23:51 +10:00
Peter Barker a8d11db490 AP_RCTelemetry: allow more libraries to compile with no HAL_GCS_ENABLED 2023-09-05 22:23:51 +10:00
Peter Barker 9f0c60b413 AP_RangeFinder: allow more libraries to compile with no HAL_GCS_ENABLED 2023-09-05 22:23:51 +10:00
Peter Barker 9654f282da AP_Rally: allow more libraries to compile with no HAL_GCS_ENABLED 2023-09-05 22:23:51 +10:00
Peter Barker ba96789b70 AP_PiccoloCAN: allow more libraries to compile with no HAL_GCS_ENABLED 2023-09-05 22:23:51 +10:00
Peter Barker 85652f69e9 AP_Parachute: allow more libraries to compile with no HAL_GCS_ENABLED 2023-09-05 22:23:51 +10:00
Peter Barker 59a4269624 AP_OpticalFlow: allow more libraries to compile with no HAL_GCS_ENABLED 2023-09-05 22:23:51 +10:00
Peter Barker d1bcd2c5e1 AP_Mount: allow more libraries to compile with no HAL_GCS_ENABLED 2023-09-05 22:23:51 +10:00
Peter Barker dd2ce88152 AP_Mission: allow more libraries to compile with no HAL_GCS_ENABLED 2023-09-05 22:23:51 +10:00
Peter Barker e7b717167b AP_ICEngine: allow more libraries to compile with no HAL_GCS_ENABLED 2023-09-05 22:23:51 +10:00
Peter Barker deb63c28fc AP_Gripper: allow more libraries to compile with no HAL_GCS_ENABLED 2023-09-05 22:23:51 +10:00
Peter Barker eb6f3f5135 AP_Generator: allow more libraries to compile with no HAL_GCS_ENABLED 2023-09-05 22:23:51 +10:00
Peter Barker 397d0baa41 AP_Frsky_Telem: allow more libraries to compile with no HAL_GCS_ENABLED 2023-09-05 22:23:51 +10:00
Peter Barker 275a667d41 AP_Compass: allow more libraries to compile with no HAL_GCS_ENABLED 2023-09-05 22:23:51 +10:00
Peter Barker ffe46b760e AP_CANManager: allow more libraries to compile with no HAL_GCS_ENABLED 2023-09-05 22:23:51 +10:00
Peter Barker ad105614bc AP_Camera: allow more libraries to compile with no HAL_GCS_ENABLED 2023-09-05 22:23:51 +10:00
Peter Barker 498fc97bae AP_Button: allow more libraries to compile with no HAL_GCS_ENABLED 2023-09-05 22:23:51 +10:00
Peter Barker 996399331b AP_Airspeed: allow more libraries to compile with no HAL_GCS_ENABLED 2023-09-05 22:23:51 +10:00
Peter Barker 73a09f3dc5 AP_AHRS: allow more libraries to compile with no HAL_GCS_ENABLED 2023-09-05 22:23:51 +10:00