diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-03-12 14:44:45 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-03-12 14:44:45 +0000 |
commit | 1ee72503c6bbad0caee4171e9c597f082cec28f4 (patch) | |
tree | 3a1df5c273fe45112b06e6350ccf855df2be17a6 /os | |
parent | d4b246b8cd0478c0d092df152fc2cad777cc0ad0 (diff) | |
download | ChibiOS-1ee72503c6bbad0caee4171e9c597f082cec28f4.tar.gz ChibiOS-1ee72503c6bbad0caee4171e9c597f082cec28f4.tar.bz2 ChibiOS-1ee72503c6bbad0caee4171e9c597f082cec28f4.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5419 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-rw-r--r-- | os/hal/platforms/STM32/SPIv2/spi_lld.h | 2 | ||||
-rw-r--r-- | os/hal/platforms/STM32/USARTv2/uart_lld.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/platforms/STM32/SPIv2/spi_lld.h b/os/hal/platforms/STM32/SPIv2/spi_lld.h index ad0e6a79c..5e818d5b4 100644 --- a/os/hal/platforms/STM32/SPIv2/spi_lld.h +++ b/os/hal/platforms/STM32/SPIv2/spi_lld.h @@ -188,7 +188,7 @@ #define STM32_SPI_SPI2_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 5)
#endif /* defined(STM32F0XX) */
-#if defined(STM32F30X)
+#if defined(STM32F30X) || defined(STM32F37X)
/* Fixed values for STM32F3xx devices.*/
#define STM32_SPI_SPI1_RX_DMA_STREAM STM32_DMA_STREAM_ID(1, 2)
#define STM32_SPI_SPI1_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 3)
diff --git a/os/hal/platforms/STM32/USARTv2/uart_lld.h b/os/hal/platforms/STM32/USARTv2/uart_lld.h index 61ede27ab..4de7d0ee7 100644 --- a/os/hal/platforms/STM32/USARTv2/uart_lld.h +++ b/os/hal/platforms/STM32/USARTv2/uart_lld.h @@ -190,7 +190,7 @@ #define STM32_UART_USART2_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 4)
#endif /* defined(STM32F0XX) */
-#if defined(STM32F30X)
+#if defined(STM32F30X)|| defined(STM32F37X)
/* Fixed values for STM32F3xx devices.*/
#define STM32_UART_USART1_RX_DMA_STREAM STM32_DMA_STREAM_ID(1, 5)
#define STM32_UART_USART1_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 4)
|