Page 1 of 1

USB HID device example

Posted: Mon Nov 26, 2018 3:41 am
by chibi-habibi
Hello folks,

I am looking for a HID example to play around on STM32F4. I found one for Kinetis in C:\ChibiStudio\chibios182\community\testhal\KINETIS\FRDM-KL25Z\USB_HID and since Chibios has been around for long time, I am looking for some direction to get a right start. (one example on github does not compile and it would be nice if there is something more recent)

There is a CDC example for STM32 in C:\ChibiStudio\chibios182\community\demos\STM32\RT-STM32F429-DISCOVERY-DMA2D and I am not sure if it is easy to just start there, change descriptors, and add a interrupt xfer routine.

Thanks much!!

Re: USB HID device example

Posted: Mon Nov 26, 2018 8:38 am
by Giovanni
Hi,

Material in the community repository is not necessarily maintained, so better assume some work is required. CDC examples are available under /testhal, HID examples have been posted in the forum, you need to do a search.

Giovanni