summaryrefslogtreecommitdiff
path: root/src/class/cdc
AgeCommit message (Collapse)Author
2025-12-26Prevent unused-variable warning in dcd_host.cCédric Berger
'idx' is not used if CFG_TUH_CDC_LINE_CODING_ON_ENUM is not defined.
2025-12-12usbh/cdc: fix typo in cdch_openHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-12-12fix edpt stream write/read to endpoint not yet openedhathach
2025-12-11move host hacked bulk mps out of tu_edpt_validate()hathach
2025-12-11refactor usbh_class_driver_t's open() to return number of driver len instead ↵hathach
of bool. help to simplify parsing configuration
2025-12-10move hwid into edpt stream for consistent APIhathach
2025-12-10flatten cdc tx,rx streamhathach
2025-12-10change tu_fifo_clear()/tu_edpt_stream_clear() from return bool to voidhathach
2025-11-27change tud_vendor_rx_cb() behavior, buffer and bufsize only available when ↵hathach
CFG_TUD_VENDOR_RX_BUFSIZE = 0 update vendor device to omit ep buf when dedicated hwfifo is supported
2025-11-27omit cdc epnotify for dedicated hw fifohathach
2025-11-27add tud_cdc_n_notify_msg()hathach
2025-11-26omit ep buffer for midi device if device support CFG_TUD_EDPT_DEDICATED_HWFIFOhathach
2025-11-26change tu_fifo_buffer_info_t layouthathach
2025-11-22hil stress test cdchathach
2025-11-22implement wanted char for cdc device without ep_bufhathach
2025-11-22implement wanted char for cdc device without ep_bufhathach
2025-11-21edpt stream support xfer_fifo for device CFG_TUD_EDPT_DEDICATED_HWFIFOhathach
cdc device omit ep buffer when hwfifo is supported
2025-11-19Merge remote-tracking branch 'tinyusb/master' into ↵HiFiPhile
copilot/fix-dcd-edpt-xfer-issue Signed-off-by: HiFiPhile <[email protected]>
2025-11-13Apply suggestions from code reviewHa Thach
Co-authored-by: Copilot <[email protected]>
2025-11-13clear endpoint stream when open for cdc_host and midi_hosthathach
2025-11-12migrate cdc device to use edpt stream APIhathach
tu_edpt_stream_open() does not clear fifo, allow for persistent stream when disconnect/reconnect
2025-11-11Merge remote-tracking branch 'tinyusb/master' into ↵HiFiPhile
copilot/fix-dcd-edpt-xfer-issue Signed-off-by: HiFiPhile <[email protected]>
2025-11-08fix more alertshathach
2025-11-07Apply suggestions from code reviewHa Thach
Co-authored-by: Copilot <[email protected]>
2025-11-07fix more alerts found by pvs-studiohathach
2025-11-04Fixed more alert found by PVS-Studiohathach
2025-10-31Merge remote-tracking branch 'tinyusb/master' into ↵HiFiPhile
copilot/fix-dcd-edpt-xfer-issue Signed-off-by: HiFiPhile <[email protected]>
2025-10-28fix Identifiers that start with '__' or '_[A-Z]' are reserved.hathach
fix compiling with nuc family
2025-10-22Fix copilot issuesMengsk
Signed-off-by: Mengsk <[email protected]>
2025-10-22Add is_isr parameter to usbd_edpt_xfer and usbd_edpt_xfer_fifocopilot-swe-agent[bot]
- Added bool is_isr parameter to usbd_edpt_xfer() and usbd_edpt_xfer_fifo() wrapper functions - These are called by class drivers to queue USB transfers - Updated all callers to pass false by default (non-ISR context) - Updated audiod_rx_xfer_isr() and audiod_tx_xfer_isr() to pass true (ISR context) - All 21 unit tests pass Co-authored-by: HiFiPhile <[email protected]>
2025-10-16fix some warnings detected by pvs-studiohathach
2025-10-16add tu_div_round_nearest() (only handle positive) to replace ↵hathach
DIV_ROUND_CLOSEST() to remove the need of typeof
2025-09-17Replace old delay functions by tusb_time_delay_ms_apiHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-09-17Update weak callbacks to new syntaxHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-07-15Fix compilation when CH34X support is disabledEli Lipsitz
2025-07-03make notify API and memory configurable with CFG_TUD_CDC_NOTIFYhathach
add tud_cdc_n_notify_conn_speed_change() add tud_cdc_notify_complete_cb()
2025-07-02Merge branch 'master' into fork/HiFiPhile/dcd_notifhathach
2025-06-27clean uphathach
2025-06-27use enum buf for process_set_config for ch34x and pl2303hathach
2025-06-27update acm and pl2303 to match the rest of drivershathach
2025-06-27major refactor to generalize cdch serial driverhathach
- add common 2 stage set line coding for driver without direct set_line_coding support e.g ftdi, cp210x, ch34x - add common cdch_process_line_state_on_enum() to handle cfg line state on enum e.g CFG_TUH_CDC_LINE_CONTROL/CODING_ON_ENUM - refactor cdch_internal_control_complete and user_complete_cb to be managed by tuh_cdc_ API instead of serial driver
2025-06-20refactor, add cdch_internal_control_complete()hathach
2025-06-20refactor change signature of serial driver's process_set_confighathach
adding serial driver's request_complete()
2025-06-20cdch clean up and refactor, add explicit sync() APIhathach
2025-06-19union ftdi/pl2303/acm data to save memory.hathach
2025-06-19rename tuh_cdc_get_local_line_coding to tuh_cdc_get_line_coding_localhathach
add tuh_cdc_get_control_line_state_local() implement tuh_cdc_get/set_dtr/rts() as inline
2025-06-19revert CFG_TUH_CDC_DTR/RTS_CONTROL_ON_ENUMhathach
2025-06-19clean up pl2303 type datahathach
2025-06-19house keepinghathach
2025-06-18usbh: add new API tuh_descriptor_get_device_local()hathach
cdc host: remove the local desc_dev and the get_device descriptor call for ftdi and pl2303