OpenStm32 project stopped working after Cube update
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-10-19 6:46 AM
Posted on October 19, 2015 at 15:46
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.
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-10-19 10:03 AM
Posted on October 19, 2015 at 19:03
Hi Bremen,
Could you precise in which file you have found mentioned line of code? Thank you :) -Shahrzad-Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-10-19 1:15 PM
Posted on October 19, 2015 at 22:15
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.Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-10-20 12:28 AM
Posted on October 20, 2015 at 09:28
The line of code appears as user define in eclipse project settings.
