The best way to convert non-CubeMX project to STM32CubeMX ?
Hello, can somebody share the most efficient steps to convert non-MX project to a STM32CubeMX structured one? Most (or all?) of the Cube examples are not MX-generated hence they are not structured accordingly. So far my procedure has been : start from generating my board configuration main template, then manually bringing the code which I need from Cube examples. After the imported code works I test it in terms of ability to reconfigure in CubeMX and it breaks the compilation quite often . This requires painstakingly go through the code yet again making changes, sometimes even in the driver files.
Is there any documentation or a post on the best practice to convert a working code to STM32CubeMX generated project?
#stm32cubemx #code-migration