2021-06-06 03:10:36 +00:00
|
|
|
|
|
|
|
#ifndef PROTOCFG_H_
|
|
|
|
#define PROTOCFG_H_
|
|
|
|
|
2021-06-28 20:04:40 +00:00
|
|
|
/*#define DBOARD_HAS_UART
|
2021-06-06 03:10:36 +00:00
|
|
|
#define DBOARD_HAS_CMSISDAP
|
2021-06-28 20:04:40 +00:00
|
|
|
#define DBOARD_HAS_SERPROG
|
|
|
|
#define DBOARD_HAS_I2C
|
|
|
|
#define DBOARD_HAS_TEMPSENSOR*/
|
|
|
|
|
|
|
|
enum {
|
|
|
|
/*HID_N_CMSISDAP = 0,*/
|
|
|
|
|
|
|
|
HID_N__NITF
|
|
|
|
};
|
|
|
|
enum {
|
|
|
|
/*CDC_N_UART = 0,
|
|
|
|
CDC_N_SERPROG,*/
|
|
|
|
#ifdef USE_USBCDC_FOR_STDIO
|
|
|
|
CDC_N_STDIO,
|
|
|
|
#endif
|
|
|
|
|
|
|
|
CDC_N__NITF
|
|
|
|
};
|
|
|
|
enum {
|
|
|
|
VND_N__NITF = 0
|
|
|
|
};
|
2021-06-06 03:10:36 +00:00
|
|
|
|
2021-06-20 21:58:26 +00:00
|
|
|
#define CFG_TUD_HID 0
|
2021-06-28 20:04:40 +00:00
|
|
|
#ifdef USE_USBCDC_FOR_STDIO
|
|
|
|
#define CFG_TUD_CDC 1
|
|
|
|
#else
|
|
|
|
#define CFG_TUD_CDC 0
|
|
|
|
#endif
|
2021-06-20 21:58:26 +00:00
|
|
|
#define CFG_TUD_VENDOR 0
|
|
|
|
|
2021-06-28 20:04:40 +00:00
|
|
|
/*#define USB_VID 0x2e8a*/ /* Raspberry Pi */
|
|
|
|
#define USB_VID 0xcafe /* TinyUSB */
|
|
|
|
/*#define USB_VID 0x1209*/ /* Generic */
|
|
|
|
/*#define USB_VID 0x1d50*/ /* OpenMoko */
|
|
|
|
#define USB_PID 0x1312
|
|
|
|
|
|
|
|
#define INFO_BOARDNAME "Unknown"
|
2021-06-13 23:32:21 +00:00
|
|
|
|
2021-06-06 03:10:36 +00:00
|
|
|
#endif
|
|
|
|
|