Commit Graph

3301 Commits

Author SHA1 Message Date
ZeroOne-Aero b2b45477af hwdef: update ZeroOne X6 documentation 2024-10-27 11:42:49 +11:00
bugobliterator 9dca511e7e AP_HAL_ChibiOS: do not run through SPI_RX and TX as well
we use MISO and MOSI name for SPI
2024-10-25 18:16:00 +11:00
jamming e91cab3349 hwdef: Add icm42688 support for KakuteH7Mini 2024-10-25 18:08:22 +11:00
bugobliterator b69087ae61 AP_HAL_ChibiOS:CubeNode: undefine IMU for CubeNode_ETH 2024-10-23 06:46:22 +09:00
bugobliterator 9381404a9f AP_InertialSensor: fix continuing after ins init fail in AP_Periph 2024-10-23 06:46:22 +09:00
bugobliterator 76d6a88b7b AP_HAL_ChibiOS: properly enable periph IMU on CubeOrange-periph and heavy 2024-10-23 06:46:22 +09:00
bugobliterator 830de73e58 AP_HAL_ChibiOS: add support for raw imu publishing in AP_Periph 2024-10-23 06:46:22 +09:00
bugobliterator 87ae3bccec AP_HAL_ChibiOS: change name CubePilot-CANMod and -PPPGW to CubeNode 2024-10-23 06:46:22 +09:00
ZeroOne-Aero 81768b26ff hwdef: added ZeroOneX6 picture
upload ZeroOneX6 picture
2024-10-15 15:04:49 +11:00
bugobliterator 2524583dda AP_HAL_ChibiOS: increase the number of memory regions for crashdump
also checks num region overruns for bss and heap
2024-10-14 07:21:22 +11:00
Alexis Guijarro 43b8900bec hwdef: Removed duplication for AP_STATS_ENABLED 2024-10-11 09:51:27 +11:00
Peter Barker dec10a1a58 hwdef: GEPRCF745BTHD: remove parachute and bl-flashing support (flash overflow) 2024-10-09 08:24:12 +11:00
Andrew Tridgell 52169f25da HAL_ChibiOS: replace volatile bools with mutexes
this replaces the two booleans used to mediate TX and RX buffer
protection with mutexes.

The booleans were a hangover from the very early HAL_ChibiOS code, and
can lead to a deadlock. The sequence is as follows:

 - a very high CAN bus bandwidth usage, triggered by MissionPlanner
   requesting CAN_FORWARD on a CAN serial port. That causes a
   "infinite" number of CAN_FRAME messages which saturates the bus,
   and leads to the DroneCAN thread looping with no pause

 - a serial port configured as GPS type AUTO, auto-probing for a GPS
   that isn't there. This calls begin() periodically

 - the UART TX thread assocated with that UART not making progress as
   the TX thread priority is below the DroneCAN thread priority

 - this causes the begin() in main thread waiting for _in_tx_timer to
   loop forever, which triggers a watchdog
2024-10-01 09:54:26 +10:00
tompsontan 84fbaa3abc AP_HAL_ChibiOS: add board X-MAV-AP-H743v2
Co-authored-by: Henry Wurzburg <hwurzburg@yahoo.com>
2024-10-01 09:39:55 +10:00
Peter Barker b234729398 AP_HAL_ChibiOS: CubeRedPrimary: probe external compasses 2024-10-01 09:22:42 +10:00
Nick Exton 919a711f17 AP_HAL_ChibiOS: Disable VIDEO_STREAM_INFORMATION in minimize_common.inc 2024-10-01 08:18:54 +09:00
Nick Exton fed948c98d AP_HAL_ChibiOS: Disable CAMERA_INFO_FROM_SCRIPT in minimize_common.inc 2024-10-01 08:18:54 +09:00
Tdogb f282c8db65 hwdef: add DPS280 to baros present on FlyWooF745 2024-09-30 19:58:04 +10:00
Andrew Tridgell 070363e453 HAL_ChibiOS: limit RX timeout to 100ms
this prevents a very long timeout in begin(), replacement with a mutex
will happen in a separate PR
2024-09-27 11:06:20 +10:00
Robert Taylor d82e82635f hwdef: switch CAN port definiton on Nucleo-496 hwdef
The CAN port as it was is a valid CAN port for the nucleo, but on the development board the CAN silkscreen is actually on PD0 and PD1. This change makes it easier to get the example running on the Nucleo
2024-09-26 08:31:50 +10:00
Peter Barker 14332fad52 hwdef: -Os on MFT-SEMA-100 to avoid flash overflow 2024-09-25 23:44:05 +10:00
Peter Barker c9de940fc8 hwdef: JHEMCU-GSF405A becomes minimize-fpv-osd 2024-09-25 17:12:44 +10:00
Peter Barker 8b9154d115 AP_HAL_ChibiOS: re-order initialiser lines so -Werror=reorder will work 2024-09-24 22:50:28 +10:00
Thomas Watson 5f4a6dc2fb AP_HAL_ChibiOS: remove dependency on tmpnam
tmpnam is never linked and not necessary, and naming it/redefining it
introduces problems on platforms that do have a definition.
2024-09-24 22:49:18 +10:00
caijie 42c82f6c5d AP_HAL_ChibiOS: add VUAV-V7pro 2024-09-24 10:07:39 +10:00
bugobliterator 3d47f01dd4 AP_HAL_ChibiOS: enable TESTs on CubePilot-PPPGW 2024-09-19 11:44:22 +10:00
Henry Wurzburg 8c3621d021 hwdef: add bdshot to SpeedyBeeF405Wing
Co-authored-by: setup <alxdr64m@gmail.com>
2024-09-18 17:51:26 +10:00
Ruffalo Lavoisier e3f76591fc AP_HAL_ChibiOS: check nullptr 'name' variable
- Check nullptr before using the  'name' variable assigned from malloc()
2024-09-17 22:10:26 +10:00
Peter Barker cd9e7e095a hwdef: f103-GPS: explicltly nominiate compass backends supported
this target is overflowing as someone is trying to add a new compass..
2024-09-17 10:31:27 +10:00
Andrew Tridgell 9cb3354ba0 hwdef: default CAN MCAST enabled for PPPGW builds 2024-09-17 10:02:29 +10:00
Andrew Tridgell f065548866 hwdef: enable CAN multicast support in PPP gateways 2024-09-17 10:02:29 +10:00
Andrew Tridgell 05d43fd00b HAL_ChibiOS: allow for MCAST UDP with no CAN link
this allows the CAN interface to operate without a CAN cable, allowing
for bridging of MCAST UDP CAN
2024-09-17 10:02:29 +10:00
muramura 70046e0d58 AP_HAL_ChibiOS: Change the magic number to a defined value 2024-09-12 14:23:10 +10:00
Peter Barker 66a2788663 hwdef: RadioLinkPIX6 uses SPL06 driver 2024-09-11 18:27:47 +10:00
Thomas Watson 854b769cfe hwdef: remove non-ublox GPSes from MatekL431-Periph
Saves enough flash to get it building again (11K now free). These
backends are default for other boards and so are built in CI.
2024-09-10 12:30:23 +10:00
Eric a1a4c63881 hwdef: add mpu6000 to support ReaperF745 V4 FC 2024-09-06 21:19:32 +10:00
Peter Barker 784760342d Copter: remove ENABLE/ENABLED/DISABLE/DISABLED defines 2024-09-06 11:53:09 +10:00
jamming 4d3e97533d AP_HAL_ChibiOS: Add a new target Holybro DroneCAN-pmu 2024-09-06 08:50:20 +10:00
Peter Barker bfcac18eb2 hwdef: GEPRCF745BTHD: rely on custom builds for external baros
this is overflowing - it has an onboard baro, that will have to do...
2024-09-06 08:49:57 +10:00
Peter Barker 61b1a2d525 hwdef: remove SMBus battery support from all minimize-fpv boards
I doubt there's a single one of these boards on the planet using stock firmware and smbus batteries.  If they exist, the custom build server can re-add this
2024-09-06 08:49:28 +10:00
Jacob Dahl d96926050b hwdef: ARKV6x: fix RC input 2024-09-06 08:45:57 +10:00
khimaros 2e1af82044 AP_HAL_Chibios: default to MavLinkV1 on CubeSolo
see also https://github.com/ArduPilot/ardupilot/issues/22155
2024-09-04 19:13:05 +10:00
romi2002 e6d35b08cb hwdef: enable flash-from-SD on Pixhawk6C
Enabled flash-from-SD support on Pixhawk6C bootloader based off Pixhawk6X hwdef (3b230c4).
2024-09-04 19:08:46 +10:00
Andy Piper 7fc61090f2 AP_HAL_ChibiOS: add support for disabled mask on iomcu 2024-09-04 18:34:10 +10:00
Andy Piper e5d26a579d AP_HAL_ChibiOS: correctly check for channel enablement on iomcu 2024-09-04 18:34:10 +10:00
Andy Piper 48624f189e AP_HAL_ChibiOS: dshot commands for reverse/3D should be sent to IOMCU
normalize servo/FMU channels for dshot commands and 3D mask
2024-09-04 18:34:10 +10:00
Andy Piper fc51829b63 AP_HAL_ChibiOS: add iomcu support for reversible mask
check armed state on iomcu before sending dshot packets
2024-09-04 18:34:10 +10:00
Peter Barker 40e367e14f AP_HAL_ChibiOS: avoid use of global signed_fw in ChibiOSHWdef object 2024-09-04 09:52:55 +10:00
Peter Barker 53b726271f AP_HAL_ChibiOS: avoid use of global args in ChibiOSHWdef object 2024-09-04 09:52:55 +10:00
Hubert b971046a07 hwdef: Update hwdef for MicoAir405v2 and MicoAir405mini
Update MicoAir405v2 hwdef.dat: enable OPTICALFLOW

Update MicoAir405v2 defaults.parm: enable OSD_TYPE2 and adjust LOG_FILE_BUFSIZE from 16 to 8

Update MicoAir405Mini defaults.parm: adjust LOG_FILE_BUFSIZE from 16 to 8
2024-09-04 09:52:30 +10:00