cancel
Showing results for 
Search instead for 
Did you mean: 

Generate peripheral initialization to specific directory

gb2835
Associate

STM32CubeIDE 1.10.1

STM32CubeMX 6.6.1-RC2

 

In CubeMX -> Project Manager -> Code Generation there is an option to generate separate file pairs for the peripherals. These files are generated in the Core\Inc and Core\Src folder. Is there a way to have the generated in a separate directory? Ideally I would have them in Drivers\MX. Thanks in advance!

1 REPLY 1
Pavel A.
Evangelist III

You can do this in the post-generation script.