Skip to main content
Trevor Jones
Senior
August 22, 2019
Question

Templates folder has no files using the latest CubeMX

  • August 22, 2019
  • 7 replies
  • 1744 views

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

This topic has been closed for replies.

7 replies

Khouloud ZEMMELI
ST Employee
August 27, 2019

​Hello @Community member​ ,

could you please share your ioc file (where the probleme exist) ?

best regards,

Khouloud

Trevor Jones
Senior
August 27, 2019
Thanks for looking into this for me. <> Virus-free. www.avg.com <> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
Khouloud ZEMMELI
ST Employee
August 27, 2019

​you are welcome, attach your ioc please.

Best regards,

Khouloud

T J
Senior III
August 27, 2019

I did attach it from my email, :(

now logged in,

it is the same for H7 or F7,

when using GPGSC, the templates folder is missing many necessary files.

Khouloud ZEMMELI
ST Employee
September 2, 2019

Hello ​@Community member​  and @Community member​ issue will be fixed in the next release.

Best Regards,

Khouloud.

Trevor Jones
Senior
September 3, 2019

thanks for that

T J
Senior III
September 8, 2019

when is the next release ?

Khouloud ZEMMELI
ST Employee
September 9, 2019

It will be released Week 40.

Best Regards,

Khouloud.​

Trevor Jones
Senior
September 12, 2019

I found another issue

this file is also not copied across when using GPDSC

STM32Cube/Repository/STM32Cube_FW_H7_V1.5.0/Middlewares/Third_Party/FatFs/src/option/ccsbcs.c

this file is needed for long file names.

Khouloud ZEMMELI
ST Employee
September 12, 2019

​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.