Kinetis: Try to make UART/LPUART definitions sane.
This commit is contained in:
parent
27cac7f083
commit
abfb070ee1
@ -89,13 +89,12 @@
|
||||
#undef HAVE_UART_DEVICE
|
||||
#if defined(CONFIG_KINETIS_UART0) || defined(CONFIG_KINETIS_UART1) || \
|
||||
defined(CONFIG_KINETIS_UART2) || defined(CONFIG_KINETIS_UART3) || \
|
||||
defined(CONFIG_KINETIS_UART4) || defined(CONFIG_KINETIS_UART5) || \
|
||||
defined(CONFIG_KINETIS_LPUART0)
|
||||
defined(CONFIG_KINETIS_UART4) || defined(CONFIG_KINETIS_UART5)
|
||||
# define HAVE_UART_DEVICE 1
|
||||
#endif
|
||||
|
||||
#undef HAVE_LPUART_DEVICE
|
||||
#if defined(CONFIG_KINETIS_LPUART0)
|
||||
#if defined(CONFIG_KINETIS_LPUART0) || defined(CONFIG_KINETIS_LPUART1)
|
||||
# define HAVE_LPUART_DEVICE 1
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user