summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2021-10-07Streamline settings for board.Gordon McNab
2021-10-06Sort out board settings.Gordon McNab
2021-10-06Change author in header to Bridgetek Pte Ltd.Gordon McNab
2021-10-06Rename directories to indicate that FT930 and FT900 devices are both covered ↵Gordon McNab
by the same SDK and src/portable code. Board makefile includes __FT900__ macro for FT90x and __FT930__ macro for boards with FT93x.
2021-10-05Add initial port for FT9xx series from Bridgetek.Gordon McNab
Add FT90X and FT93X to the list of devices in tusb_option.h. 1700 for FT90x and 1701 for FT93x. Set endpoint attributes for FT90x and FT93x in dcd_attr.h. Add FT90x routines for USB device in src/portable/bridgetek/ft90x/dcd_ft90x.c The location for hardware header files and libraries is hw/mcu/bridgetek/ft90x/hardware. There are no files in the repository, but files will be linked as a submodule in the future. The required files can be copied from or linked to the location "C:/Program Files(x86)/Bridgetek/FT9xx Toolchain/Toolchain/hardware" once the toolchain is installed. Makefile for the MM900EV1B board for developing with an FT900 device is present. Use "BOARD=mm900ev1b".
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-29Update commentskkitayam
2021-09-29Implement frame rate settingskkitayam
2021-09-29Implement negotiation process for streaming parameterskkitayam
2021-09-29Fix transfer failure when reconnectingkkitayam
2021-09-29Fix typokkitayam
2021-09-29Refactor application API parameterskkitayam
2021-09-29Change frame buffer managementkkitayam
2021-09-29Refactor packet handlingkkitayam
2021-09-29Fix streaming payload handlingkkitayam
2021-09-29Separate a handling resource into controller and streamingkkitayam
2021-09-29Implement some mandatory requests on streaming interfacekkitayam
2021-09-29Fix handling for set_interfacekkitayam
2021-09-29Fix regarding standard video stream requestkkitayam
2021-09-29fix: configuration descriptor has incorrectly sizeskkitayam
update some descriptors
2021-09-29add tentative examplekkitayam
2021-09-29moved ISO attributes from audio to commonkkitayam
2021-09-29cleanup open()kkitayam
2021-09-29add files for video class devicekkitayam
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-24MMU worksScott Shawcroft
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.