Sample projects with ChibiOS, mainly for STM32F0xx boards
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

875 B

A Teensy-style "debug" channel over USB raw HID

A simple version

This example implements a raw HID device, which is able to send "debug" messages, akin to the original Teensy usb_debug_only example.

This version does not implement the hid debug channel as a class, it simply provides a couple of functions to write to it, Teensy-style.

The version does not implement the flush timer, the output needs to be flushed manually by calling usb_debug_flush_output().

It is compatible with the original PJRC's hid_listen program, but a simple python reimplementation is provided (requires the hidapi module, i.e. pip install hidapi).