Support debugging on SAMD platforms
This commit is contained in:
parent
f67c070b9f
commit
3a7a59ab74
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user