Bug: LL UART Generated code enables UART before calling LL_USART_SetTXRXSwap.
Steps to reproduce:
Enable asynchronous UART
Enable Tx and Rx pins swapping
Select LL driver instead of HAL.
Code generated at end of MX_UART4_Init:
LL_USART_Enable(UART4);
LL_USART_SetTXRXSwap(UART4, LL_USART_TXRX_SWAPPED);Reference manual states pins must be swapped before UART is enabled.