Fixes in STM32 serial driver.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9641 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
458e6a84df
commit
bd0d0251e2
|
@ -44,6 +44,15 @@
|
||||||
#define USART_ISR_LBDF USART_ISR_LBD
|
#define USART_ISR_LBDF USART_ISR_LBD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* Handling differences in frame size bits.*/
|
||||||
|
#if !defined(USART_CR1_M_0)
|
||||||
|
#define USART_CR1_M_0 (1 << 12)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !defined(USART_CR1_M_1)
|
||||||
|
#define USART_CR1_M_1 (1 << 28)
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Handling the case where UART4 and UART5 are actually USARTs, this happens
|
/* Handling the case where UART4 and UART5 are actually USARTs, this happens
|
||||||
in the STM32F0xx.*/
|
in the STM32F0xx.*/
|
||||||
#if defined(USART4)
|
#if defined(USART4)
|
||||||
|
|
Loading…
Reference in New Issue