cancel
Showing results for 
Search instead for 
Did you mean: 

Compilation error of Ux_Host_MSC example

tiagocopelli
Associate

Moved from this thread.

Why does attempting to compile this example result in these errors?  

 

../../USBX/Target/ux_stm32_config.h:29:10: fatal error: stm32h5xx_hal.h: No such file or directory

29 | #include "stm32h5xx_hal.h"

| ^~~~~~~~~~~~~~~~~

 

1 REPLY 1
mƎALLEm
ST Employee

Hello @tiagocopelli and welcome to the ST community,

Most probably you've downloaded the project using zip option not with git command with recursive option.

Please review this article: Downloading STM32Cube packages from GitHub correctly

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.