2015-10-19 06:46 AM
Hello there,
I have updated Cube MX to the latest version. I had a project imported (openSTM32) from some older cube version. Now the project doesnt compile because it states that the symbol added (it wasnt there before) is invalid:__weak=__attribute__((weak))
If I remove the symbol the code compiled but doesnt work anymore. Now I cannot update code using CubeMx because the eclipse project will get corrupted. I really need help on this, I would apreciate all!
Ps: Even when in CubeMx I click ''continue'' instead of ''migrate'' when opening the project, it gets corrupted at some point anyways.
2015-10-19 10:03 AM
Hi Bremen,
Could you precise in which file you have found mentioned line of code? Thank you :) -Shahrzad-2015-10-19 01:15 PM
Very reproducible. It seems to be in the project file and shows up in the GCC defines panel in Eclipse.
If you create a new project in CubeMX and import it into Eclipse, you can generate the problem yourself in just a few minutes.2015-10-20 12:28 AM
The line of code appears as user define in eclipse project settings.