Question
Getting Build Errors in USB Middleware Library for STM32F070
- June 26, 2024
- 1 reply
- 1409 views
Hi,
I want to use USB for STM32F070CBT6 controller and I have enabled the USB device mode as CDC. After generating the source in STMCube IDE, I am getting build errors usbd_cdc_if.h and STM32_USB_Device_Library.
The errors related to "error: unknown type name 'USBD_StatusTypeDef'"
"error: unknown type name 'USBD_HandleTypeDef';"
Kindly help me.