summaryrefslogtreecommitdiff
path: root/src/class/cdc/cdc_device.c
AgeCommit message (Collapse)Author
2020-11-02enable cdc auto flush on write()hathach
if there is enough data in the fifo
2020-09-14cdc device: claim endpoint before checking fifo availabilityhathach
- add pre-check to reduce mutex lock in usbd_edpt_claim
2020-09-10update claim edpt for hid and midihathach
2020-09-09typohathach
2020-09-09clean uphathach
2020-09-09update cdc edpt readhathach
2020-09-09introduce optional usbd_edpt_claim, usbd_edpt_release which can be used to ↵hathach
gain exclusive access to usbd_edpt_xfer
2020-08-24improve midihathach
- fix #436 tud_midi_rx_cb() not invoked - fix xfer_cb() not handle ep in - add ZLP if needed
2020-08-21Merge pull request #434 from gh2o/masterHa Thach
Add TX callback to CDC device
2020-08-20Slight optimization for cdc tx refillGavin Li
2020-08-20Smarter CDC TX refill logicGavin Li
2020-07-16add tud_speed_get()hathach
- define both fs and hs configuration descriptor - rename CFG_TUD_CDC_EPSIZE to CFG_TUD_CDC_EP_BUFSIZE with default size of 64 for FS, and 512 for HS
2020-07-01fix dfu-rt to response to SET_INTERFACE and DFU_GETSTATUShathach
fix #450
2020-06-20Call tud_cdc_tx_cb right after flush to keep tx fifo fullGavin Li
2020-06-18Add tx callback to cdc deviceGavin Li
Useful for continuous transmission of data, which is difficult currently because there is no notification of tx completion.
2020-05-28rename to drv_len to be consistenthathach
2020-05-28initial transfer failed in open() shouldn't cause the driver open to fail.hathach
2020-05-27changing usbd driver open() return type, add max_lenhathach
only done with cdc and msc, push this interim for feedback first
2020-04-26add usbd edpt openhathach
- RTT mode is blocking to prevent log lost - Improve logging message
2020-04-17correct return for write flushhathach
2020-04-17add a bit of document for cdc device API. also improve cdc write flush when ↵hathach
complete.
2020-04-17Merge pull request #260 from majbthrd/cdczlpHa Thach
CDC device: fix behavior for transfers that are a whole multiple of endpoint buffer
2020-04-15use IAD to assign itf2drv mapping correctlyhathach
merge net_data back into net driver
2020-04-15test ok with cdc and mschathach
2020-03-15following suggestion by @kasjerPeter Lawrence
2020-03-15merge with current masterPeter Lawrence
2020-03-14Use CRLF on UART.Nathan Conrad
2020-02-07more log for debugginghathach
2020-01-15Normalize line endingsNathan Conrad
2020-01-11CDC device: help ensure code is consistent with the size of the buffers it ↵Peter Lawrence
operates on
2020-01-11CDC device: fix behavior for transfers that are a whole multiple of endpoint ↵Peter Lawrence
buffer
2019-12-28implement multiple interfaces supportPeter Lawrence
2019-11-27fix #229hathach
2019-08-01add vendor peek, change cdc peek signature, change cdc read_char() return ↵hathach
from signed char to int32_t
2019-07-16add tud_control_vendor_request_cb()/tud_control_vendor_complete_cb(), expose ↵hathach
usbd control transfer rename usbd_control_transfer/status to tud_control_transfer/status
2019-07-12clean up, rename internal driver control_request_complete to simply ↵hathach
control_complete
2019-07-04remove tud_midi_write_flush() send asap. rename tud_midi_connected() to ↵hathach
tud_midi_mounted()
2019-07-02clean uphathach
2019-07-01improving midi support, adding midi exmaplehathach
rename TUSB_DESC_CLASS_SPECIFIC to TUSB_DESC_CS_INTERFACE
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-22fix tud_cdc_read_char()/tud_cdc_peek() to return signed charhathach
- depending on compiler option "char" can be intepreted as unsigned char
2019-05-14more clean up use inline bit funciton instead of macroshathach
2019-05-14update license year to 2019hathach
2019-05-01clean uphathach
2019-05-01adding optional ep out for hidhathach
refactor usbd_open_edpt_pair
2019-03-30added tud_suspended() and tud_ready()hathach
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-27revert to use pending_read_from_host (temp) sincehathach
2019-03-25follow up to pr #46hathach