summaryrefslogtreecommitdiff
path: root/src/class
AgeCommit message (Collapse)Author
2025-07-09Add spec reference for 4-byte HID item sizeHa Thach
2025-07-09fix HID parser variable size handlingHa Thach
2025-07-08minor reformat codehathach
2025-07-08Merge remote-tracking branch 'origin/master' into xfer_isrhathach
# Conflicts: # examples/device/audio_4_channel_mic_freertos/src/main.c # examples/device/audio_test_freertos/src/main.c # src/class/audio/audio_device.c
2025-07-08Fix HID descriptor parser size handlingHa Thach
2025-07-07Merge pull request #2963 from HiFiPhile/stm32_cacheHa Thach
Add DWC2 cache maintenance routines for STM32
2025-07-07updateYixingShen
2025-07-07fixed CFG_TUD_VENDOR > 1 vendord_open tud_vendor_n_write_flushYixingShen
tud_vendor_n_write_flush argument should be 0,1,2,..., but p_vendor - _vendord_itf is 0, sizeof(vendord_interface_t), 2*sizeof(vendord_interface_t), ...
2025-07-03Merge branch 'master' into fork/HiFiPhile/stm32_cachehathach
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-07-01defer proc_async_io_done()hathach
2025-07-01update examplehathach
2025-07-01refactor async io, add in_isr argument to tud_msc_async_io_done()hathach
use cbw.command[0] for pending IO command
2025-06-30Merge branch 'master' into fork/HiFiPhile/async_iohathach
2025-06-27Merge pull request #2488 from IngHK/cdch_upgradeHa Thach
CHCh Upgrade: Improved FTDI and CP210x support, add PL2303 support, bugfixes
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-26audio_device: Fix data IN endpoints with implicit feedbackmilek7
2025-06-22Merge branch 'master' into async_ioHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
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-06-14audio: remove FIFO mutex, as audio streaming is always single producer ↵HiFiPhile
single consumer Signed-off-by: HiFiPhile <[email protected]>
2025-06-14audio: move ISO transfers into xfer_isrHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-06-13audio: buffer macro updateHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-06-12Merge pull request #3137 from HiFiPhile/uac_simplifyHa Thach
uac2: remove support fifo
2025-06-08Code reformatHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-06-08Fix ECM compileHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-05-29uac2: remove support fifoHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-05-29Add link state control support for ECM modeAndrew Leech
Extends the link state control feature to CDC-ECM mode. RNDIS mode prints state changes but doesn't send notifications to the host yet (would require RNDIS_INDICATE_STATUS_MSG). For ECM: - Tracks link state and sends proper CDC notifications - Handles notification endpoint busy conditions - Only sends connection notification when link is actually up 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
2025-05-29Add USB NCM link state control supportAndrew Leech
This adds the ability to dynamically control the network link state for NCM devices. The host OS will see the network interface as connected/disconnected based on the link state. New API: - tud_network_link_state(rhport, is_up): Set link up/down state Example updates: - Added button control to toggle link state - Fixed LWIP integration to properly handle link state changes - Added printf to show correct protocol (NCM vs RNDIS/ECM) 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
2025-05-16follow up to pr3118, interface also end with IAD. Add more checkshathach
2025-05-16Merge pull request #3118 from ZakDanger/vendor_device_fixHiFiPhile
vendor device open fix for descriptor parsing
2025-05-13fix warnings, minor clean uphathach
2025-05-09simplify vendord_open parsing loopHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-05-09revert 'end fix'ZakDanger
2025-05-09revert 'end fix'ZakDanger
2025-05-09vendor device open fix for descriptor parsingZakDanger