summaryrefslogtreecommitdiff
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-06Merge pull request #1123 from Daft-Freak/patch-1Ha Thach
Handle HID devices with OUT endpoint listed first
2021-10-05Merge branch 'j4cbo-ncm' into majbthrd-add_ncmhathach
2021-10-05update docshathach
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-10-01Merge pull request #1113 from szymonh/masterHa Thach
Assure msc device block size is not zero
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-29Merge pull request #1117 from hathach/zhangslice-masterHa Thach
add mm32 bsp (repalce #897)
2021-09-29add mm32 to ci build, also re-enable esp32s3hathach
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-29update mm32sdk submodulehathach
2021-09-29add submodule hathach/mm32sdkhathach
2021-09-29remove official mm32sdk submodulehathach
2021-09-27Assure msc device block size is not zeroszymonh
2021-09-27Merge pull request #1110 from hansfbaier/masterHa Thach
add support for the QMTech ATMSAME70N19A board
2021-09-27add support for the QMTech ATMSAME70N19A boardHans Baier
2021-09-26Merge pull request #1108 from hathach/minor-changesHa Thach
make freertos header include in examples more explicit
2021-09-26make freertos header include in examples more explicithathach
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-25Merge pull request #1104 from hathach/fix-esp32-ciHa Thach
add CFG_TUSB_OS_INC_PATH for os include path
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 #1100 from kasjer/kasjer/da1469b_dk_usb-fix-button-configHa Thach
da14695_dk_usb: Fix button configuration
2021-09-23da14695_dk_usb: Fix button configurationJerzy Kasenberg
Unlike da1469x_dk_pro, K1 pin (6) is connected to VCC when active. This adds required pull down and reverses active logic state.
2021-09-23Merge pull request #1099 from kasjer/kasjer/da1469x_dk_pro-fix-pin-pullupHa Thach
da1469x_dk_pro: Fix button setup
2021-09-23da1469x_dk_pro: Fix button setupJerzy Kasenberg
Button on board has 1k resistor to ground when pressed. When not pressed pin 6 is floating. This forces MCU pull-up for this pin for correct behavior.
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