2021-07-03 00:12:53 +00:00
|
|
|
// vim: set et:
|
|
|
|
|
|
|
|
#ifndef BSP_INFO_H_
|
|
|
|
#define BSP_INFO_H_
|
|
|
|
|
|
|
|
/*#define USB_VID 0x2e8a*/ /* Raspberry Pi */
|
2021-10-24 14:39:52 +00:00
|
|
|
#define USB_VID 0xcafe /* TinyUSB */
|
2021-07-03 00:12:53 +00:00
|
|
|
/*#define USB_VID 0x1209*/ /* Generic */
|
|
|
|
/*#define USB_VID 0x1d50*/ /* OpenMoko */
|
2021-10-24 14:39:52 +00:00
|
|
|
#define USB_PID 0x1312
|
2021-10-11 20:38:14 +00:00
|
|
|
|
|
|
|
/* openFPGAloader silliness */
|
2021-10-24 14:39:52 +00:00
|
|
|
/*#define USB_VID 0x0d28*/ /* NXP */
|
|
|
|
/*#define USB_PID 0x0204*/ /* ARM mbed */
|
2021-07-03 00:12:53 +00:00
|
|
|
|
|
|
|
// TODO: other RP2040 boards
|
|
|
|
#define INFO_BOARDNAME "RP2040 Pico"
|
|
|
|
|
|
|
|
/* each CFG_TUD_xxx macro must be the max across all modes */
|
|
|
|
// TODO: have this depend on the DBOARD_HAS_xxx macros?
|
|
|
|
#define CFG_TUD_HID 1
|
|
|
|
#ifdef USE_USBCDC_FOR_STDIO
|
|
|
|
#define CFG_TUD_CDC 3
|
|
|
|
#else
|
|
|
|
#define CFG_TUD_CDC 2
|
|
|
|
#endif
|
2021-10-05 14:47:32 +00:00
|
|
|
#define CFG_TUD_VENDOR 2
|
2021-07-03 00:12:53 +00:00
|
|
|
|
|
|
|
#endif
|