cancel
Showing results for 
Search instead for 
Did you mean: 

How to generate customised code structure using templates in STM32CubeIDE

newbie_stm32
Associate III

Hi Community,

I came across a situation to restructure the code base made out of STM32CubeIDE. Explored an option in Device Configuration Tool > Project Manager > Code Generator > Template Settings for the same.

How to use it to restructure existing code as per the project's need? Is there any other option that serves this purpose?

1 REPLY 1
newbie_stm32
Associate III

Hi Community,

Any input or document will be helpful on this topic.

I just wanted to modify the default directory structure of STM32CubeIDE to something like this

newbie_stm32_0-1690267742692.png

The requirement is to put code generated by Device Configuration Tool into the default and code written by the developer into the user to build a project using CMake.