Porting Odrive firmware over to STM32G431 instead of STM32F4


Do you have any knowledge base on how I could port the firmware of the Odrive V3.6 board which has a STM32F4 to another custom board that has a STM32G431?

According to STM32 the STM32F4 boards are going to be made EOL soon and hence they recommend using STM32G431 boards for new projects. Any help will be appreciated.

Hi any help will be appreciated