cancel
Showing results for 
Search instead for 
Did you mean: 

MxCube code generator directory structure

regjoe
Associate III

Hi,

I want to generate code and project files for MDK-ARM and STM32CubeIDE.

For this I created a new directory and copied the .ioc file into it and opened it it with CubeMx (latest version 6.13).

In the projectmanager/project the following directory structure is shown now:

 

initial_view.png If I now change the toolchan / IDE e.g. to STM32CubeIDE and back to MDK-ARM, CubeMx adds the project name to the Toolchain Folder Location.

modified_view.png

If I now hit the "Generate Code" button, a new directory with the project name is created containing the toolchain directory with the project configuration files.

For example if I select the STM32 IDE toolchain/IDE 

stmcubeide.png

the following directory structure is created

codegen_done.png

directory_struct.png#

I don't want that Toolchain/IDE directory is created inside the <projectname> directory.

I wonder if this is new in 6.13 because a couple of weeks before when I first generated code with 6.12 the following directory structure has been created:

old_directory_struct.png 

 Additionally, after Code Gen the project is automatically imported into CubeIDE but I cannot open the project.

Am I doing something wrong? How can I avoid to create the additional <projectname> subdirectory?

0 REPLIES 0