summaryrefslogtreecommitdiff
path: root/src/device/usbd.c
AgeCommit message (Collapse)Author
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.
2018-11-02defer DCD_EVENT_BUS_RESET, DCD_EVENT_UNPLUGGED to usbd taskhathach
2018-10-24fix nrf52 freeRTOS interrupt priorityhathach
2018-10-24rename verify_breakpoint to TU_BREAKPOINThathach
2018-10-24replace dcd_xfer_complete by dcd_xfer_complete()hathach
2018-10-23replace dcd_bus_event() and dcd_setup_received() by dcd_event_handler()hathach
2018-10-23rename UBSD_EVT_ to DCD_EVENT_hathach
2018-10-23rename usbd_event_t to dcd_event_thathach
2018-10-23clean up usbdhathach
2018-10-23clean up helper funchathach
2018-09-04adding mynewt to osalhathach
2018-08-30clean up osal task and subtaskhathach
2018-08-28add while loop to usbd task to run until task queue is emptyhathach
2018-08-23rename common func to avoid conflicthathach
2018-08-13rename VERIFY to TU_VERIFY to avoid conflict with applicationhathach
2018-08-01improve auto descriptorhathach
2018-07-29hid device enhancehathach
2018-07-28fix hid generic various errorhathach