Skip to main content
Visitor II
December 9, 2025
Question

Compilation error of Ux_Host_MSC example

  • December 9, 2025
  • 1 reply
  • 76 views

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"

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

 

    This topic has been closed for replies.

    1 reply

    Technical Moderator
    December 9, 2025

    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