AnsweredAssumed Answered

CubeMX: Where to place own source/header files?

Question asked by Andreas Freund on Jun 23, 2017
Latest reply on Jun 30, 2017 by Andreas Freund

Hey guys,


i just created a project for the STM32L4 Discovery Board with CubeMX (I'm using Atollic TrueStudio). I assume that CubeMX always generates the same structure, namely the folders 'Drivers', 'Inc', 'Src', 'startup' and 'Middlewares'. Is this assumption correct or is this structure only generated when using CubeMX with Atollic TrueStudio (e.g. I could have used Eclipse + OpenSTM32 instead)?


Now, where can I place my own source code and header files? Do I have to use the folders 'Src' and 'Inc'? I would prefer using my own structure, because I only want to port an already existing software to STM32.


Thanks in advance!