Loading...
 
Skip to main content

System Workbench for STM32


Trying to make a USB HID mouse from cube mx

Eureka!!

i have find the problem: its coming from the usbd_conf.c

2 values are wrong in the file generated by the cube!


USBD_StatusTypeDef USBD_LL_Init (USBD_HandleTypeDef *pdev)
{
....
hpcd_USB_OTG_FS.Init.dev_endpoints = 6;//

 
Collapse/expand modules below