Support debugging on SAMD platforms

This commit is contained in:
Jason Kotzin 2018-07-07 08:34:18 -07:00
parent f67c070b9f
commit 3a7a59ab74

View File

@ -504,7 +504,7 @@ static void cdcacm_set_config(usbd_device *dev, uint16_t wValue)
configured = wValue;
/* GDB interface */
#if defined(STM32F4) || defined(LM4F)
#if defined(STM32F4) || defined(LM4F) || defined(SAMD)
usbd_ep_setup(dev, 0x01, USB_ENDPOINT_ATTR_BULK,
CDCACM_PACKET_SIZE, gdb_usb_out_cb);
#else