2021-12-12 07:44 AM
migrating old cubemx project in to new version of cubemx will give me errors while i compile it using STM32 CUBE IDE.
old project compiled successfully no errors.
2021-12-12 08:15 AM
Look at the errors and fix them. Start with the first one as errors can propagate.
2021-12-12 09:04 PM
Evaluate if rebuild the project from scratch and adding your source files is faster than error fight. It is a good skill to grow especially when migrating from other toolchains or other non ST vendors projects anyway.
2021-12-15 08:23 AM
Hello @parth kothiya ,
First let me thank you for your feedback.
Normally errors should not appear after migration from an old STM32CubeMX version to a new one.
Could you please share your .ioc file for further check.
Thanks in advance.
Khouloud.
2021-12-22 12:57 AM
Error is gone if I delete other files excluding main.c then regenerate code then rebuild