Skip to main content
Associate II
May 17, 2023
Solved

Enable USE_USBD_COMPOSITE for HID

Hi, 

I'm, working on STM32G0B1RE dev kit. I need to implement USB HID Composite Device class for keyboard and mouse. Can someone help me where(in which file) I can enable USE_USBD_COMPOSITE macro?

This topic has been closed for replies.
mohamed.ayed
mohamed.ayedBest answer
ST Employee
May 17, 2023

Hi @Tarun, you can take a look to this HID composite application (Mouse + Keyboard) application based on USBX middleware running on STM32H747

https://github.com/STMicroelectronics/x-cube-azrtos-h7/tree/main/Projects/STM32H747I-DISCO/Applications/USBX/Ux_Device_DualHID

1 reply

mohamed.ayed
mohamed.ayedBest answer
ST Employee
May 17, 2023

Hi @Tarun, you can take a look to this HID composite application (Mouse + Keyboard) application based on USBX middleware running on STM32H747

https://github.com/STMicroelectronics/x-cube-azrtos-h7/tree/main/Projects/STM32H747I-DISCO/Applications/USBX/Ux_Device_DualHID