Fixed bug #704.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/stable_16.1.x@8850 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
afad9dd358
commit
39e2aa6b64
|
@ -361,12 +361,12 @@ void spi_lld_start(SPIDriver *spip) {
|
||||||
STM32_SPI_SPI4_IRQ_PRIORITY,
|
STM32_SPI_SPI4_IRQ_PRIORITY,
|
||||||
(stm32_dmaisr_t)spi_lld_serve_rx_interrupt,
|
(stm32_dmaisr_t)spi_lld_serve_rx_interrupt,
|
||||||
(void *)spip);
|
(void *)spip);
|
||||||
chDbgAssert(!b, "stream already allocated");
|
osalDgbAssert(!b, "stream already allocated");
|
||||||
b = dmaStreamAllocate(spip->dmatx,
|
b = dmaStreamAllocate(spip->dmatx,
|
||||||
STM32_SPI_SPI4_IRQ_PRIORITY,
|
STM32_SPI_SPI4_IRQ_PRIORITY,
|
||||||
(stm32_dmaisr_t)spi_lld_serve_tx_interrupt,
|
(stm32_dmaisr_t)spi_lld_serve_tx_interrupt,
|
||||||
(void *)spip);
|
(void *)spip);
|
||||||
chDbgAssert(!b, "stream already allocated");
|
osalDgbAssert(!b, "stream already allocated");
|
||||||
rccEnableSPI4(FALSE);
|
rccEnableSPI4(FALSE);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@ -377,12 +377,12 @@ void spi_lld_start(SPIDriver *spip) {
|
||||||
STM32_SPI_SPI5_IRQ_PRIORITY,
|
STM32_SPI_SPI5_IRQ_PRIORITY,
|
||||||
(stm32_dmaisr_t)spi_lld_serve_rx_interrupt,
|
(stm32_dmaisr_t)spi_lld_serve_rx_interrupt,
|
||||||
(void *)spip);
|
(void *)spip);
|
||||||
chDbgAssert(!b, "stream already allocated");
|
osalDgbAssert(!b, "stream already allocated");
|
||||||
b = dmaStreamAllocate(spip->dmatx,
|
b = dmaStreamAllocate(spip->dmatx,
|
||||||
STM32_SPI_SPI5_IRQ_PRIORITY,
|
STM32_SPI_SPI5_IRQ_PRIORITY,
|
||||||
(stm32_dmaisr_t)spi_lld_serve_tx_interrupt,
|
(stm32_dmaisr_t)spi_lld_serve_tx_interrupt,
|
||||||
(void *)spip);
|
(void *)spip);
|
||||||
chDbgAssert(!b, "stream already allocated");
|
osalDgbAssert(!b, "stream already allocated");
|
||||||
rccEnableSPI5(FALSE);
|
rccEnableSPI5(FALSE);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@ -393,12 +393,12 @@ void spi_lld_start(SPIDriver *spip) {
|
||||||
STM32_SPI_SPI6_IRQ_PRIORITY,
|
STM32_SPI_SPI6_IRQ_PRIORITY,
|
||||||
(stm32_dmaisr_t)spi_lld_serve_rx_interrupt,
|
(stm32_dmaisr_t)spi_lld_serve_rx_interrupt,
|
||||||
(void *)spip);
|
(void *)spip);
|
||||||
chDbgAssert(!b, "stream already allocated");
|
osalDgbAssert(!b, "stream already allocated");
|
||||||
b = dmaStreamAllocate(spip->dmatx,
|
b = dmaStreamAllocate(spip->dmatx,
|
||||||
STM32_SPI_SPI6_IRQ_PRIORITY,
|
STM32_SPI_SPI6_IRQ_PRIORITY,
|
||||||
(stm32_dmaisr_t)spi_lld_serve_tx_interrupt,
|
(stm32_dmaisr_t)spi_lld_serve_tx_interrupt,
|
||||||
(void *)spip);
|
(void *)spip);
|
||||||
chDbgAssert(!b, "stream already allocated");
|
osalDgbAssert(!b, "stream already allocated");
|
||||||
rccEnableSPI6(FALSE);
|
rccEnableSPI6(FALSE);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -73,6 +73,7 @@
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
|
|
||||||
*** 16.1.3 ***
|
*** 16.1.3 ***
|
||||||
|
- HAL: Fixed chDbgAssert() still called from STM32 SPIv1 driver (bug #704).
|
||||||
- HAL: Fixed broken demo for STM32F429 (bug #703).
|
- HAL: Fixed broken demo for STM32F429 (bug #703).
|
||||||
- HAL: Fixed wrong macro definition for palWriteLine (bug #702).
|
- HAL: Fixed wrong macro definition for palWriteLine (bug #702).
|
||||||
- HAL: Fixed error is buffer queues (bug #701).
|
- HAL: Fixed error is buffer queues (bug #701).
|
||||||
|
|
Loading…
Reference in New Issue