Modifying pin mux for CAN1

Hello,
I did a quick search but didn't see where this question might fit in.
I have a Arduino GIGA R1 WIFI and I would like to change the CAN1 pin assignments so that it runs on the UART4 pins. I don't mind disabling UART4 in lieu CAN1.
I figure I will need to recompile the Mbed layer but how does the Mbed layer handle the pin mappings?
I currently am using a STM32H753 and would go about changes the pins in the Cube-MX tool.
The end goal is to have a duel CAN shield for the GIGA, any help would be appreciated..
James

Hi James, might be as simple as changing your pins_arduino.h and recomp the sketch.

UART 4 is (14u) / (15u)