git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8937 35acf78f-673a-0410-8e92-d51de3d6d3f4
master
Giovanni Di Sirio 2016-02-24 08:05:06 +00:00
parent e1bf314769
commit 54e8a6c9e2
2 changed files with 8 additions and 6 deletions

View File

@ -361,12 +361,12 @@ void spi_lld_start(SPIDriver *spip) {
STM32_SPI_SPI4_IRQ_PRIORITY,
(stm32_dmaisr_t)spi_lld_serve_rx_interrupt,
(void *)spip);
osalDgbAssert(!b, "stream already allocated");
osalDbgAssert(!b, "stream already allocated");
b = dmaStreamAllocate(spip->dmatx,
STM32_SPI_SPI4_IRQ_PRIORITY,
(stm32_dmaisr_t)spi_lld_serve_tx_interrupt,
(void *)spip);
osalDgbAssert(!b, "stream already allocated");
osalDbgAssert(!b, "stream already allocated");
rccEnableSPI4(FALSE);
}
#endif
@ -377,12 +377,12 @@ void spi_lld_start(SPIDriver *spip) {
STM32_SPI_SPI5_IRQ_PRIORITY,
(stm32_dmaisr_t)spi_lld_serve_rx_interrupt,
(void *)spip);
osalDgbAssert(!b, "stream already allocated");
osalDbgAssert(!b, "stream already allocated");
b = dmaStreamAllocate(spip->dmatx,
STM32_SPI_SPI5_IRQ_PRIORITY,
(stm32_dmaisr_t)spi_lld_serve_tx_interrupt,
(void *)spip);
osalDgbAssert(!b, "stream already allocated");
osalDbgAssert(!b, "stream already allocated");
rccEnableSPI5(FALSE);
}
#endif
@ -393,12 +393,12 @@ void spi_lld_start(SPIDriver *spip) {
STM32_SPI_SPI6_IRQ_PRIORITY,
(stm32_dmaisr_t)spi_lld_serve_rx_interrupt,
(void *)spip);
osalDgbAssert(!b, "stream already allocated");
osalDbgAssert(!b, "stream already allocated");
b = dmaStreamAllocate(spip->dmatx,
STM32_SPI_SPI6_IRQ_PRIORITY,
(stm32_dmaisr_t)spi_lld_serve_tx_interrupt,
(void *)spip);
osalDgbAssert(!b, "stream already allocated");
osalDbgAssert(!b, "stream already allocated");
rccEnableSPI6(FALSE);
}
#endif

View File

@ -92,6 +92,8 @@
- RT: Removed the p_msg field from the thread_t structure saving a
msg_t-sized field from the structure. Messages now use a new field
into the p_u union. Now synchronous messages are even faster.
- HAL: Fixed build error caused by STM32 SPIv1 driver (bug #710)(backported
to 2.6.10, 3.0.6 and 16.1.4).
- HAL: Fixed shift of signed constant causes warnings with IAR compiler
(bug #709)(backported to 2.6.10, 3.0.6 and 16.1.4).
- HAL: Fixed wrong RTCv2 settings for STM32L4 (bug #708)(backported