Skip to main content
HYeh.2233
Associate II
December 9, 2019
Solved

How to use STM32CubeH7 Templates to develop a new project in SW4STM32 IDE?

  • December 9, 2019
  • 2 replies
  • 1412 views

My IDE is SW4STM32. The board is STM32H757 I-EVAL. I download STM32Cube_FW_H7_V1.5.0 to start development. I have read the document UM2204 "Getting started with STM32CubeH7 for STM32H7 Series" but I still can't develop my own application through Templates project now. I copy the Templates Project to my workspace folder and use SW4STM32 to rebuild it. But there are many errors, most of them are like can't find file stm32h7xx_hal.h,

can't find file stm32h7xx_hal_***.h, and so on. I copy those files into the my project folder. But it seems that too much .h files need to be copied. Is there a clear and clever way to achieve my goal? Thanks for your help.

This topic has been closed for replies.
Best answer by

You can try using CubeMX to generate the skeleton of the project.

2 replies

Best answer
December 9, 2019

You can try using CubeMX to generate the skeleton of the project.

HYeh.2233
HYeh.2233Author
Associate II
December 11, 2019

Hello,

Thank you for your reply.

STM32CubeMX needs  Java™ Run Time Environment. Is JAVA free for installing and using STM32CubeMX?

December 11, 2019

yes, it is free

HYeh.2233
HYeh.2233Author
Associate II
December 12, 2019

Hello Mikhail,

Thank you for your reply. I will try it.