summaryrefslogtreecommitdiff
path: root/src/class/cdc/cdc_device.c
AgeCommit message (Collapse)Author
2020-03-14Use CRLF on UART.Nathan Conrad
2020-02-07more log for debugginghathach
2020-01-15Normalize line endingsNathan Conrad
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
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