Commit Graph

57242 Commits

Author SHA1 Message Date
Ryan Friedman 9633950098 AP_DDS: Use GPS semaphore
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-03-30 13:41:28 +11:00
Ryan Friedman a610474cdc AP_DDS: Parametrize the GPS instance number
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-03-30 13:41:28 +11:00
Ryan Friedman ee59d527e8 AP_DDS: Fix spelling in participant name
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-03-30 13:41:28 +11:00
Ryan Friedman 863656b037 AP_DDS: Add multi-topic support with NavSatFix
* Implement NavSatFix message
* Support covariance
* Set frame ID to WGS-84
* Closes #23284

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-03-30 13:41:28 +11:00
Peter Barker 18dc37eef8 Tools: blacklist build of CubeOrangePlus-SimOnHardware bootloader
Just as we do the CubeOrange equivalent; this uses the CubeOrangePlus bootloader
2023-03-30 09:33:01 +11:00
Rhys Mainwaring c3b576a72f SITL: enable 32 servos in SITL_JSON
Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>

SITL: update JSON readme

- Update servo data packet section for 32 channel output.

Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2023-03-29 21:56:38 +11:00
Rhys Mainwaring b5bbfe8011 SRV_Channel: add method have_32_channels
Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2023-03-29 21:56:38 +11:00
Ryan Friedman c983c856d0 .pre-commit: Add xmllint for AP_DDS xml file
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-03-29 21:52:20 +11:00
Ryan Friedman 80a0373717 AP_DDS: Bump to using latest MicroXRCEDDSGen
* Adds -cs argument to fix case sensitive issue with PoseStamped
* Adds support for uint8_t type alias
* Updated the copies of IDL to remove these mods, matching upstream
* Solves #23302

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-03-29 21:50:12 +11:00
Andy Piper c729a77e45 ChibiOS: update to ChibiOS 21.11.3 stable 2023-03-29 20:49:40 +11:00
Andy Piper ca5dc2ba90 IO_Firmware: rebuild iofirmware 2023-03-29 20:49:40 +11:00
Andy Piper 99eb8cf141 bootloaders: update bootloaders for MatekF405-CAN 2023-03-29 20:49:40 +11:00
Andy Piper 2c7698f748 AP_HAL_ChibiOS: update MatekF405-CAN bootloader to fit 2023-03-29 20:49:40 +11:00
Andy Piper a115681373 AP_HAL_ChibiOS: add support for building USB MSD 2023-03-29 20:49:40 +11:00
Andy Piper d22bb20782 AP_HAL_ChibiOS: SDMMCv1 scratchpad is no longer used 2023-03-29 20:49:40 +11:00
Andy Piper a56a2ec2c1 AP_HAL_ChibiOS: correct SDC power saving 2023-03-29 20:49:40 +11:00
Andy Piper 0221b565a5 scripts: make sure configure_all.py detects periph builds correctly 2023-03-29 20:49:40 +11:00
Andy Piper b452701a2b AP_HAL_ChibiOS: make sure MCUCONF subtype is defined 2023-03-29 20:49:40 +11:00
Andy Piper 820f3b81d1 AP_FlashIface: add comment on alternate byte usage with fast read 2023-03-29 20:49:40 +11:00
Andy Piper c7bd87ce33 waf: disable watchdogs on debug builds 2023-03-29 20:49:40 +11:00
Andy Piper 5af45db4f2 bootloaders: update SPRacingH7 bootloader 2023-03-29 20:49:40 +11:00
Andy Piper 73da2162d2 AP_HAL_ChibiOS: QSPI prescaler is indexed from 1 2023-03-29 20:49:40 +11:00
Andy Piper 4b4d2c52c8 AP_HAL_ChibiOS: correct QSPI flash and GPIO speeds on SPRacingH7 and DevEBoxH7v2 2023-03-29 20:49:40 +11:00
Andy Piper 39b226c46b AP_HAL_ChibiOS: support EXPECTED_CLOCKS and assert on meaningful ones for H7 2023-03-29 20:49:40 +11:00
Andy Piper d9d252a1b7 AP_HAL_ChibiOS: update clock trees for H7 variants 2023-03-29 20:49:40 +11:00
Andy Piper 667b386356 AP_HAL_ChibiOS: port to ChibiOS 21.11.x
convert RCOutput to new virtual timer interface
cope with SDC vs SDMMC
use new SPIv3 driver. Correct clocks for SDMMCv2.
add STM32L431 support
port ChibiOS config to version 8
support SPIv3 driver model v2 on H7
use currcore in debug options
use new mmc API
disable speed optimizations in the bootloader to save a little flash
upgrade to halconf v8.4
relax constraints on QSP/flash clock.
add support for disabling QSPI reset in main firmware
2023-03-29 20:49:40 +11:00
Andy Piper 4a8ce32f90 AP_HAL_ChibiOS: remove USART3 to match fmuv5 and save some flash
remove UART7 on fmuv3 to save enough flash to fit in 16k
2023-03-29 20:49:40 +11:00
Andy Piper 1c14c8f043 AP_FlashIface: build fix for examples
clearly document parameters of memory-mapped mode
2023-03-29 20:49:40 +11:00
Andy Piper c9382cd221 AP_InertialSensor: HAL_WITH_DSP -> HAL_GYROFFT_ENABLED 2023-03-29 20:49:40 +11:00
Andy Piper 76b5915d5b AP_BoardConfig: ensure that debug pins are enabled if compiled with debug 2023-03-29 20:49:40 +11:00
Andy Piper 7884694771 AP_Bootloader: fix virtual timer interface 2023-03-29 20:49:40 +11:00
Andy Piper 07532eaf2f AP_Common: NOINLINE is now defined in ChibiOS 2023-03-29 20:49:40 +11:00
bugobliterator 51f856e5c6 modules: update libcanard 2023-03-29 17:16:39 +11:00
bugobliterator 3a38c2f1eb AP_UAVCAN: allow multithreaded register/unregistering handlers 2023-03-29 17:16:39 +11:00
bugobliterator 56068e65c6 waf: add support for multithreaded register/unregister of DroneCAN handlers 2023-03-29 17:16:39 +11:00
bugobliterator 5f2dd4ab5c SITL: add support for testing DroneCAN 2023-03-29 17:16:39 +11:00
bugobliterator b65c74940d AP_HAL_SITL: setup for DroneCAN driver test build 2023-03-29 17:16:39 +11:00
bugobliterator 50a760d8a5 Tools: add --enable-dronecan-tests option to autotest 2023-03-29 17:16:39 +11:00
bugobliterator 44e897cf2d AP_CANManager: setup CANManager for DroneCAN Driver tests 2023-03-29 17:16:39 +11:00
bugobliterator 3ca65aae4f modules: update libcanard 2023-03-29 17:16:39 +11:00
bugobliterator 530b9bdbae modules: update dronecan_dsdlc 2023-03-29 17:16:39 +11:00
bugobliterator 6dc73b3d54 AP_HAL: sitl: set default value of HAL_CAN_DRIVER_DEFAULT as 1 2023-03-29 17:16:39 +11:00
bugobliterator ef117dc3cf AP_Bootloader: fix bootloader build 2023-03-29 17:16:39 +11:00
bugobliterator ee310433e5 AP_HAL_Linux: add option to use vitual CAN in linux 2023-03-29 17:16:39 +11:00
bugobliterator 10fb5d6b21 AP_HAL: enable virtual CAN for native built linux targets 2023-03-29 17:16:39 +11:00
bugobliterator d0b79959e7 Tools: scripts: replace sitl-32bit with force-32bit 2023-03-29 17:16:39 +11:00
bugobliterator c90cf03619 autotest: replace sitl_32bit with force_32bit 2023-03-29 17:16:39 +11:00
bugobliterator 50bfa516bc waf: add support for dronecan on linux 2023-03-29 17:16:39 +11:00
bugobliterator ac905caae9 AP_Common: add return to strncpy_noterm 2023-03-29 17:16:39 +11:00
bugobliterator c386f9bdcd Tools: add force-32bit option while building sitl for CAN test 2023-03-29 17:16:39 +11:00