add hid_test.py for testing #58

add feather nrf52840 express to supported board
This commit is contained in:
hathach
2019-05-02 18:10:06 +07:00
parent a9ef8c9e9d
commit 6446b02ae7
6 changed files with 277 additions and 1 deletions

View File

@@ -30,6 +30,15 @@
#include "bsp/board.h"
#include "tusb.h"
/* This example demonstrate HID Generic raw Input & Output.
* It will receive data from Host (In endpoint) and echo back (Out endpoint).
* HID Report descriptor use vendor for usage page (using template TUD_HID_REPORT_DESC_GENERIC_INOUT)
*
* Run 'python3 hid_test.py' on your PC to send and receive data to this device.
* Python and `hid` package is required, for installation please follow
* https://pypi.org/project/hid/
*/
//--------------------------------------------------------------------+
// MACRO CONSTANT TYPEDEF PROTYPES
//--------------------------------------------------------------------+