USB HID device example

ChibiOS public support forum for topics related to the STMicroelectronics STM32 family of micro-controllers.

Moderator: RoccoMarco

Post Reply
chibi-habibi
Posts: 4
Joined: Sat Nov 10, 2018 5:46 am

USB HID device example

Post 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!!
User avatar
Giovanni
Site Admin
Posts: 14893
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: USB HID device example

Post 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
Post Reply