First time doing anything embedded need help

I need help on how to use Beagle V Fire’s polarfire code to my own custom polarfire board the pin configuration and hardware is same