2020-08-12 11:12 AM
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
2020-08-12 12:01 PM
>>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.
2020-08-12 02:27 PM
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.
2020-08-12 02:30 PM
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?
2020-08-12 02:33 PM
So what I have to do?