CubeMX 6.4.0 bug - Unable to set up any UART1 mode if none TX pin is free
I've planed use UART1 in "only receive" mode and i used all possible UART1_TX pins for another purposes. In that case UART1 config is bocked and user can't config single wire modes, like "only receive" or "single-wire half duplex " (possible thanks RX/TX Swap).
There are few workarounds:
1) give up UART1 config by cubeMX and write your own code (possible best way)
2) prevent that situation by configuring UART first, before blocking UART1_TX pins by other peripherals

