| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2025-09-13 | ohci: Re-implement TD allocation, matching the specification | R | |
| 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-12 | ohci: Align TDs to cache lines | R | |
| 2025-09-12 | ohci: Add functions used for explicit cache operations | R | |
| 2025-08-05 | Merge pull request #3203 from hathach/fix-rp2-audio-iso-transfer | Ha Thach | |
| fix rp2 iso transfer with new audio driver | |||
| 2025-08-05 | fix rp2 iso transfer: reset state before notify stack. since new audio ↵ | hathach | |
| driver can execute xfer_is() | |||
| 2025-08-05 | Fix AT32F405xx missing USB HS definition | peppapighs | |
| 2025-08-02 | fix tud_audio_set_itf_close_EP_cb() typo | hathach | |
| 2025-08-02 | Merge pull request #3183 from rppicomidi/fix_3159 | Ha Thach | |
| Fix #3159: Handle MIDI interface after audio streaming interface | |||
| 2025-08-02 | use tu_desc_in_bounds() for descriptor loop | hathach | |
| 2025-08-01 | add bufsize to tud_msc_inquiry2_cb() | hathach | |
| 2025-08-01 | Merge pull request #3191 from hathach/at32 | Ha Thach | |
| support at32 mcu (2) | |||
| 2025-07-31 | clean up | hathach | |
| 2025-07-28 | fix pre-commit, remove svd file since they are heavy and should be in ↵ | hathach | |
| mcu/sdk instead add cmake support for f403a_407 and f423 | |||
| 2025-07-26 | Merge pull request #3173 from HiFiPhile/feature/usbtmc_vendor-specific | Ha Thach | |
| feature(usbtmc): add support for usbtmc vendor-spicific command messages | |||
| 2025-07-26 | Update src/class/usbtmc/usbtmc_device.c | Ha Thach | |
| Co-authored-by: Copilot <[email protected]> | |||
| 2025-07-23 | Restore accidentally erased debug log message | rppicomidi | |
| 2025-07-23 | Delete debugging printf | rppicomidi | |
| 2025-07-23 | Fix #3159: Handle MIDI interface descriptor after audio streaming interface | rppicomidi | |
| 2025-07-15 | Fix compilation when CH34X support is disabled | Eli Lipsitz | |
| 2025-07-11 | fix last transfer size | Zixun LI | |
| Co-authored-by: Copilot <[email protected]> | |||
| 2025-07-11 | typo fix | Zixun LI | |
| Co-authored-by: Copilot <[email protected]> | |||
| 2025-07-11 | Merge branch 'master' into feature/usbtmc_vendor-specific | HiFiPhile | |
| 2025-07-11 | Merge pull request #3172 from hathach/msc-inquiry2-cb | Ha Thach | |
| add tud_msc_inquiry2_cb() for full inquiry response | |||
| 2025-07-11 | Merge pull request #3168 from hathach/feature/add_tusb_teardown | Ha Thach | |
| Feature/add tusb teardown | |||
| 2025-07-11 | add tud_msc_inquiry2_cb() for full inquiry response | hathach | |
| 2025-07-10 | Merge pull request #2987 from hathach/fix-2923-alt | Ha Thach | |
| make sure TOTAL_DRIVER_COUNT is not overflow 8-bit | |||
| 2025-07-10 | rename to tusb_deinit() to match other namingg | hathach | |
| 2025-07-10 | Merge branch 'master' into fork/roma-jam/feature/add_tusb_teardown | hathach | |
| 2025-07-10 | FIx recurrent suspend ISR. | HiFiPhile | |
| 2025-07-09 | add board_vbus_set() for samd21/d51 to enable usb host vbus | hathach | |
| enable host example build for samd21/d51 | |||
| 2025-07-09 | Merge branch 'refs/heads/master' into fork/ChrisDeadman/hcd-samd-support | hathach | |
| 2025-07-09 | Merge pull request #3165 from hathach/codex/find-and-fix-a-codebase-bug | Ha Thach | |
| Fix HID descriptor parsing of 4‑byte items | |||
| 2025-07-09 | Add spec reference for 4-byte HID item size | Ha Thach | |
| 2025-07-09 | fix HID parser variable size handling | Ha Thach | |
| 2025-07-08 | revert edpt busy/claim status if xfer_isr() defer to xfer_cb() | hathach | |
| 2025-07-08 | minor reformat code | hathach | |
| 2025-07-08 | Merge remote-tracking branch 'origin/master' into xfer_isr | hathach | |
| # Conflicts: # examples/device/audio_4_channel_mic_freertos/src/main.c # examples/device/audio_test_freertos/src/main.c # src/class/audio/audio_device.c | |||
| 2025-07-08 | Fix HID descriptor parser size handling | Ha Thach | |
| 2025-07-07 | Merge pull request #2963 from HiFiPhile/stm32_cache | Ha Thach | |
| Add DWC2 cache maintenance routines for STM32 | |||
| 2025-07-07 | change CFG_TUSB_MEM_DCACHE_LINE_SIZE_DEFAULT (not defined) to 1 | hathach | |
| use stock iar linker | |||
| 2025-07-07 | update | YixingShen | |
| 2025-07-07 | support at32 mcu | zhiqiang | |
| 2025-07-07 | fixed CFG_TUD_VENDOR > 1 vendord_open tud_vendor_n_write_flush | YixingShen | |
| tud_vendor_n_write_flush argument should be 0,1,2,..., but p_vendor - _vendord_itf is 0, sizeof(vendord_interface_t), 2*sizeof(vendord_interface_t), ... | |||
| 2025-07-05 | Use DMA enable for DCache condition | HiFiPhile | |
| Signed-off-by: HiFiPhile <[email protected]> | |||
| 2025-07-05 | always define CFG_TUH_WCH_USBIP_USBFS=1 for ch32v20x since only port1 ↵ | hathach | |
| support host mode reformat hcd usbfs add uart rx for ch32v20x bsp | |||
| 2025-07-04 | Merge branch 'refs/heads/master' into fork/verylowfreq/pr-ch32v-usbfs-host | hathach | |
| 2025-07-03 | Merge branch 'master' into fork/HiFiPhile/stm32_cache | hathach | |
| 2025-07-03 | reduce bInterval for default CDC descriptor from 16ms to 1ms | hathach | |
| 2025-07-03 | make notify API and memory configurable with CFG_TUD_CDC_NOTIFY | hathach | |
| add tud_cdc_n_notify_conn_speed_change() add tud_cdc_notify_complete_cb() | |||
| 2025-07-02 | Merge branch 'master' into fork/HiFiPhile/dcd_notif | hathach | |
