summaryrefslogtreecommitdiff
path: root/src/class/cdc/cdc_device.c
AgeCommit message (Collapse)Author
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
2018-11-09Support the no CDC protocol as well.Scott Shawcroft
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-02use mutex for cdc device fifohathach
2018-10-23clean up helper funchathach
2018-10-05comment out cdc flush on write (for now). Since it has issue with circuitpythonhathach
2018-08-30cdc flush on write() if queue more than epsizehathach
2018-08-30remove CFG_TUD_CDC_FLUSH_ON_SOF optionhathach
2018-08-28cdc device : rename epin_buf, epout_bufhathach
2018-08-28minor nrf52 driver correcthathach
2018-08-23rename common func to avoid conflicthathach
2018-08-15correct cdc line coding memory alignhathach
2018-08-13rename VERIFY to TU_VERIFY to avoid conflict with applicationhathach
2018-07-23reworking device hid class driverhathach
2018-07-20also added wanted char to fifohathach
2018-07-17revert usbd_control_xfer_st() implementationhathach
enhance cdc with better multiple interfaces support add default ep size for cdc and msc device CFG_TUD_CDC_EPSIZE, CFG_TUD_MSC_EPSIZE
2018-07-14rename tud_cdc_flush() to tud_cdc_write_flush(), add tud_cdc_read_flush()hathach
2018-07-14add device cdc wanted char callback, cdc peekhathach
2018-07-14use _usbd_ctrl_buf for control transferm refactor cdc devicehathach
2018-07-13only call class xfer callback associated with endpoint addresshathach
2018-07-13add ep2drv, rename descriptor offsethathach
2018-07-13rename class driver close() to reset()hathach
2018-07-13better multiple interfaces support for cdc devicehathach
2018-07-12changing cdc device to support multiple interface (not yet)hathach
2018-07-04rename fifo * to tu_fifo to avoid conflict with other modulehathach
2018-06-23clean up device cdchathach
separate cdc tx & rx bufsize
2018-06-19re-increase cdc buffer for nrf52840 due to bulk out issuehathach
2018-06-18rename subfolder source to srchathach