summaryrefslogtreecommitdiff
path: root/src/device/usbd.c
AgeCommit message (Collapse)Author
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
2024-05-09Convert to bit-field since it's more reliable.HiFiPhile
2024-05-09Don't forget to queue SOF event.HiFiPhile
2024-05-09Disable SOF on configuration change.HiFiPhile
2024-05-09Move sof status into usbd_device_t.HiFiPhile
2024-05-09Switch to weak default implementation.HiFiPhile
2024-05-09Merge branch 'master' into patch-5HiFiPhile
2024-05-09Rework ci (#2631)Ha Thach
* add name field to usbd_class_driver_t * ci: use set matrix py script * add riscv32 and cmake support for ch32v307, fomu, gd32vf103 * update build_cmake.py to take --family --board --toolchain * separate hil test to its own workflow * move esp32 board into separated hil json * add make build to ci * remov build_make.py * build.py support esp32 board * setup toolchain support esp-idf * fix missing click * merge family in matrix build to reduce jobs * skip cifuzz since it still has issue with get_deps and click
2024-04-16Merge pull request #1662 from Erlkoenig90/check-usbd-queue-overflowHa Thach
Check for event queue overflow in usbd / dcd_event_handler
2024-04-16add TU_ASSERT() to check for adding new usb eventhathach
2024-04-16don't check local endpoint stalled status, just carry the request for host.hathach
2024-04-16USBD: When SET_FEATURE(ENDPOINT_HALT), the DTOG must be reset.NConrad
2024-04-08revert usbd driver name change to be backward compatiblehathach
2024-04-08add class driver deinithathach
2024-04-04Merge pull request #2421 from antoniovazquezblanco/debugHa Thach
Log outbound xfer bytes while in debug
2024-04-04minor updateHa Thach
2024-03-20improve uvc debug messagehathach
2024-03-13usbd only process last setup packet in the event queuehathach
2024-03-11reformat codehathach
2024-02-19Opt-out for USB Test-ModeRocky04
2024-02-08missing \r\n after TU_LOG_BUF => moved \r\n to tu_print_buf()IngHK
2024-02-07usbd: log outbound xfer bytes in debugAntonio Vázquez Blanco
2024-01-15Missed static keywordRocky04
2024-01-15Merge branch 'master' into test-mode-supportRocky04
2024-01-15Change to control complete cbRocky04
2024-01-15Add DWC2 Test Mode SUpportRocky04
2024-01-12- change tuh_event_hook_cb, tud_event_hook_cb to weak default implementationhathach
- change code style
2023-11-24add optional event hook callback tud_event_hook_cb() and tuh_event_hook_cb()hathach
2023-11-23Add optional hooks for DCD and HCD eventsAngus Gratton
These are intended to allow bare metal platforms with one-shot scheduling capabilities to schedule the TinyUSB task handlers whenever they know there is work for them to do. Signed-off-by: Angus Gratton <[email protected]>