cancel
Showing results for 
Search instead for 
Did you mean: 

../Inc/main.h(58): error: #5: cannot open source input file "stm32h7xx_nucleo_144.h": No such file or directory

Bilge
Associate III

Hi,

I use stm32h743ZI nucleo .cubemx and keil.I created c and h files in a new folder.I'm getting the error in this way when I call the h file that I just created in main.../Inc/main.h(58): error: #5: cannot open source input file "stm32h7xx_nucleo_144.h": No such file or directory.

1 REPLY 1
Imen.D
ST Employee

Hello,

You have to configure  correctly your project.

Go to Project options -> "C/C++" tab -> Include paths and add the correct paths to your include directories.

Kind Rgeards,

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen