summaryrefslogtreecommitdiff
path: root/src/class/cdc/cdc_device.h
AgeCommit message (Collapse)Author
2026-07-02license: use SPDX identifiers for src/ headers (#3749)Ha Thach
* license: use SPDX identifiers for src/ headers Replace the full ~20-line MIT license boilerplate on every src/ file with a two-line SPDX tag (SPDX-FileCopyrightText + SPDX-License-Identifier), following the REUSE convention used by CircuitPython and the Linux kernel. Removes ~3500 lines of duplicated boilerplate.
2026-03-12refactor(cdc): remove deprecated runtime CDC configuration, add backward ↵hathach
compatibility with no-op macros
2026-03-12refactor(cdc): remove runtime CDC driver configuration in favor of ↵hathach
compile-time macros for simplicity and reduced complexity
2026-03-12refactor(vendor/cdc): add CFG_TUD_CDC_RX_NEED_ZLP and CFG_TUD_VENDOR_RX_NEED_ZLPhathach
2026-03-12refactor(config): separate endpoint buffer sizes into RX and TX definitions ↵hathach
for clarity and flexibility
2026-03-11rename .rx_multiple_packet_transfer to .rx_need_zlphathach
2026-02-11fix rx transfer length when high speed capable device/host working at full speedHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
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-07Apply suggestions from code reviewHa Thach
Co-authored-by: Copilot <[email protected]>
2025-11-07fix more alerts found by pvs-studiohathach
2025-10-28fix Identifiers that start with '__' or '_[A-Z]' are reserved.hathach
fix compiling with nuc family
2025-09-17Update weak callbacks to new syntaxHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
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-03-24device cdc: rename tud_cdc_configure_fifo/_t to tud_cdc_configure/_thathach
add tx_overwritabe_if_not_connected for cdc driver configure
2024-12-01Merge branch 'master' into dcd_notifHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2024-10-30Merge branch 'master' into dcd_notifHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2024-10-29Extend callback informationBollen Nico
2024-07-19- add tud_cdc_n_ready() though not usedhathach
- usbd now change _usbd_dev.cfg_num before calling driver's open()
2024-07-17follow up to #2253hathach
- rename tud_hid_report_fail_cb() to tud_hid_report_failed_cb() and change its signature - use default implementation for hid callbacks to be compatible with keil compiler - code format
2024-07-12- add tud_cdc_configure_fifo() to replace CFG_TUD_CDC_PERSISTENT_TX_BUFFhathach
- new line, and code format
2024-05-08Add option to make CDC TX buffer persistent.Andrew Leech
2024-04-26cdc: add uart status notification support.HiFiPhile
2024-04-08add class driver deinithathach
2023-03-17fix trailing space and new linehathach
temporarily disable codespell
2022-12-24add tuh_cdc_peek()hathach
2022-12-22fix incorrect rx buf in cdchathach
2022-12-16add common EPSIZE for bulk/iso in full and highspeedhathach
adding cdc host fifo tx/rx
2021-09-29clean uphathach
2021-06-18fix build with mm32 boardhathach
2021-05-27include clean uphathach
2021-04-30Fix bug in cdc_peekReinhard Panhuber
2021-04-30Fix cdc peeks()Reinhard Panhuber
2021-04-30Remove all remainings with peek_atReinhard Panhuber
2021-02-26Update cdc_device.hboggyb
Minor api callback change as requested
2021-02-25initial break request handlingamit verma
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-04Merge remote-tracking branch 'hathach/master' into cdc_without_dtrJan Dümpelmann
2020-09-12typohathach
2020-09-10Set new define because of build failureJan Dümpelmann
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-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