UART DMA for "primary" connector #1528
This commit is contained in:
parent
836011bfeb
commit
63e936a5e8
|
@ -37,6 +37,9 @@
|
|||
|
||||
#define ADC_CHANNEL_VREF ADC_CHANNEL_IN14
|
||||
|
||||
#undef PRIMARY_UART_DMA_MODE
|
||||
#define PRIMARY_UART_DMA_MODE FALSE
|
||||
|
||||
#undef EFI_CONSOLE_SERIAL_DEVICE
|
||||
#undef EFI_CONSOLE_UART_DEVICE
|
||||
|
||||
|
|
|
@ -335,7 +335,7 @@
|
|||
//#define EFI_CONSOLE_SERIAL_DEVICE (&SD3)
|
||||
#endif
|
||||
|
||||
#define CONSOLE_UART_DEVICE (&UARTD3)
|
||||
//#define CONSOLE_UART_DEVICE (&UARTD3)
|
||||
|
||||
/**
|
||||
* Use 'HAL_USE_UART' DMA-mode driver instead of 'HAL_USE_SERIAL'
|
||||
|
|
|
@ -222,10 +222,6 @@ bool isUsbSerial(BaseChannel * channel) {
|
|||
}
|
||||
|
||||
BaseChannel * getConsoleChannel(void) {
|
||||
#if defined(CONSOLE_UART_DEVICE)
|
||||
return nullptr;
|
||||
#endif //CONSOLE_UART_DEVICE
|
||||
|
||||
#if defined(EFI_CONSOLE_SERIAL_DEVICE)
|
||||
return (BaseChannel *) EFI_CONSOLE_SERIAL_DEVICE;
|
||||
#endif /* EFI_CONSOLE_SERIAL_DEVICE */
|
||||
|
|
Loading…
Reference in New Issue