cancel
Showing results for 
Search instead for 
Did you mean: 

stm32f7xx_hal.h: No such file or directory; HAL_Init();

uNavi
Associate II

Background:

1. STM32CubeMX 6.10.0

2. Test DMA in UART.

3. Using STM32CUBEMX to generate codes.

Questions:

1. I found the project did not includes source codes.

2. The HAL_Init(); is in the main function but it did not have source codes to support.

3. I also click copy all used libraries into the project folder but it still can't work.

 

Attached is for your reference, might need your help to solve this issue. Thank you.

1 ACCEPTED SOLUTION

Accepted Solutions
Souhaib MAZHOUD
ST Employee

Hello @uNavi 

Thank you for posting!

Could you please try with CubeMX 6.11.1 and check if the issue persists?

Thnx

Souhaib

View solution in original post

4 REPLIES 4
Souhaib MAZHOUD
ST Employee

Hello @uNavi 

Thank you for posting!

Could you please try with CubeMX 6.11.1 and check if the issue persists?

Thnx

Souhaib

SofLit
ST Employee

Hello,

Do you have the H7 Cube HAL folder STM32Cube_FW_H7_VX.Y (the latest one is STM32Cube_FW_H7_V1.11.2) under C:\Users\<your username>\STM32Cube\Repository ?

I didn't reproduce the issue with your ioc file with CubeMx 6.11.1.

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

Great, it solved. I have another follow-up question. Might need your support to identify the issues

Hello @uNavi ,

As it was solved, please mark the comment that answered your question as "Accept as Solution".

For any further question please open a new thread.

Thank you.

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.