Skip to main content
Explorer II
June 12, 2024
Solved

Porting STM32F1 Firmware to STM32F4

  • June 12, 2024
  • 2 replies
  • 1434 views

Hey all, I want to port this https://github.com/ArduCAM/STM32/tree/master/STM32F103 package to use for an STM32F446RE development board. Can anyone offer any advice as to the best practices of accomplishing this? Would it be modifying mapping of GPIOs, clock speed, and peripherals?

    This topic has been closed for replies.
    Best answer by STTwo-32

    Hello @DarthNecro95 

    I suggest you follow the recommendations of the AN3364 and AN4904 for an easy migration between STM32F1 and STM32F4.

    Best Regards.

    STTwo-32

    2 replies

    STTwo-32Answer
    Technical Moderator
    June 12, 2024

    Hello @DarthNecro95 

    I suggest you follow the recommendations of the AN3364 and AN4904 for an easy migration between STM32F1 and STM32F4.

    Best Regards.

    STTwo-32

    Graduate II
    June 12, 2024

    Pin mapping might be easier, but then other high pin count peripherals tend to only provide singular choices.

    I'd make a new donor project, getting diagnostic, debug and output working, and then start merging in portions, starting with the simplest, typically GPIO's and then moving to more complex as you can build and test