2014-08-24 06:29 PM
Hi everyone,
So i have started to use STM32 MCUs.I used before Tiva MCUs with IAR and now i'm trying it with the ST.I realy find hard to configure a project to work with the HAL drivers. You need always do so much each time you create a project. So i wanted to use the templates and just change the main.Problem is everytime i copy it, it just doesn't find any of the files associated like HAL drivers.Am i doing anytigh rong? #project-templates-in-workbench2014-08-25 03:08 AM
everytime i copy it, it just doesn't find any of the files associated like HAL drivers.
Correct: It doesn't just find them - you have to tell it where they are!Obviously, if you copy a project without that information, then the copy is also not going to have that information!Look-up the documentation for includes paths, library paths, etc...2014-09-01 08:27 AM
So what is the point of a template if i have to set it up every option, include, file if i copy it?
I always take like 10-20min to set up at project and most of the times it doesn't work the includes even though i included the entire Cube.2014-09-01 08:45 AM
Hi afonso.luis.001,
I don't really have enough insight into what specifically you are doing, and how. Could you provide a little more information about the STM32Cube package you are using ? Please note that you must copy the ''Templates'' folder at the directory hierarchy level.With regards.2015-08-06 08:42 AM
I think I have the same question as Luis. I want to use Cube to configure my hardware. However, when the project is opened in IAR Workbench, I want that project to be pre-configured from a template with C-STAT and C-RUN settings, compiler and linker settings, etc. In fact, even if I don't use Cube, I still want to create a new project from a template.