[Lisa MX] Added option to remap UART1

This commit is contained in:
podhrmic
2016-07-28 11:56:08 -07:00
committed by Felix Ruess
parent 6d0f594731
commit ba5714ad66
+8
View File
@@ -135,11 +135,19 @@
/* UART */
#if REMAP_UART1
#define UART1_GPIO_AF GPIO_AF7
#define UART1_GPIO_PORT_RX GPIOB
#define UART1_GPIO_RX GPIO7
#define UART1_GPIO_PORT_TX GPIOB
#define UART1_GPIO_TX GPIO6
#else
#define UART1_GPIO_AF GPIO_AF7
#define UART1_GPIO_PORT_RX GPIOA
#define UART1_GPIO_RX GPIO10
#define UART1_GPIO_PORT_TX GPIOA
#define UART1_GPIO_TX GPIO9
#endif /* REMAP_UART1 */
#define UART2_GPIO_AF GPIO_AF7
#define UART2_GPIO_PORT_RX GPIOA