Skip to main content
Visitor II
February 19, 2020
Question

usbh_conf.c:67:22: error: unknown type name 'HCD_HandleTypeDef'; did you mean 'PCD_HandleTypeDef'? void HAL_HCD_MspInit(HCD_HandleTypeDef* hcdHandle) ^~~~~~~~~~~~~~~~~ PCD_HandleTypeDef

  • February 19, 2020
  • 2 replies
  • 1196 views

Please solve the error , i am using USB HOST in my Project but my code is already developed without USB HOST So i am implemented USB HOST in my project0690X00000DBs9uQAD.png

    This topic has been closed for replies.

    2 replies

    Technical Moderator
    February 19, 2020

    Hi @MSury.1​ 

    Sorry your post does not give information on your context : board, chip, application etc ...

    I guess from screenshot you are working on STM32H7 ..

    Changed the topic accordingly.

    Olivier

    Super User
    February 19, 2020

    HCD_HandleTypeDef is defined in [CubeH7]\Drivers\STM32H7xx_HAL_Driver\Inc\stm32h7xx_hal_hcd.h

    https://github.com/STMicroelectronics/STM32CubeH7/blob/master/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_hcd.h#L65

    JW