summaryrefslogtreecommitdiff
path: root/src/device
AgeCommit message (Collapse)Author
2021-09-24usbd: Workaround for non standard device descriptor requestJerzy Kasenberg
Windows and Linux host during enumeration requests device descriptor with request size set to 64 bytes when device was in default state (no address). Those systems do not want 64 bytes though since usb descriptors is only 18 bytes long so they silently expect that only one packet will be received possibly 18 bytes for EPS > 16 or 8 or 16 bytes for smaller EP0. For devices with CFG_TUD_ENDPOINT0_SIZE size 8 or 16 there was workaround that reduced request size to CFG_TUD_ENDPOINT0_SIZE and that was enough to satisfy Windows and Linux hosts. However USBCV testing application also requests device descriptor but with size set to 18 bytes. Workaround for Window/Linux prevented USBVC to tests devices with 8 bytes EP0 size since it send only 8 bytes while application did wanted 18 bytes. Solution that satisfies both cases it to check if in default state device descriptor request wants more bytes than descriptor size (18). If so host is expecting to receive less bytes then requested and workaround would be applied since Linux/Windows only try to read one packet. If 18 bytes was requested as is the case for USBCV, core returns descriptor in 2 or 3 packets as application expects.
2021-09-18update dcd attr for mm32hathach
2021-09-17rpi start. doesn't workScott Shawcroft
2021-09-14Reset EP flags on close.MasterPhi
2021-09-15correct assoc_itf_count for bth driverhathach
2021-09-14make vendor driver more flexiblehathach
- skip additional custom descriptor between interface and endpoints - can have up to 2 bulk endpoint ( 1 in & 1 out)
2021-09-14update configuration parserhathach
2021-09-14Fix warning.MasterPhi
2021-09-14usbd pre-compute total interface length without replying on driver openhathach
2021-09-09remove connected check for DCD_EVENT_UNPLUGGED since previous bus reset can ↵hathach
clear this implement unplugged detection for trans dimension dcd
2021-09-09add other speed descriptor callback ↵hathach
tud_descriptor_other_speed_configuration_cb() example implement tud_descriptor_device_qualifier_cb() and tud_descriptor_other_speed_configuration_cb() on high speed device to fully compliant to usbcv
2021-09-01minor clean uphathach
2021-09-01only attempt to clear if stalled, and stall if clearedhathach
2021-09-01rp2040 correct ep set/clear stallhathach
- stall will remove pending (not complete) transfer. Correct reset data toggle when clear stall. - remove buf ctrl debug code
2021-09-01revert previous changes, edpt stall also clear any pending (not complete) ↵hathach
transfer
2021-08-31remove set/clear busy flag in set/clear stall since they are different statushathach
note: dcd should resume to prio-stalled queued transfer when unstall
2021-08-30Merge pull request #1058 from hathach/usbcv-compliant-testHa Thach
nrf5x USB Compliance Verification Test suite
2021-08-27update msc driver to pass MSC BOT error recovery compliant testhathach
2021-08-27fix: bth stridx errorXu Chun Guang
2021-08-26add dcd_edpt_close_all() for clear existing configured statehathach
correctly responded to TD 9.13 Set Configuration Test
2021-08-26fix usbcv TD 9.4 Interface Descriptor testhathach
2021-08-23initial commit of support for K32L2BGreg Steiert
2021-08-20minor clean uphathach
2021-08-20extra common edpt helper for device and host stackhathach
tu_edpt_validate() and tu_edpt_bind_driver()
2021-08-18Merge pull request #1020 from hathach/rp2040-disconnect-suspendHa Thach
Add Rp2040 suspend & resume support
2021-08-17skipped suspend/resume if not connectedhathach
2021-08-16complete suspend, resume, remote wakeup for nrf52hathach
2021-08-12revert ready() check in claim (do it later in separated PR)hathach
2021-08-12add ready check for edpt claimhathach
2021-08-12simplify hw_endpoint_init()hathach
2021-08-07Add correct endpoint count for GD32VF103Stefan Kerkmann
This controller family only supports USB FS with four endpoints
2021-07-22update endianhathach
2021-07-22clean up max packet size endianhathach
2021-07-22Merge branch 'CCRX_Port' of https://github.com/Wini-Buh/tinyusb into ↵hathach
Wini-Buh-CCRX_Port
2021-07-22Merge pull request #950 from HiFiPhile/dfuHa Thach
DFU improvements
2021-07-22update dcd attr for samx7xhathach
2021-07-22correct checkhathach
2021-07-22more cihathach
2021-07-22fix cihathach
2021-07-22add dcd_attr for DCD_ATTR_ENDPOINT_MAXhathach
could be useful with more dcd specific attribute
2021-07-17Merge branch 'master' into dcd_same70HiFiPhile
2021-07-15rename CFG_TUD_DFU_MODE to simply CFG_TUD_DFUhathach
2021-07-15wrap up DFU updatehathach
2021-07-12simplify TUD_DFU_DESCRIPTOR with alternate counthathach
remove CFG_TUD_DFU_ALT_COUNT since there is only one DFU functional descriptor
2021-07-12rename TUD_DFU_MODE_DESCRIPTOR to TUD_DFU_DESCRIPTORhathach
2021-07-12Merge branch 'dfu' of https://github.com/HiFiPhile/tinyusb into HiFiPhile-dfuhathach
2021-07-08Add bwPollTimeout set callback, postpone download callback after GETSTATUSMengsk
2021-07-07Refactor with one DFU functionnal descriptorHiFiPhile
2021-07-07Reactor to one functional descriptor.Mengsk
2021-07-05Add alt settings support in DFU class.Mengsk