Skip to main content
HYeh.2233
Associate II
Dec 9, 2019 10:49 AM UTC
Solved

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

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
Dec 9, 2019 11:41 AM UTC

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

4 replies

Best answer
Dec 9, 2019 11:41 AM UTC

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

HYeh.2233
HYeh.2233Author
Associate II
Dec 11, 2019 3:52 AM UTC

Hello,

Thank you for your reply.

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

Dec 11, 2019 8:03 AM UTC

yes, it is free

HYeh.2233
HYeh.2233Author
Associate II
Dec 12, 2019 10:07 AM UTC

Hello Mikhail,

Thank you for your reply. I will try it.