summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2022-03-04fix build with esp32s2, also use dwc2 for esp examplehathach
2022-02-26Merge pull request #1354 from hathach/mcu-specificHa Thach
Mcu specific
2022-02-26Merge pull request #1352 from ETCLabs/fix-ehci-isr-status-clear-errorHa Thach
Updated the clearing of the status register bits to use a straight '=…
2022-02-26Merge pull request #1353 from ETCLabs/iar-compiler-error-on-src-host-usbh.cHa Thach
The IAR compilier does not resolve references to fields in the anonym…
2022-02-26add highspeed detect for f723/730/733hathach
2022-02-26add TUP_USBIP_DWC2hathach
2022-02-26more internal renamehathach
2022-02-26mcu specific renamehathach
2022-02-26Merge pull request #1311 from Wini-Buh/CCRX_ExtHa Thach
Solve problems with CCRX toolchain
2022-02-25The IAR compilier does not resolve references to fields in the anonymous ↵Tom Peterson
structs defined within the usbh_dev0_t and usbh_device_t structs as they are defined. The problem seems to relate to the placement of the 'volatile' keyword at the struct level. I fixed the problem by removing the 'volatile' from the struct level, and instead placing it on each of the field declarations within the structs.
2022-02-25Updated the clearing of the status register bits to use a straight '=', ↵Tom Peterson
rather than an '|='. Use of the latter caused an extra, unwanted read of the status register before the write-to-clear operation, which, in some cases, allowed new status bits to assert (relative to the initial read of the status register two statements earlier), and then be cleared blindly and unconditionally during the write-back. This had the potential (and, in my case, observed) effect of dropping the handling of an enabled interrupt. Ultimately, the system would lock up in a busy state, with no hope of clearing the condition. See Issue #1339 for more information.
2022-02-26Merge pull request #1350 from hathach/enhance-multipl-portsHa Thach
Enhance rhports management
2022-02-26Merge pull request #1349 from iabdalkader/fix_inquiry_dataHa Thach
Set the standard inquiry response additional length field.
2022-02-25Set the standard inquiry response additional length field.iabdalkader
* The standard inquiry response additional length field needs to be set to the length in bytes of the remaining standard inquiry data (i.e. N - 5), otherwise the kernel driver issues a warning about short inquiry response..
2022-02-25more symbol renamehathach
2022-02-25internal symbol renamehathach
2022-02-25minor house keepinghathach
2022-02-25rename and move dcd_attr.h to tusb_mcu_attr.hhathach
2022-02-25auto detect max rhport speed based on mcuhathach
2022-02-25rename TUSB_OPT_HOST_ENABLED to CFG_TUH_ENABLEDhathach
2022-02-25rename TUSB_OPT_DEVICE_ENABLED to CFG_TUD_ENABLEDhathach
TUSB_OPT_DEVICE_ENABLED still usable for backward compatible
2022-02-25improve rphort management for usbdhathach
2022-02-25Merge pull request #1340 from tannewt/hid_to_cdcHa Thach
Add concurrent host and device example
2022-02-25enhance dual role exampleshathach
2022-02-23increase version, update doc for releasehathach
2022-02-22Merge pull request #1280 from kasjer/kasjer/nrf5x-dma-raceHa Thach
nrf5x: Fix DMA access race condition
2022-02-18Merge pull request #1331 from hathach/fix-esp-buildHa Thach
fix build with latest esp idf
2022-02-18fix build with latest esp idfhathach
2022-02-17fix HID_REPORT_ID_N()hathach
2022-02-15Merge pull request #1327 from hathach/msc-request-senseHa Thach
Add msc request sense callback
2022-02-15minor rename set sense functionhathach
2022-02-15msc example response PREVENT_ALLOW_MEDIUM_REMOVAL command as unsupported commandhathach
LUN1 of msc_disk_dual will be set to not ready to simulate medium not present (e.g SD card removed)
2022-02-14add tud_msc_request_sense_cb() as weak callbackhathach
set default error sense to NOT READY, Medium not present
2022-02-09Merge pull request #1304 from kkitayam/add_hcd_for_frdm_kl25zHa Thach
Add hcd driver for frdm kl25z
2022-02-02Merge branch 'hathach:master' into CCRX_ExtWini-Buh
2022-02-02Merge pull request #1291 from kasjer/kasjer/da1469x-fix-resumeHa Thach
da1469x: fix resume
2022-02-01Merge branch 'CCRX_Ext' of https://github.com/Wini-Buh/tinyusb into CCRX_ExtRoland
2022-02-01Modifications for CCRX toolchainRoland
2022-01-28OHCI: Fix array out of bounds issueRyzee119
If using a USB hub, a request outside the array size can occur Original line: https://github.com/hathach/tinyusb/blob/ffb257ac17f162bc5a4c26596d7a1e954db98aa5/src/portable/ohci/ohci.h#L162 It can happen in a few places but one such example is here: https://github.com/hathach/tinyusb/blob/ffb257ac17f162bc5a4c26596d7a1e954db98aa5/src/portable/ohci/ohci.c#L460 ie. if HUB address is 5, this would be an array index out of bounds on control endpoints as `CFG_TUH_DEVICE_MAX+1` is only 5. This fix just includes num of hubs in the reserve array size. Fixing locally fixed this issue.
2022-01-27Fix handling for pending transferskkitayam
2022-01-27Change hcd_edpt_xfer to send at the next SOFkkitayam
2022-01-27Add handling for NAK responsekkitayam
2022-01-27Fix handling control transferkkitayam
2022-01-27Add HCD functions for KL25Zkkitayam
2022-01-26fix mynewt build sunxihathach
2022-01-25Merge branch 'master' into masterHa Thach
2022-01-20dcd_da1469x: Re-enable RX after resumeJerzy Kasenberg
Going to suspend states disable reception on non-0 RX endpoints. Now when USB resume condition is detected, all RX endpoints with pending transfers are resumed.
2022-01-20dcd_da1469x: Fix over-run/under-run maskJerzy Kasenberg
Bit mask enabling/disabling over-run/unde-run was shifted by one nibble, so interrupt was never enabled. It did not force any issue as this situation could only happen on ISO endpoints without DMA.
2022-01-19Merge pull request #1265 from kkitayam/add_hcd_for_renesas_rxHa Thach
Add HCD driver for Renesas RX
2022-01-19nrf5x: Fix EP OUT race conditions in OS buildJerzy Kasenberg
When two tasks entered dcd_edpt_xfer() it was possible that first disabled interrupt to setup total_len and actual_len but second task for another endpoint enabled interrupt between total_len and actual_len resulting in race condition with interrupt, hence mutex is added on top of interrupt being blocked.