Commit Graph

  • 3c564fd947 try adding host test for p4 hathach 2024-11-11 18:40:31 +07:00
  • d8970506a6 hil replace f407disco by h743nucleo hathach 2024-11-11 17:33:02 +07:00
  • 57c8c223e5 correctly test dwc2 dma device for s3, disable for p4 (cache issue) and f407 fs (slave only) hathach 2024-11-11 16:42:08 +07:00
  • 13f78e2e77 add esp32p4 to hil hathach 2024-11-11 16:07:33 +07:00
  • a8903d3152 Merge pull request #2854 from roma-jam/fix/esp32p4_device Ha Thach 2024-11-10 15:25:52 +07:00
  • fde947b124 fix typo Ha Thach 2024-11-10 12:55:13 +07:00
  • 449753ae69 Merge branch 'master' into fix/esp32p4_device Ha Thach 2024-11-10 12:40:52 +07:00
  • 9d86ca1777 Merge pull request #2870 from hathach/hcd-dwc2 Ha Thach 2024-11-09 00:10:32 +07:00
  • 3831786ede minor clean up hathach 2024-11-08 22:53:28 +07:00
  • c8d104fb47 fix warnings hathach 2024-11-08 21:55:23 +07:00
  • 5d00488907 get hcd work esp32p4 but only in slave mode. In DMA channel's HCDMA is increased but data transfer over USB is not correct. hathach 2024-11-08 17:23:43 +07:00
  • f5c5aaf017 fix(tusb.h): Fixed backward comatibility for port selection Roman Leonov 2024-10-25 14:38:09 +02:00
  • 4f11243d30 Merge pull request #1 from subsonicpulse/subsonicpulse-patch-fix-usage-bootsel-button-pico2 subsonicpulse 2024-11-07 12:19:38 +01:00
  • 8174ab0640 Fix Usage of Bootsel Button for Pico 2 subsonicpulse 2024-11-07 12:16:42 +01:00
  • ab8160a29b hcd work with esp32p4 in slave mode but have issue with DMA mode. In slave it enumerate device but has issue with msc bulk in hathach 2024-11-07 16:37:33 +07:00
  • 48b32f5d1e enable host dwc2 dma by default hathach 2024-11-07 15:15:24 +07:00
  • 9920ebff4a update bsp for h7 to support host mode hathach 2024-11-07 15:04:19 +07:00
  • 4baeeeb564 enable stm32f4 host hathach 2024-11-07 09:49:04 +07:00
  • 772edf879b fix iar build hathach 2024-11-06 22:13:05 +07:00
  • e5c26924ed update bsp for f7 hathach 2024-11-06 21:46:18 +07:00
  • fe79a93594 implement split for slave, got mouse working hathach 2024-11-06 12:09:32 +07:00
  • fbc193647a split interrupt work with fs mouse hathach 2024-11-05 16:26:56 +07:00
  • 372db1e19a implement split transaction, got control working hathach 2024-11-05 10:37:39 +07:00
  • 5f891e020c usbh use the new tusb_time_delay_ms_api() fix duplicated device attach for some devices which cause "USBH Defer Attach until current enumeration complete" include dev0 for tuh_edpt_abort_xfer() hathach 2024-11-04 17:24:49 +07:00
  • 29262f3e24 improve port0_enable(), properly configure hcfg and hfir according to port speed. Enable low power UTMI+ phy mode for ls/fs device. hathach 2024-11-04 17:22:25 +07:00
  • 80ad7c4e87 add tusb_time_millis_api() and default/weak tusb_time_delay_ms_api(). Which is required for host and some device without RTOS. hathach 2024-11-04 17:20:58 +07:00
  • cdc98e12c1 Improve EP IN flow control. HiFiPhile 2024-11-02 17:09:51 +01:00
  • ed8d2c9594 Fix align issue of _audiod_fct.alt_setting. HiFiPhile 2024-11-02 17:07:44 +01:00
  • 54df3b2e94 mimxrt1170_evkb: add M4 build support. HiFiPhile 2024-11-02 15:13:08 +01:00
  • 5d6d905cb0 got interrupt in working with slave hathach 2024-11-02 20:20:27 +07:00
  • 56f53a6132 Replace cache clean/invalidate by MPU config. HiFiPhile 2024-11-02 12:45:32 +01:00
  • 038be21e4d Merge pull request #2713 from rgrr/ncm-fix-in-tud_network_recv_renew HiFiPhile 2024-11-01 22:22:31 +01:00
  • b648a38ae8 Fix Warning[Pe188]: enumerated type mixed with another type. HiFiPhile 2024-11-01 19:49:00 +01:00
  • a0f75e5b67 fix slave in nak & ack order hathach 2024-11-02 00:20:40 +07:00
  • c96e04159e implement periodic endpoint using sof hathach 2024-11-01 21:31:01 +07:00
  • 4f288c030a move buffer and buflen to hcd_endpoint_t to support periodic endpoint hathach 2024-11-01 20:58:29 +07:00
  • b1182de872 clean up is_period hathach 2024-11-01 19:04:32 +07:00
  • b7ff10f59c rename and add both CFG_TUH_DWC2_SLAVE_ENABLE/CFG_TUH_DWC2_DMA_ENABLE better out dma handle hathach 2024-11-01 17:54:10 +07:00
  • 4c8ce9733a dma host work well with bulk/control hathach 2024-11-01 16:55:12 +07:00
  • f7f80e844c do ping for slave out when nak/nyet hathach 2024-10-31 23:00:19 +07:00
  • 9afa64014c testing hcd with dma, work well after enumeration. hathach 2024-10-31 21:37:57 +07:00
  • 9897a36ac4 fix f7 ci build hathach 2024-10-31 12:11:47 +07:00
  • 92e7ac6c23 fix bulk out and txfifo_empty(), should not rely on hcchar_bm.ep_size for OUT. msc explorer seems to work well. hathach 2024-10-31 10:50:09 +07:00
  • b89fa89779 Merge pull request #2861 from bollenn/callback-doxygen-info HiFiPhile 2024-10-30 21:10:09 +01:00
  • 85ff529a31 Merge branch 'master' into dcd_notif HiFiPhile 2024-10-30 19:36:05 +01:00
  • 80d8157048 handle out nak slave -> halted -> retry transfer hathach 2024-10-30 18:11:41 +07:00
  • 5d74fb43b3 Extend callback information Bollen Nico 2024-10-29 20:41:13 +01:00
  • 3c1cb0e08f correct the fifo_available comparison (words not byte) hathach 2024-10-29 22:48:58 +07:00
  • 616b5770f2 fix pid token calculation, implement hcd_edpt_clear_stall(). msc explorer example read work, but write10 still wip hathach 2024-10-29 21:54:21 +07:00
  • 074811c251 refactor channel_send_in_token(), support IN token for multiple transaction per transfer hathach 2024-10-29 19:08:45 +07:00
  • df55d587df update handle in/out, separate allocated and xfer result to make it easier to manage. Fix channel disable/deallocated. hathach 2024-10-29 18:23:56 +07:00
  • 1e164412bf split handle channel slave out/in hathach 2024-10-29 16:06:44 +07:00
  • cef9bab4b5 minor clean up hathach 2024-10-29 15:07:28 +07:00
  • 4797c4f508 fix nptx fifo empty handling hathach 2024-10-29 14:47:44 +07:00
  • c93d3eda5f restructure, add hcd endpoint, xfer to minimize footprint for managing xfer. hathach 2024-10-29 13:01:48 +07:00
  • f953b6bf92 minor rename hathach 2024-10-28 18:40:21 +07:00
  • dd99da9dce implement hcd_edpt_abort_xfer, hcd_device_close, check request queue available before making usb attempt. Though there is no handling when queue is full. device_info example work well hathach 2024-10-28 17:45:44 +07:00
  • 79c0a249e8 got In transfer working, able to get 1st device descriptor and set address hathach 2024-10-25 22:56:11 +07:00
  • 77fa2f6701 fix make build hathach 2024-10-25 19:08:23 +07:00
  • 07abc722b6 hcd able to send setup packet hathach 2024-10-25 19:00:45 +07:00
  • 063661e3a3 more progress on dwc2 hcd, initial code for edpt xfer hathach 2024-10-25 00:20:34 +07:00
  • 8461525d48 add tusb_time_millis(), able to reset and enable dwc2 port and get SOF active hathach 2024-10-21 17:45:40 +07:00
  • f5978876d2 get hprt interrupt triggered hathach 2024-10-21 11:43:37 +07:00
  • 965e26de1d add support for native SAMD HCD Deadman 2024-02-28 00:00:55 +01:00
  • ebcd7067c9 Recover host enumeration from zero length descriptors GuavTek 2024-10-18 18:05:58 +02:00
  • 61b33ca926 testing hcd with f723 due to h743eval issue with mfx vbus drive. hathach 2024-10-18 22:16:21 +07:00
  • 42b6f30eda add VBUS drive via MFX for h743 eval, but does not seems to work yet hathach 2024-10-18 18:33:50 +07:00
  • b5a4f18879 get hpri triggered hathach 2024-10-17 15:56:12 +07:00
  • 8d9d3d9a2a move gahbcfg/gintmsk with dma to dwc2 common hathach 2024-10-16 13:19:28 +07:00
  • 970a03e398 Merge branch 'hathach:master' into rp2040-iso Phil Schatzmann 2024-10-16 03:52:46 +02:00
  • 8b1e40c3e2 Merge pull request #2846 from pschatzmann/rp2040-audio-corrections HiFiPhile 2024-10-15 23:59:36 +02:00
  • 87a35c5734 RP2040 Compile Errors pschatzmann 2024-10-15 13:47:58 +02:00
  • 1b17bc04f9 RP2040 New ISO API pschatzmann 2024-10-15 22:22:24 +02:00
  • 047ba0a62d Add comment to BOS descriptor. HiFiPhile 2024-10-15 21:49:02 +02:00
  • 4012e15075 move core init code to dwc2 common. update/correct build for esppressif hathach 2024-10-15 17:55:24 +07:00
  • 10a3aa3cc8 adding hcd dwc2 hathach 2024-10-15 13:03:12 +07:00
  • 933ac29d77 Merge pull request #2836 from hathach/more-tusb_init() Ha Thach 2024-10-14 21:38:45 +07:00
  • e83e08343a change dcd_init() return from void to bool hathach 2024-10-14 19:42:22 +07:00
  • 1f18be93db change the tusb_rhport_init_t struct, exclude the rhport to make API more consistent hathach 2024-10-14 18:27:52 +07:00
  • 1587d48e89 hcd_init() take init struct hathach 2024-10-11 17:53:39 +07:00
  • f3b7d7515e fix fuzzing build hathach 2024-10-11 16:00:51 +07:00
  • d997f0071e change dcd_init() to take rhport struct hathach 2024-10-11 15:21:32 +07:00
  • 92602b9de3 change tusb_init(), tusb_rhport_init() to use init struct for expandability hathach 2024-10-11 12:58:18 +07:00
  • a4fb8354e4 Merge pull request #2834 from hathach/add-tusb_int_handler-update-tinyusb_init Ha Thach 2024-10-10 17:00:40 +07:00
  • 57aac432b5 add new tusb_int_handler(rhport, in_isr) as common irq handler update tusb_init() to take rhport and role, defined as macro with optional argument for backward compatible hathach 2024-10-10 16:22:12 +07:00
  • ffdf81f53a Merge pull request #2833 from hathach/update-dwc2 Ha Thach 2024-10-10 11:34:05 +07:00
  • 1406ad84e3 remove debug code hathach 2024-10-10 11:05:32 +07:00
  • ba3a5b4374 clion files hathach 2024-10-10 10:48:25 +07:00
  • c3437961b8 remove stm32f769disco since it is not reliable hathach 2024-10-10 00:04:29 +07:00
  • 98e94a5d6d enhance dwc2 hathach 2024-10-09 21:47:23 +07:00
  • 07c14f30a6 add f407disco to hil pool hathach 2024-10-08 12:36:45 +07:00
  • 599bb0c822 improving dwc2, merging diep and doep if possible hathach 2024-10-04 22:26:40 +07:00
  • b2a98eadab add stm32f769disco to hil pool hathach 2024-10-04 22:21:08 +07:00
  • cb5e273e9a enhance dwc2 markdown with field mapping hathach 2024-10-04 22:12:38 +07:00
  • 65242fd11f Merge pull request #2720 from YixingShen/master Ha Thach 2024-10-07 11:12:53 +07:00
  • a13dbd4452 Merge pull request #2809 from shuffle2/master Ha Thach 2024-10-07 11:11:54 +07:00
  • ad362c8ac4 Add MSOS 2.0 descriptor to auto load NCM driver on Windows. HiFiPhile 2024-10-05 15:43:59 +02:00
  • 3d3dcb1ee9 service_traffic: Don't call pbuf_free when ethernet_input is Ok Stéphane Lenclud 2024-10-05 15:41:24 +02:00
  • 6bfd024137 Merge pull request #2824 from Maerdl/master Ha Thach 2024-10-04 17:51:58 +07:00
  • 4e0d5343b4 Merge pull request #2827 from hathach/ci-dwc2-dma Ha Thach 2024-10-04 17:51:34 +07:00