summaryrefslogtreecommitdiff
path: root/src/device
AgeCommit message (Collapse)Author
2021-10-14More warning cleanupgraham sanderson
- physically suppress warnings in TinyUSB headers using pragmas so they don't break -Werror compilation of external files that include them - fix compiler warnings in rp2040 port - add cmake method to rp2040 port to allow an external project to suppress warnings in TinyUSB itself
2021-10-12Merge branch 'master' into add_uvcHa Thach
2021-10-11add ncm.h for magic numberhathach
mostly clean up magic number
2021-10-05Merge branch 'j4cbo-ncm' into majbthrd-add_ncmhathach
2021-10-05rename CFG_TUD_NET to CFG_TUD_ECM_RNDIShathach
2021-10-05Merge branch 'add_ncm' of https://github.com/majbthrd/tinyusb into ↵hathach
majbthrd-add_ncm
2021-10-01Merge pull request #1120 from hathach/enhanceHa Thach
house keeping update
2021-10-01clean uphathach
2021-10-01more usbd clean uphathach
2021-09-29add files for video class devicekkitayam
2021-09-29Merge branch 'master' into enhancehathach
2021-09-29Merge branch 'master' of github.com:hathach/tinyusb into zhangslice-masterhathach
examples/device/hid_composite_freertos/src/FreeRTOSConfig/FreeRTOSConfig.h
2021-09-25add NCM driver in a compatible manner : hathach/tinyusb#550Peter Lawrence
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-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