summaryrefslogtreecommitdiff
path: root/src/portable
AgeCommit message (Collapse)Author
2023-06-15refactor khci to chipidea fs driver for device (host is not yet)hathach
2023-06-12Merge pull request #2104 from hathach/g4-pdHa Thach
Initial support for USB PD stack
2023-06-12ad pd_types.hhathach
2023-06-12response with request safe5v, get passed PS_READYhathach
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-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-05renesas_ra: fix wrong ifdefMartino Facchin
Since CFG_TUSB_RHPORT1_MODE is always defined now for backwards compatibility
2023-06-05Merge remote-tracking branch 'mainline/master' into HEADMartino Facchin
Update fsp to 4.0.0
2023-06-05renesas_rx: fix compilation on latest GCCMartino Facchin
__CCRX__ only applyes to version 4 of RX family compiler http://tool-support.renesas.com/autoupdate/support/onlinehelp/csp/V4.01.00/CS+.chm/Compiler-CCRX.chm/Output/ccrx04c0201y.html __RX__ is one of the macros exported by latest gcc (gcc_8.3.0.202305_rx_elf)
2023-06-02fix(RA Host Portable): git rid of the IAR warnings for packedAladdin Bakosh
2023-06-01Merge branch 'master' into feature/STM32G0hathach
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-17renesas: provide default for CFG_TUSB_RHPORT1_MODEMartino Facchin
Should fix CI failure for Renesas RX family
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-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-04Use double-sized fifo only for IN endpointsMichiel van Leeuwen
2023-05-03renesas: add fallback for targets not defining CFG_TUSB_RHPORT*_MODEMartino Facchin
2023-05-03renesas_ra: support RA2A1 (FS only)Martino Facchin
2023-05-03renesas_ra: host: handle retry on attach()Martino Facchin
2023-05-03renesas_ra: add support for HS portMartino Facchin
2023-04-28Check correct interrupt flagMichiel van Leeuwen
Fixes #1737
2023-04-28dwc2: configure fifo size to be twice the max_sizeMichiel 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-24Merge pull request #2013 from tannewt/imx_1042Ha Thach
Handle iMX RT 1042 usb naming
2023-04-20[rp2040] Make writes to SIE_CTRL aware of concurrent accessJacek 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-04-17Cleanup unnecessary code for 16bit access.Mengsk
2023-04-14Fix FIFO transfer and buffer alignment.HiFiPhile
2023-04-14Fix GCC build.HiFiPhile
2023-04-14Use PLL clock.HiFiPhile
2023-04-14Merge branch 'master' of https://github.com/hathach/tinyusb into pr1942HiFiPhile
2023-04-06Handle iMX RT 1042 usb namingScott Shawcroft