| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2023-05-29 | Even when we get an empty "status change" interrupt from the hub, schedule ↵ | Ivo Popov | |
| another interrupt poll. During enumeration, when there are multiple devices attached to the hub as it's plugged into the Pi Pico, enumeration hangs, because we get a "status change" callback with value zero. With this patch, we retry several times on "zero" status change callbacks, until eventually we succeed. This is the cheapo hub that exhibits this behavior, but I assume it's not the only one: https://www.amazon.com/gp/product/B083RQMC7S. While debugging this, I consulted the implementation in the Linux kernel. There, hub setup explicitly checks each port individually, before starting to depend on "status change" interrupts: https://elixir.bootlin.com/linux/latest/source/drivers/usb/core/hub.c#L1133. We probably should do something like that here, but it's a much bigger change. | |||
| 2023-05-28 | Fixes bug in tuh_msc_ready | gitlab | |
| 2023-05-26 | move lpc18 and rp2040 to cmake workflow since rp2040 often failed randomly ↵ | hathach | |
| with make | |||
| 2023-05-26 | fix build with net_lwip_webserver example | hathach | |
| 2023-05-25 | Merge pull request #2081 from hathach/more-build-system | Ha Thach | |
| More build system | |||
| 2023-05-25 | fix issue with ftdi host driver with status bytes | hathach | |
| add workflow_dispatch to all ci workflow | |||
| 2023-05-24 | Merge pull request #2063 from abakosh/develop | Ha Thach | |
| fix(RA Host Portable): implement missing function __builtin_ctz(x) | |||
| 2023-05-24 | fix(RA Host Portable): implement missing function __builtin_ctz(x) for IAR | Aladdin Bakosh | |
| 2023-05-23 | Enhance chipidea (#2075) | Ha Thach | |
| * update chipidea dcd, remove manual ep_count and use DCCPARAMS to get number of endpoint instead * add dcd dcache for chipidea * add cmake for lpc18 * add makefile build for mcx * use fork of mcu sdk * fix ci build with nrf * flash rp2040 with openocd | |||
| 2023-05-19 | more dcache fix | hathach | |
| 2023-05-19 | ehci fix dcache clean when control endpoint failed | hathach | |
| 2023-05-19 | only clean/invalidate dcache on imxrt if memory is not in DTCM | hathach | |
| 2023-05-18 | refactor ehci: add attached_buffer for dcache invalidate for IN transfer | hathach | |
| 2023-05-18 | refactor ehci, since usbh only queue 1 TD per queue head | hathach | |
| 2023-05-18 | EHCI more improvement | hathach | |
| - more dcache clean/invalidate - extract init_periodic_list() - improve isr list handling | |||
| 2023-05-18 | more cache, fix an similar issue with OHCI when removing an queue head | hathach | |
| 2023-05-18 | use weak local for dcache function to skip if() | hathach | |
| 2023-05-18 | EHCI adding dcahe support, passing enumertaion | hathach | |
| 2023-05-17 | renesas: provide default for CFG_TUSB_RHPORT1_MODE | Martino Facchin | |
| Should fix CI failure for Renesas RX family | |||
| 2023-05-17 | adding hcd_dcache_clean/hcd_dcache_invalidate | hathach | |
| 2023-05-16 | fix error on EHCI causes xfer error in non-queued qhd which cause memory fault | hathach | |
| 2023-05-16 | usbd: fix control transfer issue for chipidea hs when previous status and ↵ | hathach | |
| new setup complete in the same isr frame change usbd edpt busy/stalled/claimed value to 0/1 instead of (true/false) since they are 1-bit field. | |||
| 2023-05-16 | add various check for disconncted device, also fix #1511 un-roll recursive ↵ | hathach | |
| hub removal with usbh queue | |||
| 2023-05-16 | EHCI: fix xfer failed with disconnected device as stalled | hathach | |
| - change CFG_TUH_ENDPOINT_MAX to 16 (max endpoint pair per device) if not defined - change QHD_MAX for EHCI, should be user configurable and more optimized in the future | |||
| 2023-05-16 | correct EHCI reporting failed xfer (instead of stalled) when device is unplugged | hathach | |
| 2023-05-10 | allow imxrt build with dual exmaples | hathach | |
| 2023-05-09 | fix ehci issue with portsc when enable port power and port reset | hathach | |
| fix attached device not regconized if attached before power on | |||
| 2023-05-08 | build host examples with imx | hathach | |
| 2023-05-07 | update all device cmake example for imx | hathach | |
| 2023-05-06 | cmake work well with imxrt | hathach | |
| 2023-05-05 | more temp work | hathach | |
| 2023-05-04 | wip | hathach | |
| 2023-05-04 | Use double-sized fifo only for IN endpoints | Michiel van Leeuwen | |
| 2023-05-03 | renesas: add fallback for targets not defining CFG_TUSB_RHPORT*_MODE | Martino Facchin | |
| 2023-05-03 | renesas_ra: support RA2A1 (FS only) | Martino Facchin | |
| 2023-05-03 | renesas_ra: host: handle retry on attach() | Martino Facchin | |
| 2023-05-03 | renesas_ra: add support for HS port | Martino Facchin | |
| 2023-04-28 | more update to host serial API | hathach | |
| 2023-04-28 | allow call tuh cdc with blocking (callback = NULL) | hathach | |
| - tuh_cdc_set_control_line_state() - tuh_cdc_set_baudrate() - tuh_cdc_set_line_coding() | |||
| 2023-04-28 | improve host serial drivers | hathach | |
| - tuh_control_xfer() update xfer result to user_data if complete callback = NULL (sync/blocking) - refactor host serial driver for acm/ftdi/cp210x | |||
| 2023-04-28 | Check correct interrupt flag | Michiel van Leeuwen | |
| Fixes #1737 | |||
| 2023-04-28 | dwc2: configure fifo size to be twice the max_size | Michiel van Leeuwen | |
| This is needed in order to always be able to fit a packet in the fifo. Writing to the fifo is done from an interrupts that fires when the fifo is half-empty, so the fifo must be twice the packet size. | |||
| 2023-04-28 | add aligned(4) for cdc_line_coding_t | hathach | |
| 2023-04-27 | cdc: fix line_coding aligment | Jean-Baptiste Theou | |
| While calling tud_cdc_n_get_line_coding, the structure is copied into the destination. Dump of assembler code for function tud_cdc_n_get_line_coding: 0x000193f4 <+0>: mov.w r2, #2112 @ 0x840 0x000193f8 <+4>: ldr r3, [pc, #20] @ (0x19410 <tud_cdc_n_get_line_coding+28>) 0x000193fa <+6>: mla r0, r2, r0, r3 => 0x000193fe <+10>: ldr.w r3, [r0, #6] 0x00019402 <+14>: str r3, [r1, #0] On some platform (tested on LPC55S28), the address needs to be 4-bytes aligned. Without this, the address is (gdb) p &_cdcd_itf.line_coding $3 = (cdc_line_coding_t *) 0x40100006 <_cdcd_itf+6> which leads to a HardFault. With this fix (gdb) p &_cdcd_itf.line_coding $5 = (cdc_line_coding_t *) 0x40100008 <_cdcd_itf+8> and the function can be called properly Signed-off-by: Jean-Baptiste Theou <[email protected]> | |||
| 2023-04-27 | add tuh_cdc_set_baudrate() | hathach | |
| 2023-04-27 | add code to calculate divisor from baudrate for ftdi | hathach | |
| 2023-04-27 | clean up | hathach | |
| 2023-04-27 | forgot to add cp210x header | hathach | |
| 2023-04-27 | more refactor | hathach | |
| 2023-04-27 | cp210x seems to work well | hathach | |
