summaryrefslogtreecommitdiff
path: root/src/class/cdc
AgeCommit message (Collapse)Author
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
2025-06-18add get_itf_by_xfer() to better determine cdc interface from xfer complete ↵hathach
callback
2025-06-17add common cdch_process_set_config() to safely complete set_config() when it ↵hathach
failed. driver_process_set_config() also pass drv index with user_data
2025-06-16Merge branch 'master' into fork/IngHK/cdch_upgradehathach
# Conflicts: # README.rst # docs/reference/index.rst # src/class/cdc/cdc_device.c # src/class/cdc/cdc_host.c
2025-05-13fix warnings, minor clean uphathach
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
2025-02-24add tuh_midi_mount_cb_t struct for tuh_midi_mount_cb()hathach
change tuh_midi_rx/tx_cb() to have xferred_bytes rename tuh_midi_get_num_rx/tx_cables() to tuh_midi_get_rx/tx_cable_count() use default empty callback instead of weak null to be compatible with keil compiler
2025-02-13update midi host to use endpoint stream APIhathach
2024-12-01Merge branch 'master' into dcd_notifHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2024-11-27minor clean uphathach
2024-11-26add TUH_EPBUF_DEF for cdc hosthathach
2024-11-22apply TUD_EPBUF_DEF for device: bth, dfu, hid, mschathach
2024-11-21make sure usb buffer occupies whole cache line when DCACHE is enabled for ↵hathach
msc,cdc,hid HIL enable device DMA for p4
2024-10-30Merge branch 'master' into dcd_notifHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2024-10-29Extend callback informationBollen Nico
2024-09-10change edpt stream api to take hwid from API to reduce memory footprinthathach
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-19revert changes to usbds configuration_reset() (deal with it in separated PR)hathach
2024-07-19Check tud ready check for OUT xfer.HiFiPhile
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-26cdc_device : save rhport.HiFiPhile
2024-04-22fix print lu format warnings with clanghathach
2024-04-22fix nrfx v3 spim freq when inithathach
fix clang build with nrf
2024-04-08add class driver deinithathach
2024-04-04small change process config completeIngHK