summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-25Merge pull request #1340 from tannewt/hid_to_cdcHa Thach
Add concurrent host and device example
2022-02-25enhance dual role exampleshathach
2022-02-23Merge pull request #1341 from hathach/release-0.13.00.13.0Ha Thach
increase version, update doc for release
2022-02-23increase version, update doc for releasehathach
2022-02-22Guard clock setup for USB2Scott Shawcroft
2022-02-22Add dual role (concurrent) exampleScott Shawcroft
This reads HID devices over host and then translates that to ASCII and sends it over CDC device.
2022-02-22Merge pull request #1300 from sharpie7/masterScott Shawcroft
Some platforms require SDKs and use of cmake
2022-02-22Merge pull request #1280 from kasjer/kasjer/nrf5x-dma-raceHa Thach
nrf5x: Fix DMA access race condition
2022-02-18more esp build fixhathach
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-17Merge pull request #1330 from hathach/fix-HID_REPORT_ID_NHa Thach
fix HID_REPORT_ID_N()
2022-02-17fix HID_REPORT_ID_N()hathach
2022-02-17Merge pull request #1328 from NexusXe/patch-1Ha Thach
Fix link to supported boards in Getting Started page
2022-02-16Fix capitalizationNexusXe
2022-02-16Fix link to supported boardsNexusXe
It used to point to `boards.md`, which doesn't exist.
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-15Merge pull request #1318 from JayToltTech/masterHa Thach
Nit spelling correction
2022-02-15Merge pull request #1322 from ZenithalHourlyRate/ZenithalHourlyRate-readme-typoHa Thach
readme: fix typo
2022-02-14add tud_msc_request_sense_cb() as weak callbackhathach
set default error sense to NOT READY, Medium not present
2022-02-10readme: fix typoZenithal
2022-02-09Nit spelling correctionJay Beavers
2022-02-09Merge pull request #1304 from kkitayam/add_hcd_for_frdm_kl25zHa Thach
Add hcd driver for frdm kl25z
2022-02-02Merge pull request #1291 from kasjer/kasjer/da1469x-fix-resumeHa Thach
da1469x: fix resume
2022-02-01Merge pull request #1305 from Ryzee119/patch-1Ha Thach
OHCI: Fix array out of bounds issue
2022-02-01Merge pull request #1303 from mysterywolf/masterHa Thach
add rt-thread's tinyusb repo address
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-28Add a partial support mark to KL25kkitayam
2022-01-27Fix handling for pending transferskkitayam
2022-01-27Add hcd into source listkkitayam
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-26add rt-thread's tinyusb repo addressMan, Jianting (Meco)
2022-01-26Merge pull request #1301 from hathach/fix-mynewt-sunxiHa Thach
fix mynewt build sunxi
2022-01-26fix mynewt build sunxihathach
2022-01-26Merge pull request #1220 from t123yh/masterHa Thach
Add support for Allwinner F1C100s family
2022-01-25Merge branch 'master' into masterHa Thach
2022-01-24Some platforms require SDKs and use of cmakeIain Sharp
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 #1288 from hathach/rx-host-example-ciHa Thach
enable ci build for RX65X host example
2022-01-19enable ci build for RX65X host examplehathach
update comment for unit not ready 3a-00 additional sense
2022-01-19Merge pull request #1265 from kkitayam/add_hcd_for_renesas_rxHa Thach
Add HCD driver for Renesas RX
2022-01-19Merge pull request #1287 from alisitsyn/bugfix/fix_idfgh6508Ha Thach
fix idfgh-6508: return type in tu_fifo_peek_n()
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.