summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2021-10-11Merge pull request #1107 from majbthrd/add_ncmHa Thach
add NCM driver in a compatible manner : hathach/tinyusb#550
2021-10-11add ncm.h for magic numberhathach
mostly clean up magic number
2021-10-09add backward compatible with warnings for CFG_TUD_NEThathach
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-04Handle HID devices with OUT endpoint listed firstCharlie Birks
This happens on my PowerA wired Switch pro controller
2021-10-01Merge pull request #1120 from hathach/enhanceHa Thach
house keeping update
2021-10-01clean up vendor openhathach
2021-10-01clean uphathach
2021-10-01more usbd clean uphathach
2021-10-01Merge pull request #1063 from HiFiPhile/uac_fifoHa Thach
UAC2: Add xfer_fifo support for dcd_transdimension.
2021-09-30change scsis status to phase error when total_bytes < block_counthathach
2021-09-30Merge branch 'master' of https://github.com/szymonh/tinyusb into szymonh-masterhathach
2021-09-29add same7x to board listhathach
2021-09-29Merge branch 'master' into enhancehathach
2021-09-29clean uphathach
2021-09-29clean uphathach
2021-09-29Merge branch 'master' of github.com:hathach/tinyusb into zhangslice-masterhathach
examples/device/hid_composite_freertos/src/FreeRTOSConfig/FreeRTOSConfig.h
2021-09-27Assure msc device block size is not zeroszymonh
2021-09-25add NCM driver in a compatible manner : hathach/tinyusb#550Peter Lawrence
2021-09-25Merge pull request #1102 from ↵Ha Thach
kasjer/kasjer/usbd-small-ep0-enumeration-workaround usbd: Workaround for non standard device descriptor request
2021-09-25add CFG_TUSB_OS_INC_PATH for os include pathhathach
useful for freertos/ prefix with esp IDF
2021-09-24Merge pull request #1103 from kasjer/kasjer/da146xx-close-cleanupHa Thach
dcd_da146xx: Remove registers pointer from xfer_ctl_t
2021-09-24Merge pull request #1096 from kasjer/kasjer/da146xx-close-allHa Thach
dcd_da146xx: Implement dcd_edpt_close_all()
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-24dcd_da146xx: Implement dcd_edpt_close_all()Jerzy Kasenberg
Unconditionally disables all endpoints except EP0.
2021-09-24dcd_da146xx: Clear transfer data on dcd_edpt_closeJerzy Kasenberg
Closing endpoint clears data in affected xfer_ctl_t
2021-09-24dcd_da146xx: Remove registers pointer from xfer_ctl_tJerzy Kasenberg
Note: this commit does not change any logic. xfer_ctl_t structure keeps all dynamic data connected with transfer. It used to have pointer to register set that was constant and was there for convenience only. Removing register pointer from structure makes cleanup easier as whole structure can be erased with memset like function. In many cases functions were using local variable regs and xfer->regs which were same, that could be confusing so this part is unified. Few macros were added for easy conversion between epnum, xfer, and regs.
2021-09-23Merge pull request #1093 from szymonh/masterHa Thach
Enforced buffer boundaries for hid devices
2021-09-18Merge pull request #1094 from kasjer/kasjer/da146xx-vbus-handlingHa Thach
dcd_da146xx: Add VBUS handling
2021-09-18update dcd attr for mm32hathach
2021-09-18Merge branch 'master' into zhangslice-masterhathach
2021-09-17dcd_da146xx: Add VBUS handlingJerzy Kasenberg
DA146xx are Bluetooth devices that may be battery powered and when not connected to USB host there is no need for USB peripheral to be running. This change allows to enable USB peripheral when VBUS is present otherwise USB is down reducing power consumption. tud_vsub_changed() function must be called whenever VBUS change was detected. For bus-powered devices this function should be called at startup since VBUS must be present while device is working.
2021-09-17minor clean uphathach
2021-09-17use correct resume detection for kl25zhathach
2021-09-17minor update to dcd khcihathach
2021-09-15Fix stall interrupt handlingkkitayam
2021-09-15merge master and minor clean uphathach
2021-09-15Merge branch 'master' of github.com:hathach/tinyusb into ↵hathach
kkitayam-impl_close_all_for_khci
2021-09-15Merge pull request #1062 from HiFiPhile/fifo_dcd_transdimensionHa Thach
Improvements for dcd_transdimension
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-14Merge pull request #1087 from HiFiPhile/nuc_wkpHa Thach
NUC126: fix remote_wakeup
2021-09-13Enforced buffer boundaries for hid devicesszymonh
2021-09-13Merge pull request #1091 from hathach/esp32sx-complianceHa Thach
Esp32sx compliance