25 Commits

Author SHA1 Message Date
hathach
c006f3dbce adding optional ep out for hid
refactor usbd_open_edpt_pair
2019-05-01 19:29:56 +07:00
hathach
23bcf1cc7a
remove auto descriptor and its option CFG_TUD_DESC_AUTO 2019-04-18 23:59:21 +07:00
hathach
f26fbaf404
clean up remove usbd_control_stall() 2019-03-27 16:26:52 +07:00
hathach
1e9848d917
replace dcd_edpt_(clear)stall by usbd_edpt_(clear)stall
- remove dcd_edpt_stalled() from dcd porting
2019-03-27 16:09:49 +07:00
hathach
c211ee19dd migrate license from BSD 3 clause to MIT 2019-03-20 16:11:42 +07:00
hathach
eda56769b9 dcd_set_address include status response, usbd control stall both control in and out 2019-03-13 23:14:48 +07:00
hathach
1c49c479ca seperate tusb_task() to tud_task() and tuh_task()
tusb_task() still exists for backward compatible
2018-12-13 14:51:37 +07:00
hathach
af1ffe4675 remove task void* param 2018-12-13 13:53:43 +07:00
hathach
b6cb4757d2
change class driver open return type to bool 2018-12-12 13:00:59 +07:00
hathach
d887829b4c
change usbd_init() return to bool for simplicity 2018-12-05 17:30:04 +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
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