cancel
Showing results for 
Search instead for 
Did you mean: 

The “Generate under Root” option is grayed out and cannot be changed.

Adams
Associate II

Hi 

I created a new project in STM32CubeIDE, but in Project Manager → Project, the “Generate under Root” option is grayed out and cannot be changed. What’s the reason for this?

Adams_0-1759802593373.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
Mahmoud Ben Romdhane
ST Employee

Hello @Adams ,

 

First let me thank you for posting.

When you create or open a project directly in STM32CubeIDE, it automatically manages the code generation paths and structure.
CubeIDE integrates CubeMX internally, so it locks the [Generate Under Root] option to maintain consistent folder management.

You will only see it enabled if you run standalone STM32CubeMX

 

Thanks.

Mahmoud

 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

View solution in original post

1 REPLY 1
Mahmoud Ben Romdhane
ST Employee

Hello @Adams ,

 

First let me thank you for posting.

When you create or open a project directly in STM32CubeIDE, it automatically manages the code generation paths and structure.
CubeIDE integrates CubeMX internally, so it locks the [Generate Under Root] option to maintain consistent folder management.

You will only see it enabled if you run standalone STM32CubeMX

 

Thanks.

Mahmoud

 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.