summaryrefslogtreecommitdiff
path: root/src/class/cdc/cdc_device.c
AgeCommit message (Collapse)Author
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
2019-03-24Merge pull request #46 from tannewt/fix_cdc_outhathach
Fix slow CDC OUT by NAKing
2019-03-21Fix slow CDC OUT by NAKingScott Shawcroft
This NAKs CDC OUT packets when the ring buffer doesn't have enough space for it. This makes CDC OUT reliable rather than allowing overwriting into the ring buffer.
2019-03-20migrate license from BSD 3 clause to MIThathach
2019-01-29zero init internal class/device datahathach
2018-12-14rename bit_* helper to tu_bit_*, BIT_* to TU_BIT_* for consistencyhathach
2018-12-12minor updatehathach
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-10add ep addr to host cdchathach
2018-11-26clean up warningshathach
2018-11-23rename tusb_event_t to xfer_result_thathach
2018-11-22rename CFG_TUSB_MEM_SECTION to CFG_TUSB_MEM_SECTIONhathach
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-14Merge pull request #7 from tannewt/tinyusb_samdhathach
Add SAMD support and simplify OS_NONE
2018-11-13added tud_cdc_write_str, tu_fifo only use mutex for RTOS confighathach