summaryrefslogtreecommitdiff
path: root/src/device/usbd.c
AgeCommit message (Collapse)Author
2019-06-10fix build error with midi, use usbd_edpt_xfer/busy for midi to replace dcd_*hathach
2019-06-06add TU_ prefix to compiler ATTR to prevent name conflict with applicationhathach
2019-05-29added usbd_edpt_xfer/usbd_edpt_busy to replace dcd_edpt_transfer/dcd_edpt_busy()hathach
- improve fifo write/read_n with only one lock - use usbd_edpt_xfer/usbd_edpt_busy for hid/cdc/msc class driver - replace cdc read's pending_read_from_host by usbd_edpt_busy()
2019-05-15lpc1769 work with makefilehathach
2019-05-14more clean up use inline bit funciton instead of macroshathach
2019-05-14update license year to 2019hathach
2019-05-12add index to tud_descriptor_configuration_cb()hathach
2019-05-12change tud_descriptor_string_cb() to be consistent with other descriptor ↵hathach
callback
2019-05-12add tud_hid_descriptor_report_cb()hathach
- remove tud_desc_set.hid_report - remove tud_desc_set_t
2019-05-11add tud_descriptor_string_cb() for getting string descriptor from applicationhathach
- remove tud_desc_set.string_arr/string_count
2019-05-09fix clear stall usage, fix reset data toggle with dcd_clear_stall for nrf52hathach
2019-05-01adding optional ep out for hidhathach
refactor usbd_open_edpt_pair
2019-04-18remove auto descriptor and its option CFG_TUD_DESC_AUTOhathach
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