mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-13 11:29:58 +03:00
Added SPI5 pin definition for STM32H7.
This commit is contained in:
parent
031a21b9fc
commit
941bcd727a
1 changed files with 15 additions and 1 deletions
|
@ -358,7 +358,21 @@ const spiHardware_t spiHardware[] = {
|
|||
.rcc = RCC_APB2(SPI4),
|
||||
//.dmaIrqHandler = DMA2_ST1_HANDLER,
|
||||
},
|
||||
// SPI5 is not available for LPQFP-100 or 144 package
|
||||
{
|
||||
.device = SPIDEV_5,
|
||||
.reg = SPI5,
|
||||
.sckPins = {
|
||||
{ DEFIO_TAG_E(PF7), GPIO_AF5_SPI5 },
|
||||
},
|
||||
.misoPins = {
|
||||
{ DEFIO_TAG_E(PF8), GPIO_AF5_SPI5 },
|
||||
},
|
||||
.mosiPins = {
|
||||
{ DEFIO_TAG_E(PF11), GPIO_AF5_SPI5 },
|
||||
},
|
||||
.rcc = RCC_APB2(SPI5),
|
||||
//.dmaIrqHandler = DMA2_ST1_HANDLER,
|
||||
},
|
||||
{
|
||||
.device = SPIDEV_6,
|
||||
.reg = SPI6,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue