summaryrefslogtreecommitdiff
path: root/src/class/cdc
AgeCommit message (Collapse)Author
2020-11-07Merge pull request #553 from hathach/host-async-controlHa Thach
Host async control
2020-11-04Merge remote-tracking branch 'hathach/master' into cdc_without_dtrJan Dümpelmann
2020-11-03Merge pull request #547 from hathach/cdc-auto-write-flushHa Thach
enable cdc auto flush on write()
2020-11-02enable cdc auto flush on write()hathach
if there is enough data in the fifo
2020-11-02remove legacy blocking usbh_control_xfer()hathach
reworking cdc host driver
2020-10-31Rename CDC_COMM_SUBCLASS_ETHERNET_NETWORKING_CONTROL_MODELJacob Potter
This was a confusing name; "Ethernet control model" (CDC ECM) and "network control model" (CDC NCM) are two separate USB subclasses.
2020-10-11Merge branch 'master' into host-async-controlhathach
2020-09-14cdc device: claim endpoint before checking fifo availabilityhathach
- add pre-check to reduce mutex lock in usbd_edpt_claim
2020-09-12typohathach
2020-09-10update claim edpt for hid and midihathach
2020-09-10Set new define because of build failureJan Dümpelmann
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-09-06change xfer_cb return type from void to boolhathach
2020-09-05defer xfer_isr to xfer_cbhathach
2020-09-04Add functionality to abort an ongoing transferJan Dümpelmann
2020-09-03New function to modify fifo overwritabilityJan Dümpelmann
2020-09-03Turn transmit fifo overwritable in no DTR modeJan Dümpelmann
2020-09-03Remove connected check for write flushingJan Dümpelmann
2020-09-01Merge branch 'master' into update-hosthathach
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-17add new name warning to cdc and midi (skip msc, hid warning for now)hathach
2020-07-16add fs & hs config for cdc_msc_freertos, midi_test, msc_dual_lunhathach
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-10Improve comment on CDC tud_cdc_write_available()Craig Hutchinson
Fixes #460
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-05-19usb0 host on mcb1800 work with fullspeed mode.hathach
use usbh_edpt_open() to correctly map ep2drv[]
2020-05-04clean up things, add makefile for host examplehathach
2020-04-26add usbd edpt openhathach
- RTT mode is blocking to prevent log lost - Improve logging message
2020-04-17fix typohathach
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-15change cdc template protocol to Nonehathach
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