14 Commits

Author SHA1 Message Date
Scott Shawcroft
7a40ec2647
Split out the control endpoint logic 2018-11-07 23:04:34 -08:00
Scott Shawcroft
c582c0fda9
Add SAMD21 and SAMD51 support for CircuitPython.
The ProtoThreads style subtasks were removed because it led to
extremely unclear control flow. RTOSes can be used if threading is
needed.

Also added some additional functionality to MSC to support dynamic
LUNs and read-only LUNs.
2018-11-07 12:02:28 -08:00
hathach
2708632a6a clean up osal 2018-11-02 17:26:35 +07:00
hathach
177adf4bfa replace dcd_bus_event() and dcd_setup_received() by dcd_event_handler() 2018-10-23 16:31:45 +07:00
hathach
cf43a6b53b fix memory issue with usbd control xfer 2018-08-15 17:55:16 +07:00
hathach
6d96b12e27 improve auto descriptor 2018-08-01 00:50:04 +07:00
hathach
5dd02cbdd3 house keeping 2018-07-27 16:59:57 +07:00
hathach
798ce59ebd revert usbd_control_xfer_st() implementation
enhance cdc with better multiple interfaces support
add default ep size for cdc and msc device CFG_TUD_CDC_EPSIZE,
CFG_TUD_MSC_EPSIZE
2018-07-17 16:04:55 +07:00
hathach
e0c4e11ea3 use _usbd_ctrl_buf for control transferm refactor cdc device 2018-07-14 15:12:42 +07:00
hathach
a623f0c179 better multiple interfaces support for cdc device 2018-07-13 00:32:02 +07:00
hathach
15cd30629a clean up usbd auto desc 2018-07-10 00:36:07 +07:00
hathach
d438000b99 clean up 2018-06-22 16:01:55 +07:00
hathach
e3591ac682 enhance usbd: add usbd_defer_func() 2018-06-22 12:53:13 +07:00
hathach
424735d440 rename subfolder source to src 2018-06-18 14:05:24 +07:00