summaryrefslogtreecommitdiff
path: root/src/device/usbd.c
AgeCommit message (Collapse)Author
2025-09-18set driver count to 0HiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-09-17Update weak callbacks to new syntaxHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-09-16refactor generic container to use EPBUF declarationhathach
simplify container field name
2025-09-15Merge branch 'master' into fork/ennebi/mtphathach
2025-08-06Add MTP class deviceMaurizio Pesce
2025-07-10Merge pull request #2987 from hathach/fix-2923-altHa Thach
make sure TOTAL_DRIVER_COUNT is not overflow 8-bit
2025-07-08revert edpt busy/claim status if xfer_isr() defer to xfer_cb()hathach
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-06-22Merge branch 'master' into async_ioHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-06-14audio: move ISO transfers into xfer_isrHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-06-14USBD: introduce xfer_isr.HiFiPhile
2025-05-21add usbd_spin_lock/unlock for driver usagehathach
2025-05-19implement osal critical for none/freertos/pico-sdkhathach
2025-04-11Merge remote-tracking branch 'upstream/master' into async_ioHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-03-26hcd/ehci: hcd_edpt_open() return false if ep is already opened. implement ↵hathach
hcd_edpt_close()
2025-03-06hack: force/overwrite endpoint mps to 64 for device that incorrectly report ↵hathach
512 bytes for bulk in fullspeed mode.
2025-02-12clean uphathach
2025-02-12Merge branch 'master' into fork/atoktoto/midihosthathach
# Conflicts: # hw/bsp/rp2040/family.cmake # src/class/midi/midi.h # src/class/midi/midi_device.c # src/device/usbd_control.c # src/host/hcd.h # src/host/usbh.c # src/host/usbh.h
2025-02-11make sure TOTAL_DRIVER_COUNT is not overflow 8-bithathach
2025-01-29Fix Auto speed display.HiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2024-11-25change dcd_dcache_*() API return type from void to boolhathach
2024-11-20have p4 dma somewhat working but having issue with buffer that does not ↵hathach
occupy the whole cache line
2024-10-14change dcd_init() return from void to boolhathach
2024-10-14change the tusb_rhport_init_t struct, exclude the rhport to make API more ↵hathach
consistent
2024-10-11change dcd_init() to take rhport structhathach
2024-10-11change tusb_init(), tusb_rhport_init() to use init struct for expandabilityhathach
2024-10-10add new tusb_int_handler(rhport, in_isr) as common irq handlerhathach
update tusb_init() to take rhport and role, defined as macro with optional argument for backward compatible
2024-08-19fix ci buildhathach
2024-08-19implement dcd_edpt_iso_alloc/dcd_edpt_iso_activate for musb. video_capture ↵hathach
example with iso kind of work but not smoothly. audio example does not seems to work as expected
2024-08-05finally fixed fsdev setup handling, which cause race condition for ch32v203hathach
2024-08-01increase freerto min task stack for some stm32hathach
2024-07-25fix race condition where reset event cleaar setup counthathach
2024-07-19fix compile with tud_vendor_control_xfer_cb() and check ↵hathach
tud_descriptor_device_cb()
2024-07-19also migrate tud_descriptor_device_qualifier_cb() / ↵hathach
tud_descriptor_other_speed_configuration_cb()
2024-07-19Additional fix related to issue #1018. Corrects the usage of TU_ATTR_WEAK ↵Frank Voorburg
for the Keil compiler for the callback functions: * tud_descriptor_bos_cb() * tud_vendor_control_xfer_cb() * tud_mount_cb() * tud_umount_cb() * tud_suspend_cb() * tud_resume_cb() Without the fix for the first two functions, the USB device won't enumerate properly, if the device makes use of a BOS description. For example when using a Microsoft OS 2.0 platform capability descriptor to set a specific Device Interface GUID for WinUSB. The fix for the other four functions were added, because it's probably just a matter of time before someone runs into the same problem with those callback functions.
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-19Save setup_count on bus reset.HiFiPhile
2024-07-19Clear _usbd_dev prior to driver reset.HiFiPhile
2024-07-12simplify dwc2 test modehathach
- all dwc2 ip seems to support test mode in both fs/hs -> remove TUP_USBIP_DWC2_TEST_MODE - remove dcd_check_test_mode_support(), all should be supported - move enum tusb_feature_test_mode_t to tusb_types.h
2024-05-27Merge branch 'master' into additional_dcd_sof_enableHiFiPhile
2024-05-27Fix tud_sof_cb_enable() return type.HiFiPhile
2024-05-27Fix frame count in tud_sof_cb().HiFiPhile
2024-05-24add ch32 support for fsdev driver. v20x can select fsdev or usbfs with ↵hathach
make/cmake PORT=0/1. default to fsdev
2024-05-24wch usbfs/usbhs need to specify which driver to use. for v307 default to ↵hathach
highspeed
2024-05-13Adjust logic.HiFiPhile
2024-05-13Merge branch 'master' into test-mode-supportHiFiPhile
2024-05-09Little optimization.HiFiPhile
2024-05-09Fix CI.HiFiPhile