stm32f4: added backend-specific UART pin configuration mechanism