Ability to select specific serial port on MCU

Hello. Main idea is that it would be sweet if I would able not only choose if I want USB/Serial connection, but also which serial connection I want, like in Marlin FW. My LPC1769 have 4 UARTs onboard, and having UART0 not working (hardware failure) stopping me from having klipper serial connection between board and Pi. On Marlin I can easily switch to unnecessary WiFi header for example, which have UART3 pinout.