Skip to main content
PGreg.1
Associate
August 12, 2020
Question

migrate from STM32 board to an other

  • August 12, 2020
  • 2 replies
  • 1189 views

Hello ST community,

I want to port code from an STM32H747I to an STM32F769I, how can I do that?

I've already generate a new project with CubeIDE but I'm stucking on some files

thank you

This topic has been closed for replies.

2 replies

Tesla DeLorean
Guru
August 12, 2020

>>but I'm stucking on some files

Which ones?

The H7 has a different bus and peripheral set.

Hopefully your core code is relatively contained and you can merge it.

If the new project isn't an adequate proxy, have the tools auto-gen something closer in functionality and peripheral support.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
PGreg.1
PGreg.1Author
Associate
August 12, 2020

Yes but I added the the discovery library(stm32769I_discovry_sdram, SD, lcd) also the BSP driver, I changed the header files from the H7 project to be compatible with the F7 but I get a lot of errors and finally I got an error said: fmc has no member BTCR (#define __FMC_NORSRAM_DISABLE(__INSTANCE__, __BANK__)...

the problem is all the BSP files are not compatible! What should I do? How can I follow step by step the BSP drivers to correct them?

TDK
Super User
August 12, 2020

The F7 and H7 series are sufficiently different that I would create a new project and copy code/files over to the new one and debug as necessary. Hard to provide much info without knowing the details of what you're porting. Not everything is going to have a 1-to-1 function analog.

"If you feel a post has answered your question, please click ""Accept as Solution""."
PGreg.1
PGreg.1Author
Associate
August 12, 2020

So what I have to do?