summaryrefslogtreecommitdiff
path: root/src/class/cdc
AgeCommit message (Collapse)Author
2021-03-12use !tu_fifo_empty() instead of tu_fifo_count()hathach
2021-03-11Add fifo empty check.HiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2021-03-10Call One time tu_fifo_write_n on cdcd_xfer_cbHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2021-02-26Update cdc_device.hboggyb
Minor api callback change as requested
2021-02-25initial break request handlingamit verma
2021-02-18Implement requested PR changesJeremiah McCarthy
Removes CFG_TUSB_ALT_BIT_PACKING_ALIGNMENT, and makes the manual padding behavior standard. Replaced unused variable name with TU_RESERVED.
2021-02-16Add alternate bitfield padding optionJeremiah McCarthy
Adds configuration option CFG_TUSB_ALT_BIT_PACKING_ALIGNMENT, which substitutes bitfield variable " : 0" padding syntax with an unused variable of size equal to the remaining number of bits. This change resolves aligned access issues for some platforms. Default behavior is original if the option is not explicitly enabled.
2020-11-23add tud_ready() check in tud_cdc_n_write_flush()hathach
other clean up
2020-11-23Merge branch 'master' into cdc_without_dtrHa Thach
2020-11-19migrate cdc_device to new control_xfer_cbhathach
2020-11-18Implementation of the discussed changesJan Dümpelmann
- remove usbd_edpt_xfer_abort - rename tu_fifo_change_mode to tu_fifo_set_mode - remove CFG_TUD_CDC_CLEAR_AT_CONNECTION definition - remove auto fifo clear at connection event - add tud_cdc_n_write_clear function
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