summaryrefslogtreecommitdiff
path: root/src/device/usbd.c
AgeCommit message (Collapse)Author
2019-04-11remove auto device descriptorhathach
Application should declare its own device descriptor
2019-04-02usbd better support suspend/resumehathach
2019-03-30added tud_suspended() and tud_ready()hathach
2019-03-30self powered and remote wakeup support are from configuration descriptor ↵hathach
attribute
2019-03-30added dcd_remote_wakeup() stub for all portshathach
2019-03-30added tud_set_self_powered(), fix #50 reponse to GET_STATUS requesthathach
2019-03-30replaced config_num by configuredhathach
2019-03-30usbd add connected, suspended, remote_wakeuphathach
- remove use of osal_queue_reset
2019-03-29clean up control req a bithathach
2019-03-29support set/clear feature Device_remote_wakeuphathach
2019-03-29working on suspend and resumehathach
change dcd_init signature
2019-03-29added Suspend and Resume event for nrf5x porthathach
also rename DCD_EVENT_SUSPENDED to DCD_EVENT_SUSPEND
2019-03-27add tud_mounted() check in tud_cdc_connected()hathach
mark device as disconnected immed with DCD_EVENT_UNPLUGGED
2019-03-27cleanup, remove the use of _TINY_USB_SOURCE_FILE_hathach
2019-03-27clean up remove usbd_control_stall()hathach
2019-03-27replace dcd_edpt_(clear)stall by usbd_edpt_(clear)stallhathach
- remove dcd_edpt_stalled() from dcd porting
2019-03-20migrate license from BSD 3 clause to MIThathach
2019-03-13dcd_set_address include status response, usbd control stall both control in ↵hathach
and out
2019-01-29zero init internal class/device datahathach
2019-01-29add tusb_inited() API, check for inited() before running device/host taskhathach
2019-01-04Add USB Midi support.Scott Shawcroft
It also introduces a txbuffer which copies data into it but passes the buffer straight to the USB rather than another copy.
2018-12-13seperate tusb_task() to tud_task() and tuh_task()hathach
tusb_task() still exists for backward compatible
2018-12-13remove task void* paramhathach
2018-12-13osal clean uphathach
remove OSAL_TASK_DEF, osal_task_create. Applicaton should create a task and call tinyusb_task(). This make API consistent with NO OS.
2018-12-12change usbd xfer_cb return type to boolhathach
2018-12-12change class driver open return type to boolhathach
2018-12-12rename descriptor_* helper to tu_desc_*hathach
2018-12-12rename edpt_dir/number/addr to tu_edpt_*hathach
2018-12-10add tuh_mount_cb/tuh_umount_cbhathach
2018-12-10add ep addr to host cdchathach
2018-12-10clean uphathach
2018-12-10refactor usbh class driverhathach
2018-12-05fixing build error with host stackhathach
2018-12-05change usbd_init() return to bool for simplicityhathach
2018-12-05add role to OSAL_QUEUE_DEF() to disable correct dcd/hcd isrhathach
2018-12-05hal clean uphathach
- replace tusb_hal_int_enable/disable to dcd_int_enable/disable, hcd_int_enable/disable - remove tusb_hal_init(), this will be part of dcd_init/hcd_init, anything beyond dcd/hcd should be inited by bsp
2018-11-26clean up warningshathach
2018-11-23rename DCD_XFER_SUCCESS to XFER_RESULT_SUCCESShathach
2018-11-23rename tusb_event_t to xfer_result_thathach
2018-11-20samd51 fix stable issue with dcdhathach
2018-11-16nrf5x: clean up dcd, add commenthathach
2018-11-16remove control.h (move prototype to usbd_pvt.h)hathach
2018-11-16nrf5x: refactor device control transfer.hathach
- 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-14remove control from class driver arrayhathach
2018-11-14usbd clean uphathach
2018-11-14clean uphathach
2018-11-14change osal_queue_receive() signaturehathach
- fix build issue with freertos
2018-11-08Polish up control split and treat it more like a normal endpoint.Scott Shawcroft
2018-11-07Split out the control endpoint logicScott Shawcroft
2018-11-07Add SAMD21 and SAMD51 support for CircuitPython.Scott Shawcroft
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.