Enable TS_PRIMARY_PORT on USART1 for BT use with TunerStudio.Tested on core8 with JDY-31 BT module (#3979)

This commit is contained in:
Benas Brazdziunas 2022-03-03 12:18:21 +00:00 committed by GitHub
parent b8dd903282
commit ec75ae07fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions

View File

@ -24,6 +24,15 @@
#undef EFI_USB_SERIAL_DP
#define EFI_USB_SERIAL_DP GPIOA_12
#undef STM32_SERIAL_USE_USART1
#define STM32_SERIAL_USE_USART1 FALSE
#undef STM32_UART_USE_USART1
#define STM32_UART_USE_USART1 TRUE
#undef TS_PRIMARY_PORT
#define TS_PRIMARY_PORT UARTD1
#undef EFI_CONSOLE_TX_BRAIN_PIN
#define EFI_CONSOLE_TX_BRAIN_PIN GPIOA_9