USARTv1 update typo fixes
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13879 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
parent
4960c1169a
commit
a544fee35f
|
@ -369,7 +369,7 @@
|
|||
|
||||
#if STM32_SERIAL_USE_UART9
|
||||
#if defined(STM32_UART9_IS_USED)
|
||||
#error "SD8 requires UART9 but it is already used"
|
||||
#error "SD9 requires UART9 but it is already used"
|
||||
#else
|
||||
#define STM32_UART9_IS_USED
|
||||
#endif
|
||||
|
@ -377,7 +377,7 @@
|
|||
|
||||
#if STM32_SERIAL_USE_UART10
|
||||
#if defined(STM32_UART10_IS_USED)
|
||||
#error "SD8 requires UART10 but it is already used"
|
||||
#error "SD10 requires UART10 but it is already used"
|
||||
#else
|
||||
#define STM32_UART10_IS_USED
|
||||
#endif
|
||||
|
|
|
@ -924,7 +924,7 @@ void uart_lld_start(UARTDriver *uartp) {
|
|||
osalDbgAssert(uartp->dmatx != NULL, "unable to allocate stream");
|
||||
|
||||
rccEnableUART9(true);
|
||||
nvicEnableVector(STM32_UART9_NUMBER, STM32_UART_UART10_IRQ_PRIORITY);
|
||||
nvicEnableVector(STM32_UART10_NUMBER, STM32_UART_UART10_IRQ_PRIORITY);
|
||||
uartp->dmarxmode |= STM32_DMA_CR_CHSEL(UART10_RX_DMA_CHANNEL) |
|
||||
STM32_DMA_CR_PL(STM32_UART_UART10_DMA_PRIORITY);
|
||||
uartp->dmatxmode |= STM32_DMA_CR_CHSEL(UART10_TX_DMA_CHANNEL) |
|
||||
|
|
|
@ -416,7 +416,7 @@
|
|||
#endif
|
||||
|
||||
#if STM32_UART_USE_UART9 && \
|
||||
!OSAL_IRQ_IS_VALID_PRIORITY(STM32_UART_UART89_IRQ_PRIORITY)
|
||||
!OSAL_IRQ_IS_VALID_PRIORITY(STM32_UART_UART9_IRQ_PRIORITY)
|
||||
#error "Invalid IRQ priority assigned to UART9"
|
||||
#endif
|
||||
|
||||
|
@ -658,7 +658,7 @@
|
|||
/* Checks on allocation of USARTx units.*/
|
||||
#if STM32_UART_USE_USART1
|
||||
#if defined(STM32_USART1_IS_USED)
|
||||
#error "SD1 requires USART1 but it is already used"
|
||||
#error "UARTD1 requires USART1 but it is already used"
|
||||
#else
|
||||
#define STM32_USART1_IS_USED
|
||||
#endif
|
||||
|
@ -666,7 +666,7 @@
|
|||
|
||||
#if STM32_UART_USE_USART2
|
||||
#if defined(STM32_USART2_IS_USED)
|
||||
#error "SD2 requires USART2 but it is already used"
|
||||
#error "UARTD2 requires USART2 but it is already used"
|
||||
#else
|
||||
#define STM32_USART2_IS_USED
|
||||
#endif
|
||||
|
@ -674,7 +674,7 @@
|
|||
|
||||
#if STM32_UART_USE_USART3
|
||||
#if defined(STM32_USART3_IS_USED)
|
||||
#error "SD3 requires USART3 but it is already used"
|
||||
#error "UARTD3 requires USART3 but it is already used"
|
||||
#else
|
||||
#define STM32_USART3_IS_USED
|
||||
#endif
|
||||
|
@ -682,7 +682,7 @@
|
|||
|
||||
#if STM32_UART_USE_UART4
|
||||
#if defined(STM32_UART4_IS_USED)
|
||||
#error "SD4 requires UART4 but it is already used"
|
||||
#error "UARTD4 requires UART4 but it is already used"
|
||||
#else
|
||||
#define STM32_UART4_IS_USED
|
||||
#endif
|
||||
|
@ -690,7 +690,7 @@
|
|||
|
||||
#if STM32_UART_USE_UART5
|
||||
#if defined(STM32_UART5_IS_USED)
|
||||
#error "SD5 requires UART5 but it is already used"
|
||||
#error "UARTD5 requires UART5 but it is already used"
|
||||
#else
|
||||
#define STM32_UART5_IS_USED
|
||||
#endif
|
||||
|
@ -698,7 +698,7 @@
|
|||
|
||||
#if STM32_UART_USE_USART6
|
||||
#if defined(STM32_USART6_IS_USED)
|
||||
#error "SD6 requires USART6 but it is already used"
|
||||
#error "UARTD6 requires USART6 but it is already used"
|
||||
#else
|
||||
#define STM32_USART6_IS_USED
|
||||
#endif
|
||||
|
@ -706,7 +706,7 @@
|
|||
|
||||
#if STM32_UART_USE_UART7
|
||||
#if defined(STM32_UART7_IS_USED)
|
||||
#error "SD7 requires UART7 but it is already used"
|
||||
#error "UARTD7 requires UART7 but it is already used"
|
||||
#else
|
||||
#define STM32_UART7_IS_USED
|
||||
#endif
|
||||
|
@ -714,7 +714,7 @@
|
|||
|
||||
#if STM32_UART_USE_UART8
|
||||
#if defined(STM32_UART8_IS_USED)
|
||||
#error "SD8 requires UART8 but it is already used"
|
||||
#error "UARTD8 requires UART8 but it is already used"
|
||||
#else
|
||||
#define STM32_UART8_IS_USED
|
||||
#endif
|
||||
|
@ -722,7 +722,7 @@
|
|||
|
||||
#if STM32_UART_USE_UART9
|
||||
#if defined(STM32_UART9_IS_USED)
|
||||
#error "SD8 requires UART9 but it is already used"
|
||||
#error "UARTD9 requires UART9 but it is already used"
|
||||
#else
|
||||
#define STM32_UART9_IS_USED
|
||||
#endif
|
||||
|
@ -730,7 +730,7 @@
|
|||
|
||||
#if STM32_UART_USE_UART10
|
||||
#if defined(STM32_UART10_IS_USED)
|
||||
#error "SD10 requires UART10 but it is already used"
|
||||
#error "UARTD10 requires UART10 but it is already used"
|
||||
#else
|
||||
#define STM32_UART10_IS_USED
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue