Skip to main content
ksale.1
Senior II
Mar 30, 2021 9:48 AM UTC
Solved

STM32CubeIDE Version: 1.6.0 would not generate code for a new project for any uC series (but will update code for existing projects)

I encountered this problem after trying to create a project from an existing ioc file. Afterwards all my endeavors failed as per the below screenshots:0693W000008yEOnQAM.jpg0693W000008yEOsQAM.jpg0693W000008yEP7QAM.jpg0693W000008yEPHQA2.jpg0693W000008yEPRQA2.jpg

This topic has been closed for replies.
Cartu38 OpenDev
Cartu38 OpenDevBest answer
Graduate II
Mar 30, 2021 8:39 PM UTC

I think bug is really about project folder location support if only a single folder on top of disk drive root.

On my side I've got a try (and same issue so) based on File > New > STM32Project.

I guess bug is about unchecking 'use default location' and setting destination folder so close to disk drive root. If keeping default project location is at min 2 level deep within file system hierarchy because first workspace then project repository like : <disk drive root>/<workspace repository>/<project repository>

@STM_support please consider such !

7 replies

Cartu38 OpenDev
Graduate II
Mar 30, 2021 11:06 AM UTC

On latest dialog popup what about if clicking ok then ask for code generation back relying on dedicated toolbar icon (gear weel) ? Is project generating fine then ...

ksale.1
ksale.1Author
Senior II
Mar 30, 2021 12:14 PM UTC

The IDE will crash and I had to kill it.

ksale.1
ksale.1Author
Senior II
Mar 30, 2021 5:00 PM UTC

I've tried to uninstall/redownload the IDE. Still I've the problem. Apparently the uninstall does not provide a clean slate as the installed packages in the old installation are still alive and well, e.g. TouchGFX. Can you please advise how can I really get a fresh start so that I can resume my project.

Cartu38 OpenDev
Graduate II
Mar 30, 2021 8:03 PM UTC

I've been able to reproduce following your snapshots.

Have a try to set as project location D:\myWorkArea\TEST ... works for me ... sounds a bug here using non default location having only one level hierarchy on top of drive root. Adding extra level is solving trouble.

Have a try and share if helping

ksale.1
ksale.1Author
Senior II
Mar 30, 2021 8:25 PM UTC

Thank you very much, it is working for me now as you advised.

What do you advise regarding this option (which I believe is the culprit):

0693W000008yL9GQAU.jpg