Skip to main content
MSury.1
Associate 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
  • 1707 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

Olivier GALLIEN
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

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.
waclawek.jan
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