Can program run on Custom-made motherboard

If I wrote a program with mbed for DISCO-F429ZI. Can this program run on my Custom-made motherboard (based on stm32f429zi)?

Hello,

that’s exactly what Mbed targets on, but of course dev-kit and custom board probably will not 1:1 so some modification will be necessary.

BR, Jan