diff options
Diffstat (limited to 'platforms')
| -rw-r--r-- | platforms/chibios/GENERIC_STM32_F072XB/configs/mcuconf.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/platforms/chibios/GENERIC_STM32_F072XB/configs/mcuconf.h b/platforms/chibios/GENERIC_STM32_F072XB/configs/mcuconf.h index d6b6aae4f..32b2777a8 100644 --- a/platforms/chibios/GENERIC_STM32_F072XB/configs/mcuconf.h +++ b/platforms/chibios/GENERIC_STM32_F072XB/configs/mcuconf.h | |||
| @@ -146,6 +146,8 @@ | |||
| 146 | #define STM32_SPI_SPI2_DMA_PRIORITY 1 | 146 | #define STM32_SPI_SPI2_DMA_PRIORITY 1 |
| 147 | #define STM32_SPI_SPI1_IRQ_PRIORITY 2 | 147 | #define STM32_SPI_SPI1_IRQ_PRIORITY 2 |
| 148 | #define STM32_SPI_SPI2_IRQ_PRIORITY 2 | 148 | #define STM32_SPI_SPI2_IRQ_PRIORITY 2 |
| 149 | #define STM32_SPI_SPI1_RX_DMA_STREAM STM32_DMA_STREAM_ID(1, 2) | ||
| 150 | #define STM32_SPI_SPI1_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 3) | ||
| 149 | #define STM32_SPI_SPI2_RX_DMA_STREAM STM32_DMA_STREAM_ID(1, 4) | 151 | #define STM32_SPI_SPI2_RX_DMA_STREAM STM32_DMA_STREAM_ID(1, 4) |
| 150 | #define STM32_SPI_SPI2_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 5) | 152 | #define STM32_SPI_SPI2_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 5) |
| 151 | #define STM32_SPI_DMA_ERROR_HOOK(spip) osalSysHalt("DMA failure") | 153 | #define STM32_SPI_DMA_ERROR_HOOK(spip) osalSysHalt("DMA failure") |
