Fixed some error messages.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15579 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
parent
67c088cdb5
commit
71fcdb7cf4
|
@ -616,7 +616,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
|
||||
|
@ -624,7 +624,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
|
||||
|
@ -632,7 +632,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
|
||||
|
@ -640,7 +640,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
|
||||
|
@ -648,7 +648,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
|
||||
|
@ -656,7 +656,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
|
||||
|
@ -664,7 +664,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
|
||||
|
@ -672,7 +672,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
|
||||
|
|
|
@ -616,7 +616,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
|
||||
|
@ -624,7 +624,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
|
||||
|
@ -632,7 +632,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
|
||||
|
@ -640,7 +640,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
|
||||
|
@ -648,7 +648,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
|
||||
|
@ -656,7 +656,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
|
||||
|
@ -664,7 +664,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
|
||||
|
@ -672,7 +672,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
|
||||
|
|
Loading…
Reference in New Issue