What is the most efficient way to port code from one device to another with CubeMX?
Hi,
I have a program generated with the help of CubeMX running on STM32F767VG. Now I have changed the controller from STM32F767VG to STM32F767VI. The only difference between the two boards is that STM32F767VG has 1 MB flash and STM32F767VI has 2 MB flash.
Device from STM32F767VG to STM32F767VI
CubeMX Version: 4.25.0
STM32Cube Version: 1.0
IDE: IAR Embedded Workbench
Since there is not much of a difference between the two boards, I have tried changing the controller from the Options... > General Options > Device and programmed it. The program worked as expected but there was an issue: the board would not go into standby mode with a current consumption of 30µA (which is achieved by the board with STM32F767VG.
I tried making a new CubeMX project for STM32F767VI but that too didn't yield the desired stand-by current. I assume I'm not taking the right way in porting the code from one device to another using CubeMX.
What is the most efficient way to port code from one device to another with CubeMX? [I saw a few videos but those are way too old].
Thank you.
