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:
parent
b8dd903282
commit
ec75ae07fb
|
@ -24,6 +24,15 @@
|
||||||
#undef EFI_USB_SERIAL_DP
|
#undef EFI_USB_SERIAL_DP
|
||||||
#define EFI_USB_SERIAL_DP GPIOA_12
|
#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
|
#undef EFI_CONSOLE_TX_BRAIN_PIN
|
||||||
#define EFI_CONSOLE_TX_BRAIN_PIN GPIOA_9
|
#define EFI_CONSOLE_TX_BRAIN_PIN GPIOA_9
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue