cancel
Showing results for 
Search instead for 
Did you mean: 

Templates folder has no files using the latest CubeMX

Trevor Jones
Senior

after running Cube for H7,

the <project folder> <template> folder has no files.

I had to copy this to make it work:

I had to copy the contents of the folder :

C:\Users\DAVE\STM32Cube\Repository\STM32Cube_FW_H7_V1.5.0\Drivers\CMSIS\Device\ST\STM32H7xx\Source/ select "Templates"

to :

C:/Users/DAVE/STM32Cube/Repository/STM32Cube_FW_H7_V1.5.0/Projects/H743-144-LCD1/Drivers/CMSIS/Device/ST/STM32H7xx/Source

10 REPLIES 10
Khouloud ZEMMELI
ST Employee

​Hi @Community member​ ,

Well, the problem is related to the Toolchain "Other Toolchains (GPDSC)" for the 5.3.0 CubeMX version , otherwise, you should Select "copy all used libraries into the project folder"  under Code Generator to obtain all folders as indicated . For some IDE as cubeIDE / TrueSt and SW4 (where Generate Under Root should be automatically selected ) it's not possible to check the "copy all.." option so you need to copy them by yourself.

If you choose for example Keil or IAR you will find all files in the project folder.

For the GPDSC, you can select the "copy all.." option as soon as the 5.4.0 CubeMX version will be available.

Best Regards,

Khouloud.