cancel
Showing results for 
Search instead for 
Did you mean: 

CubeIDE fatal error: stm32h7xx_hal.h: No such file or directory

raptorhal2
Lead

Apologies - posted to wrong forum group

Host: amd64, 8GB RAM, 500GB SSD, 440GB available

     Ubuntu 20.04, all current updates

Installed the debian amd64 1.11.2 CubeIDE and 6.7.0 MX.

Created a simple H750V application using MX. The IDE installed the

current HAL H7xx library. Building the bare bones before adding more

application code produced the fatal error for the line 36 #include

statement in stm32h7xx_hal.c, plus many syntax error warnings in

stm32h7xx.c, such as in line 71 __IO uint32_t uwTick;.

I did not modify stm32h7xx_hal_conf.h file.

In case files were somehow corrupted, replaced the IDE loaded files stm32h7xx_hal.h and stm32h7xx_hal.c with files from a 1.11.0 HAL separately downloaded HAL library. The same errors ocurred.

ioc file is attached.

Cheers, Hal

1 REPLY 1
KDJEM.1
ST Employee

Hello @raptorhal2​ ,

 At first, let me thank you for reporting this issue.

I have tried to reproduce this issue but I didn't find any error when I build the project with STM32CubeIDE 1.12.0 and STM32Cube_FW_H7_V1.11.0.

For that, I advise you to delete the STM32Cube_FW_H7 used and to download again the last firmware version of STM32CubeH7.

Please let me know if the problem is solved.

When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.

Kaouthar

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.