MX project - Code can't be generated when there is '&' sign in the name
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-08-28 5:09 AM
Hi,
I used CubeMX 5.6.1 and then I tried to generate code for project with '&' sign in it, and generation stucked in Copying library files. I restarted CubeMX several times, but nothing changed so I deleted '&' sign and everything goes fine. I tried again by adding '&' and generation of code stuck. Is this some kind of bug in the CubeMX? I'm using Windows 10.
Thanks in advance,
Nenad
Solved! Go to Solution.
- Labels:
-
STM32CubeMX
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-08-28 5:44 AM
Hi @NGajic​ ,
This recommendation will be raised internally in ST to have an enhancement with theses unsupported characters.
Regards,
Aymen.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-08-28 5:32 AM
Hi @NGajic​ ,
I think it's not a bug in CubeMX.
This king of unsupported character is also seen when creating eclipse project for example (see below an eclipse screenshot).
Regards,
Aymen.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-08-28 5:35 AM
I wouldn't call that a bug. There are always some reserved special characters in any computer software. Stick to plain letters and digits and maybe underscore.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-08-28 5:37 AM
Hi @Aymen CHAKROUN​ ,
Ok, if this character cannot be used in Eclipse (I didn't know that), than you should give some info to the users, because generation is stuck and nobody knows why, progress bar is stopped and nothing happens. You have to use Task Manager to kill the process.
Cheers,
Nenad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-08-28 5:44 AM
Hi @NGajic​ ,
This recommendation will be raised internally in ST to have an enhancement with theses unsupported characters.
Regards,
Aymen.
