Andrew Tridgell
a945c97ec6
HAL_ChibiOS: fixed 3-way DMA sharing bug
...
when we have 3 way contention across two DMA streams we could get the
dma_deallocate function called in an object from two places at
once. This adds a mutex that prevents that scenario
7 years ago
Andrew Tridgell
eca634ec62
HAL_ChibiOS: support 6 SPI buses
7 years ago
Andrew Tridgell
86ded2c40c
HAL_ChibiOS: cleanup sdcard API usage
7 years ago
Alexander Malishev
6b15b2f44f
HAL_ChibiOS: Enable sdcard on spi bus
7 years ago
Andrew Tridgell
01e9c55721
HAL_ChibiOS: fixed SPI bus speed on SPI3
...
and add optional bootup test of SPI bus speeds to help with porting to
new MCUs
7 years ago
Andrew Tridgell
bc32276966
HAL_ChibiOS: support DShot output
...
use DMAR burst DMA to minimise number of DMA channels needed
thanks to betaflight for the great reference implementation!
7 years ago
Andrew Tridgell
9ab695b7ca
HAL_ChibiOS: fixed namespace error
...
thanks to Peter for noticing
7 years ago
Andrew Tridgell
306d35655e
HAL_ChibiOS: allow for bare board builds
...
this allows for a build with no UARTs, no SPI, no I2C, no PWM. Great
for initial board bringup with just USB
7 years ago
Andrew Tridgell
e29b79f41b
HAL_ChibiOS: fixed DMA allocation bug on SPI
...
thanks to Mark Whitehorn for finding this crash
7 years ago
Andrew Tridgell
58796ff435
HAL_Chibios: moved SPI device tables to hwdef.dat
7 years ago
Andrew Tridgell
c742543565
HAL_Chibios: align SPI device IDs with px4 IDs
...
this makes for easier update to ChibiOS without redoing accelcal
7 years ago
Andrew Tridgell
8b6bab7b17
HAL_Chibios: added ChibiOS HAL
...
this is based on initial work by Sid, reset here for easier merging
7 years ago
Andrew Tridgell
37a9a78725
HAL_PX4: avoid bounce buffers for SPI when possible
8 years ago
Andrew Tridgell
638e89bd1d
HAL_PX4: implement set_chip_select for SPI
8 years ago
Andrew Tridgell
e5a4dd4e56
HAL_PX4: added perf counter on SPI devices
8 years ago
Andrew Tridgell
8bca8545a2
HAL_PX4: removed unused devname field in SPIDevice
8 years ago
Andrew Tridgell
1bb450c722
HAL_PX4: moved to common DeviceBus class for thread management in I2C and SPI
8 years ago
Andrew Tridgell
c2c7284a94
HAL_PX4: implement SPIDevice code for PX4
...
with thread per bus
8 years ago