Porting project to unlisted Target

Is there any documentation on how to port a design from an Mbed available target to a custom board? As an example, I finished a motor control project using STM32 Tools (not Mbed) that I developed on a Nucleo-G431RBt (64-pin) but then ported to a custom board using a STM32G431CBUx (48pin). This was a very painful exercise. If I do something similar in Mbed is there a path to port to a different chip in the same family?

Thanks,
Brian

Hello,

look to the Porting custom boards

BR, Jan

Excellent!!! Thank you for this, I feel better choosing this path now :wink: