hathach
c211ee19dd
migrate license from BSD 3 clause to MIT
2019-03-20 16:11:42 +07:00
hathach
c1c501e0c2
change usbd xfer_cb return type to bool
2018-12-12 13:12:06 +07:00
hathach
b6cb4757d2
change class driver open return type to bool
2018-12-12 13:00:59 +07:00
hathach
6d86db3977
rename edpt_dir/number/addr to tu_edpt_*
2018-12-12 11:51:31 +07:00
hathach
8b03b6d3b4
add Auto descriptor endpoint num config to support lpc17xx
...
CFG_TUD_DESC_*_EPNUM
2018-11-28 16:10:31 +07:00
hathach
80ecf1fd54
add OPT_MODE_HIGH_SPEED
2018-11-26 14:56:07 +07:00
hathach
cb8782e5f2
rename tusb_event_t to xfer_result_t
2018-11-23 15:14:47 +07:00
hathach
4314be9aeb
msc device block count and block num
...
- replace CFG_TUD_MSC_BLOCK_NUM & CFG_TUD_MSC_BLOCK_SZ by
tud_msc_capacity_cb() (mandatory callback)
2018-11-22 12:11:06 +07:00
hathach
215f8603b1
nrf5x: refactor device control transfer.
...
- make control transfer as part of usbd. Class driver must use
usbd_control_ API() instead of dcd_ api.
- change the signature of class driver's control_request
- allow control request complete to stall in staus stage
- move control request parser & handling to usbd.
2018-11-16 21:56:39 +07:00
Scott Shawcroft
30e3c64134
Polish up control split and treat it more like a normal endpoint.
2018-11-08 13:45:30 -08:00
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
e07b1acbed
rename VERIFY to TU_VERIFY to avoid conflict with application
2018-08-13 18:10:23 +07:00
hathach
cf6c534c19
add usb msc callback description
2018-07-27 17:20:15 +07:00
hathach
72b600c393
update device msc callback
2018-07-26 22:41:46 +07:00
hathach
f5b2912372
add tud_msc_set_sense(), update msc device to reponse with default sense (illegal request) when there is issue with scsi command
2018-07-26 15:59:13 +07:00
hathach
9365794623
clean up device msc API
2018-07-25 20:34:56 +07:00
hathach
2729937e87
add tud_msc_ready()
2018-07-25 12:26:08 +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
dccb06ba7d
rename class driver close() to reset()
2018-07-13 16:09:26 +07:00
hathach
424735d440
rename subfolder source to src
2018-06-18 14:05:24 +07:00