UART DMA for "primary" connector #1528
This commit is contained in:
parent
7d4f3f73f5
commit
50d25f9ad0
|
@ -155,7 +155,8 @@
|
|||
#define EFI_MCP_3208 FALSE
|
||||
|
||||
#ifndef EFI_HIP_9011
|
||||
#define EFI_HIP_9011 TRUE
|
||||
// disabling for now - DMA conflict with SPI1
|
||||
#define EFI_HIP_9011 FALSE
|
||||
#endif
|
||||
|
||||
#ifndef EFI_CJ125
|
||||
|
@ -331,9 +332,11 @@
|
|||
|
||||
// todo: start using consoleUartDevice? Not sure
|
||||
#ifndef EFI_CONSOLE_SERIAL_DEVICE
|
||||
#define EFI_CONSOLE_SERIAL_DEVICE (&SD3)
|
||||
//#define EFI_CONSOLE_SERIAL_DEVICE (&SD3)
|
||||
#endif
|
||||
|
||||
#define CONSOLE_UART_DEVICE (&UARTD3)
|
||||
|
||||
/**
|
||||
* Use 'HAL_USE_UART' DMA-mode driver instead of 'HAL_USE_SERIAL'
|
||||
*
|
||||
|
@ -343,10 +346,10 @@
|
|||
* in mcuconf.h
|
||||
*/
|
||||
#define TS_UART_DMA_MODE FALSE
|
||||
#define PRIMARY_UART_DMA_MODE FALSE
|
||||
#define PRIMARY_UART_DMA_MODE TRUE
|
||||
|
||||
//#define TS_UART_DEVICE (&UARTD3)
|
||||
#define TS_SERIAL_DEVICE (&SD3)
|
||||
//#define TS_SERIAL_DEVICE (&SD3)
|
||||
|
||||
#define AUX_SERIAL_DEVICE (&SD6)
|
||||
|
||||
|
|
|
@ -300,7 +300,7 @@
|
|||
*/
|
||||
#define STM32_SERIAL_USE_USART1 TRUE
|
||||
#define STM32_SERIAL_USE_USART2 TRUE
|
||||
#define STM32_SERIAL_USE_USART3 TRUE
|
||||
#define STM32_SERIAL_USE_USART3 FALSE
|
||||
#define STM32_SERIAL_USE_UART4 FALSE
|
||||
#define STM32_SERIAL_USE_UART5 FALSE
|
||||
#define STM32_SERIAL_USE_USART6 TRUE
|
||||
|
|
Loading…
Reference in New Issue