summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-09-22Fix erroneous documentation of TU_ASSERT/TU_VERIFYTerje Runde
2025-09-22implement get object, close sessionhathach
2025-09-21implement get object infohathach
2025-09-21implement get objection handleshathach
2025-09-20Merge pull request #3258 from Isoheptane/patch-1Zixun LI
Fix table display issue in README.rst
2025-09-20Fix table display issue in README.rstCascade Kobayashi
Fix an table display issue in README.rst that was introduced in commit 4182342112d92898d2b55ef9562c545a9ebf52ac.
2025-09-20implement get device properties describer and device properties valuehathach
2025-09-20implement get device properties valuehathach
2025-09-19rework get storageIDs and get storage infohathach
2025-09-19rework get storageIDs and get storage infohathach
2025-09-19reworking MTP API, adding callback, getting GetDeviceInfo workinghathach
2025-09-18Merge branch 'weak_cb' of https://github.com/hathach/tinyusb into weak_cbHiFiPhile
2025-09-18Add usbd_edpt_xfer_fifo stubHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-09-18set driver count to 0HiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-09-18Fix ESP32 buildHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-09-18Merge pull request #3255 from majbthrd/enoughwheelsHa Thach
use existing overloadable Pico SDK section macro instead of creating a custom one
2025-09-18Potential fix for code scanning alert no. 914: Commented-out codeZixun LI
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-09-18Fix RPI buildHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-09-17Fix address translation functionsHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-09-17Fix board_reset_to_bootloaderHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-09-17Fix board_init_after_tusbHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-09-17Fix board_get_unique_idHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-09-17Replace old delay functions by tusb_time_delay_ms_apiHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-09-17Update weak callbacks to new syntaxHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-09-17use existing overloadable Pico SDK section macro instead of creating a ↵Peter Lawrence
custom one
2025-09-16remove mtp contexthathach
2025-09-16refactor mtp xfer callbackhathach
2025-09-16Merge pull request #3252 from espressif/feat/esp32h4_supportHa Thach
Add ESP32-H4 as a supported MCU in TinyUSB and wire it into build/run…
2025-09-16Add ESP32-H4 as a supported MCU in TinyUSB and wire it into build/runtime:igor.masar
- tusb_option.h: define OPT_MCU_ESP32H4 - tusb_mcu.h: enable DWC2 USBIP for H4 - dcd_dwc2.c: add H4 USB_WRAP field aliases (wrap_* → legacy names) - dwc2_esp32.h: add H4 controller entry (FS base/IRQ, ep caps) - family.c: include H4 in USB init/PHY setup
2025-09-16refactor generic container to use EPBUF declarationhathach
simplify container field name
2025-09-16merge context into interface and refactor, reformathathach
2025-09-15fix copying readme.txt contentshathach
2025-09-15Merge branch 'master' into fork/ennebi/mtphathach
2025-09-15Merge pull request #3251 from hathach/fix-dwc2-reseetHa Thach
dwc2: wait for ahb idle before core reset
2025-09-15add nrf54 to dwc2 infohathach
2025-09-15fix imxrt buildhathach
2025-09-15dwc2: wait for ahb idle before core resethathach
2025-09-13ohci: Use uncached alias to access EDsR
This code is written very carefully to always use an uncached view of memory to read/write EDs. An uncached view must *always* be used, or else cache behavior can corrupt the ED. As part of this change, combine access into as few word-sized accesses as possible. This makes the code perform better. Doing this involves giving type names to the bitfields that make up the ED's data words.
2025-09-13Merge pull request #3246 from HiFiPhile/nxp_hostHa Thach
ehci: fix device removal and endpoint open on next plug
2025-09-13Merge pull request #3247 from hathach/fsdev_fixHa Thach
Fix AT32 compile after #3152
2025-09-13ohci: Perform explicit cache operations on TDs, buffersR
2025-09-13ohci: Re-implement TD allocation, matching the specificationR
The initial motivation for doing this is to remove the `used` flag in the TD. If we use this flag, we end up being required to read from TDs that the OHCI controller might be modifying (i.e. the OHCI controller logically owns the TD). This happens when we try to allocate a new, empty TD while the OHCI host controller is working on a transfer. Move the `used` flag to `gtd_extra_data_t`. This data is only used by the CPU, and the OHCI controller never accesses it. The existing allocation method for TDs does *not* put an empty TD onto each ED (i.e it does *not* do what is shown in Figure 5-6 of the OHCI specification). Instead, the NextTD field of the last TD is set to 0. The TailP field of the ED is also set to 0. This works in many cases. However, this implementation means that the CPU may end up trying to write to the NextTD field of an in-progress transfer while the OHCI host controller logically owns it. Change the implementation to use an empty TD, as suggested by the specification, for endpoints other than EP0. This avoids the above issue. It is not necessary to make the change for EP0 because only at most one TD can ever be pending at a time. The above change should also remove the need for the stall workaround. In the future, we want to modify the code to access EDs through an uncached mapping. Because uncached mappings are slow, we want to access EDs as little as possible. Currently, when a TD completes, we access an ED in order to figure out the device address and endpoint number of the TD which was completed. Because moving `used` to `gtd_extra_data_t` necessitates expanding it, we have enough room to also store the device address and endpoint number of the TD. This patch does so. With the above two changes, we no longer need to access an ED when a TD completes. Also remove the `index` field from TDs as it is no longer necessary.
2025-09-12ohci: Align TDs to cache linesR
2025-09-12ohci: Add functions used for explicit cache operationsR
2025-09-12Fix AT32 compile after #3152HiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-09-12Merge pull request #3152 from Milek7/sb-epZixun LI
stm32_fsdev: Allow configuring single-buffered isochronous endpoints.
2025-09-12Update commentHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-09-12exclude stm32l0538 due to size limitHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-09-12Merge branch 'master' into sb-epHiFiPhile
2025-09-12ehci: fix removed qhd get reusedHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>