| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2025-04-23 | rename hcd_devtree_info_t to tuh_bus_info_t, hcd_devtree_get_info to ↵ | hathach | |
| hcd_bus_info_get streamline bus info to usbh_devies, also replace dev0 (renamed to dev0_bus) | |||
| 2025-03-26 | added hcd_edpt_close() stub for other ports | hathach | |
| 2025-03-25 | add tuh_edpt_close() API, it will abort any pending transfer | hathach | |
| implement hcd_edpt_close() for pio-usb and max3421e, also move max3421e api into its own header. | |||
| 2025-03-05 | rp2040: abort transfer if active in iso_activate() | hathach | |
| add hw_endpoint_abort_xfer() | |||
| 2025-03-05 | Merge branch 'master' into fork/pschatzmann/rp2040-iso | hathach | |
| 2025-02-28 | fix(hcd_rp2040) assert/panic endpoint already active: when a device reset ↵ | hathach | |
| while having on-going control transfer | |||
| 2025-01-15 | rp2040 correct dcd_edpt_iso_activate | pschatzmann | |
| 2024-11-28 | made change per reviews, remove dcd_edpt_close(), rename and move thing around | hathach | |
| 2024-10-15 | RP2040 New ISO API | pschatzmann | |
| 2024-10-14 | change dcd_init() return from void to bool | hathach | |
| 2024-10-14 | change the tusb_rhport_init_t struct, exclude the rhport to make API more ↵ | hathach | |
| consistent | |||
| 2024-10-11 | hcd_init() take init struct | hathach | |
| 2024-10-11 | fix fuzzing build | hathach | |
| 2024-10-11 | change dcd_init() to take rhport struct | hathach | |
| 2024-07-17 | RP2040: no need to clear usb_hw (usb registers) as they are reset to default ↵ | Liam Fraser | |
| state by a hardware reset | |||
| 2024-07-17 | RP2040: Use our own unaligned memcpy to avoid alignment faults with some ↵ | Liam Fraser | |
| memcpy implementations | |||
| 2024-04-08 | fix unused warning | hathach | |
| 2024-04-08 | add class driver deinit | hathach | |
| 2024-04-08 | Implements tuh_deinit() and tud_deinit() to uninitialize host/device mode. | Felix "xq" Queißner | |
| 2024-03-29 | fix rp2 debug build with level 3 | hathach | |
| 2024-03-13 | - only abort ep0 if it is active | hathach | |
| - rename reset_ep0_pid() to reset_ep0() - minor update log message | |||
| 2024-03-12 | Merge branch 'master' into fix-rp2040-ctrl-xfer | hathach | |
| 2024-03-11 | reformat code | hathach | |
| 2024-02-26 | work around possible RP2040 erratum | Taylor Yu | |
| RP2040 device controller does not seem to clear pending transactions configured in EP0 buffer controls when the host aborts a control transfer. This causes assertion failures, including when a buffer AVAILABLE flag set for a previous transfer causes an unexpected transaction completion. | |||
| 2023-12-26 | allow rp2040 to use max3421e as host controller | hathach | |
| - fix warnings build hcd max3421 with rp2040 - add tinyusb_host_max3421 target for rp2040 cmake, -DMAX3421_HOST=1 will enable this - add max3421 driver implementation for rp2040 family - update tusb_config for host to allow easy enable host selection for rp2040 (default/pio-usb/max3421) | |||
| 2023-11-03 | fix race condition when dev0 is removed while enumerating | hathach | |
| 2023-09-27 | change hcd_int_handler(rhport, in_isr) signature: add in_isr | hathach | |
| change tuh_int_handler() to take in_isr as optional parameter (default = true) | |||
| 2023-08-07 | code format | hathach | |
| 2023-08-04 | Merge branch 'master' into master | Ha Thach | |
| 2023-07-26 | correct hcd_edpt_clear_stall() API signature | hathach | |
| 2023-07-24 | add hcd abort xfer for rp2040 pio usb | hathach | |
| 2023-07-21 | add stub hcd_edpt_abort_xfer() for all ports | hathach | |
| 2023-07-02 | also fixed pico_trac() log messages. | Lars Pötter | |
| 2023-07-02 | made line ends consistent. | Lars Pötter | |
| 2023-06-29 | add hcd_frame_number() for pio-usb host | hathach | |
| 2023-06-26 | fix warnings when enable rtt with rp2040 | hathach | |
| 2023-04-20 | [rp2040] Make writes to SIE_CTRL aware of concurrent access | Jacek Fedorynski | |
| This commit makes it so that when setting the START_TRANS bit in the SIE_CTRL register, along with some other bits, we first set all the other bits, then wait some cycles, and then set the START_TRANS bit. Doing so protects against a situation where the USB controller is reading the register at the same time and gets an incorrect value. This mirrors the procedure already applied to buffer control registers. | |||
| 2023-03-20 | more compatible with IAR | hathach | |
| 2023-03-18 | more clean up | hathach | |
| 2023-03-17 | Merge branch 'master' into portability | hathach | |
| 2023-03-17 | fix trailing space and new line | hathach | |
| temporarily disable codespell | |||
| 2023-03-15 | fix PICO_SHARED_IRQ_HANDLER_HIGHEST_ORDER_PRIORITY not defined in old pico-sdk | hathach | |
| 2023-03-10 | rp2040: include hardware/sync.h explicitly | Dan Halbert | |
| 2023-03-02 | rp2040: Fixup lib and example compile for LLVM Embedded Toolchain for ARM | graham sanderson | |
| 2023-01-31 | fix typos | hathach | |
| 2023-01-31 | move errata to end of c file | hathach | |
| 2023-01-31 | add e15 prefix or walkaround related functions, also minor refactor | hathach | |
| 2023-01-31 | minor clean up | hathach | |
| 2023-01-24 | rp2040: shuffle hw_endpoint members | Jonathan Bell | |
| Ordering by element size prevents alignment holes, and as a consequence the host mode version of the struct is the same size as device, as pad bytes at the end are used instead. | |||
| 2023-01-24 | rp2040: avoid device-mode state machine hang | Jonathan Bell | |
| Don't mark IN buffers as available during the last 200us of a full-speed frame. This avoids a situation seen with the USB2.0 hub on a Raspberry Pi 4 where a late IN token before the next full-speed SOF can cause port babble and a corrupt ACK packet. The nature of the data corruption has a chance to cause device lockup. Use the next SOF to mark delayed buffers as available. This reduces available Bulk IN bandwidth by approximately 20%, and requires that the SOF interrupt is enabled while these transfers are ongoing. Inherit the top-level enable from the corresponding Pico-SDK flag. Applications that will not use the device in a situation where it could be plugged into a Pi 4 or Pi 400 (for example, when directly connected to a commodity hub or other host) can turn off the flag in the SDK. v2: use a field in hw_endpoint to mark pending. v3: Partial rewrite following review comments - Stub functions out if the workaround is not required - Only force-enable SOF while any vulnerable endpoints are active - Respect dcd_sof_enable() functionality - Get rid of all but necessary ifdef hackery - Fix a bug where the "endpoint lock" was used with an uninitialised pointer. | |||
