cancel
Showing results for 
Search instead for 
Did you mean: 

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

HYeh.2233
Associate II

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.

1 ACCEPTED SOLUTION

Accepted Solutions
Mikhail Z
Senior II

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

View solution in original post

4 REPLIES 4
Mikhail Z
Senior II

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

HYeh.2233
Associate II

Hello,

Thank you for your reply.

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

yes, it is free

Hello Mikhail,

Thank you for your reply. I will try it.