cancel
Showing results for 
Search instead for 
Did you mean: 

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

MSury.1
Associate II

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

2 REPLIES 2
Olivier GALLIEN
ST Employee

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

Olivier GALLIEN
In order 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.

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