summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2023-06-12Merge pull request #2104 from hathach/g4-pdHa Thach
Initial support for USB PD stack
2023-06-12wrap up initial PD support for G4hathach
2023-06-12ad pd_types.hhathach
2023-06-12response with request safe5v, get passed PS_READYhathach
2023-06-09able to parse SOURCE_CAP message from dfphathach
2023-06-09move protocol message to stack, disable battery in PWR's CR3hathach
there is still issue with CC1/CC2 pull down resistor and vstate is not correct.
2023-06-08enable DMA for both pd rx, txhathach
2023-06-08dma rx works wellhathach
2023-06-08define tuc_int_handler() to empty if TUC not enabledhathach
2023-06-08default CFG_TUC_ENABLED to 0hathach
2023-06-07able to response with good crchathach
2023-06-07fix(RA): static assert RUSB2 registerAladdin Bakosh
2023-06-07inital support for usb typec and pd examplehathach
2023-06-06able to get usbpd irq handlerhathach
- handle cc1, cc2 voltage changes - get order set, rx message end interrupt - add segger rtt support for cmake
2023-06-05clean uphathach
2023-06-02fix(RA Host Portable): git rid of the IAR warnings for packedAladdin Bakosh
2023-06-02Merge pull request #2092 from hathach/stm32g4Ha Thach
Stm32g4
2023-06-02add IAR support for G0 with cmakehathach
2023-06-02cmake refactorhathach
2023-06-01Fix diagnostic format string (missing %u)Dave Nadler
2023-06-01Merge branch 'master' into feature/STM32G0hathach
2023-05-29slightly clean uphathach
2023-05-29check status_change is not zero firsthathach
2023-05-29Even 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-26move lpc18 and rp2040 to cmake workflow since rp2040 often failed randomly ↵hathach
with make
2023-05-26fix build with net_lwip_webserver examplehathach
2023-05-25Merge pull request #2081 from hathach/more-build-systemHa Thach
More build system
2023-05-25fix issue with ftdi host driver with status byteshathach
add workflow_dispatch to all ci workflow
2023-05-24Merge pull request #2063 from abakosh/developHa Thach
fix(RA Host Portable): implement missing function __builtin_ctz(x)
2023-05-24fix(RA Host Portable): implement missing function __builtin_ctz(x) for IARAladdin Bakosh
2023-05-23Enhance 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-19more dcache fixhathach
2023-05-19ehci fix dcache clean when control endpoint failedhathach
2023-05-19only clean/invalidate dcache on imxrt if memory is not in DTCMhathach
2023-05-18refactor ehci: add attached_buffer for dcache invalidate for IN transferhathach
2023-05-18refactor ehci, since usbh only queue 1 TD per queue headhathach
2023-05-18EHCI more improvementhathach
- more dcache clean/invalidate - extract init_periodic_list() - improve isr list handling
2023-05-18more cache, fix an similar issue with OHCI when removing an queue headhathach
2023-05-18use weak local for dcache function to skip if()hathach
2023-05-18EHCI adding dcahe support, passing enumertaionhathach
2023-05-17adding hcd_dcache_clean/hcd_dcache_invalidatehathach
2023-05-16fix error on EHCI causes xfer error in non-queued qhd which cause memory faulthathach
2023-05-16usbd: 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-16add various check for disconncted device, also fix #1511 un-roll recursive ↵hathach
hub removal with usbh queue
2023-05-16EHCI: fix xfer failed with disconnected device as stalledhathach
- 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-16correct EHCI reporting failed xfer (instead of stalled) when device is unpluggedhathach
2023-05-10allow imxrt build with dual exmapleshathach
2023-05-09fix ehci issue with portsc when enable port power and port resethathach
fix attached device not regconized if attached before power on
2023-05-08build host examples with imxhathach
2023-05-07update all device cmake example for imxhathach