Add support for Electronut Labs Papyr

Signed-off-by: Tavish Naruka <tavishnaruka@gmail.com>
This commit is contained in:
Tavish Naruka
2019-04-12 19:41:55 +05:30
parent 9d7de45aeb
commit 389c05b643
4 changed files with 131 additions and 20 deletions

View File

@ -40,15 +40,23 @@
#define USB_DESC_H_
#include "tusb.h"
#include "boards.h"
#ifdef __cplusplus
extern "C" {
#endif
#ifndef USB_DESC_VID
#define USB_DESC_VID 0x239A
#endif
#ifndef USB_DESC_UF2_PID
#define USB_DESC_UF2_PID 0x0029
#endif
#ifndef USB_DESC_SERIAL_ONLY_PID
#define USB_DESC_SERIAL_ONLY_PID 0x002A
#endif
/*------------- Configuration Descriptor -------------*/