Thank you very much for your reply.
However, take in account that the vector tables for the two MCUs differ, so if you are going to do something more advanced with your board, then you need to pick the right vector table for your Nucleo. However, the hello nucleo example will work.
How do I pick the right vector table? (I am planning to use SPI, and interruptions later- I dont know if that qualifies as advanced)