DragonProbe/bsp/rp2040/protocfg.h

29 lines
543 B
C

#ifndef PROTOCFG_H_
#define PROTOCFG_H_
#define DBOARD_HAS_UART
#define DBOARD_HAS_CMSISDAP
#define DBOARD_HAS_SERPROG
#define DBOARD_HAS_I2C
#define HID_N_CMSISDAP 0
#define CDC_N_UART 0
#define CDC_N_SERPROG 1
#define VND_N_I2CTINYUSB 0
#ifdef USE_USBCDC_FOR_STDIO
#define CDC_N_STDIO 2
#endif
/*#define USB_VID 0x2e8a*/ /* Raspberry Pi */
#define USB_VID 0xcafe /* TinyUSB */
/*#define USB_VID 0x1209*/ /* Generic */
/*#define USB_VID 0x1d50*/ /* OpenMoko */
// TODO: other RP2040 boards
#define INFO_BOARDNAME "RP2040 Pico"
#endif