STM32CubeMX error during project generation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-04-01 2:42 AM
Hello! I use CubeMX ver.5.1.0 and Linux Mint 19. When i push the button "Generate code" CubeMX creates source files and headers, but doesn't creates any project files or makefiles. Than it shows error message(screenshot in attachments). It shows this message with all types of toolchains excepts item "Other Toolchains(GPDSC)".
- Labels:
-
STM32CubeMX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-04-01 6:41 AM
While you're waiting for more helpful answers: start the CubeMX from a terminal window, so you can see all the error or debug messages. Maybe something interesting will show up.
-- pa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-04-01 4:06 PM
On Windows you can also check STM32CubeMX.log at C:\Users\<username>\.stm32cubemx.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-04-01 8:40 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-04-01 9:08 PM
Seen a few of these with V5.1.0 too, in Windows 10.
Yes it's copying HAL driver files to your project and thinks it can't. Calling it a "problem" isn't helpful. If you didn't enable or disable a peripheral in the .ioc and it's copying these files, that's a bug too. Can only guess.
- Check permissions
- Close anything that could have a lock, include file managers, and retry
- Reboot and retry
- Delete the Drivers directory and retry
- Delete the .mxproject file and retry
