diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2016-02-24 08:05:06 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2016-02-24 08:05:06 +0000 |
commit | 54e8a6c9e2a71902af35b4ec25f087719192c130 (patch) | |
tree | 2d664e9fd154893d4075ed859ba2575a1f0f0aad | |
parent | e1bf314769fd959b9fcca6d1394a56befb8d4336 (diff) | |
download | ChibiOS-54e8a6c9e2a71902af35b4ec25f087719192c130.tar.gz ChibiOS-54e8a6c9e2a71902af35b4ec25f087719192c130.tar.bz2 ChibiOS-54e8a6c9e2a71902af35b4ec25f087719192c130.zip |
Fixed bug #710.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8937 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r-- | os/hal/ports/STM32/LLD/SPIv1/spi_lld.c | 12 | ||||
-rw-r--r-- | readme.txt | 2 |
2 files changed, 8 insertions, 6 deletions
diff --git a/os/hal/ports/STM32/LLD/SPIv1/spi_lld.c b/os/hal/ports/STM32/LLD/SPIv1/spi_lld.c index c2e7f9cf1..3080f3436 100644 --- a/os/hal/ports/STM32/LLD/SPIv1/spi_lld.c +++ b/os/hal/ports/STM32/LLD/SPIv1/spi_lld.c @@ -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
diff --git a/readme.txt b/readme.txt index 1683d56e3..526b26140 100644 --- a/readme.txt +++ b/readme.txt @@ -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
|