Commit Graph

  • 1259027ebc Disallow claim of USBDriver with non-NULL device, even if on available_drivers list PaulStoffregen 2017-09-10 01:53:50 -0700
  • c2adf01769 Add some comments PaulStoffregen 2017-09-09 18:01:56 -0700
  • c94c873bb2 Handle report IDs in HID parser PaulStoffregen 2017-09-09 12:14:22 -0700
  • d9ad2cc78f Generic HID parser, initial commit PaulStoffregen 2017-09-09 11:17:50 -0700
  • 6938b46086 Fix compiler warnings PaulStoffregen 2017-08-24 13:55:11 -0700
  • 99ec892dd7 Add Mouse driver from wwatson (part 2) PaulStoffregen 2017-08-24 13:50:03 -0700
  • 75ac4d21e6 Add Mouse driver from wwatson https://forum.pjrc.com/threads/45740-USB-Host-Mouse-Driver PaulStoffregen 2017-08-24 13:41:39 -0700
  • e345c0360d Add error recovery for async schedule errors & halted pipes PaulStoffregen 2017-07-02 02:15:43 -0700
  • 50016717b3 Fix periodic list init when diffent sizes used PaulStoffregen 2017-03-29 17:33:37 -0700
  • c70cf5fef6 Update Test example slightly PaulStoffregen 2017-03-07 07:47:02 -0800
  • 6bacbaf537 Convert to Arduino library format PaulStoffregen 2017-03-07 07:40:06 -0800
  • f3d503259c Add public API for Keyboard driver PaulStoffregen 2017-03-07 07:22:57 -0800
  • 650ff7eeec Add public API for MIDI driver PaulStoffregen 2017-03-07 05:42:29 -0800
  • 3355eab2a2 Add documentation (in source code comments) PaulStoffregen 2017-03-06 06:03:07 -0800
  • 5935deb8ce Device driver constructors compatible with UHS library PaulStoffregen 2017-03-06 04:36:48 -0800
  • a805d7552e Add Task function PaulStoffregen 2017-03-06 04:15:23 -0800
  • ea75a1c673 Rename header file to USBHost_t36.h PaulStoffregen 2017-03-05 21:33:29 -0800
  • be1004e0f4 Disconnect downstream deviecs with hub disconnects PaulStoffregen 2017-03-05 20:28:41 -0800
  • b18ee4ea06 Add define to enable/disable all debug printing PaulStoffregen 2017-03-05 20:18:02 -0800
  • 0443ab8db6 Device drivers contribute the memory they will require PaulStoffregen 2017-03-05 15:48:50 -0800
  • 3d918a3977 Turn off USB keyboard idle reports PaulStoffregen 2017-03-03 06:13:37 -0800
  • 98701a268f Handle disconnect device from hub PaulStoffregen 2017-03-03 06:04:02 -0800
  • 920f71e768 Fix hub debounce timer port status requests PaulStoffregen 2017-03-03 05:15:57 -0800
  • 86c1bbe6ee Add reset-enumeration mutual exclusion PaulStoffregen 2017-03-03 04:58:10 -0800
  • 2e1e9748e0 Hub driver (finally) creates devices PaulStoffregen 2017-03-01 13:29:00 -0800
  • 05582c91a0 Trim hud driver memory usage PaulStoffregen 2017-03-01 12:08:47 -0800
  • ba0e6f495b Do only 1 control transfer at a time to hubs, clear other change status PaulStoffregen 2017-03-01 11:33:07 -0800
  • 81f30ecd5f Begin work in hub port state machine & debounce wait PaulStoffregen 2017-02-28 11:39:59 -0800
  • d0ee653192 Restructure hub driver to stateless approach PaulStoffregen 2017-02-28 08:39:43 -0800
  • edb04e60e7 Fix interrupt pipe bug when running at 480 Mbit/sec PaulStoffregen 2017-02-28 04:25:51 -0800
  • 8ee6d28432 Implement driver timers PaulStoffregen 2017-02-27 04:17:43 -0800
  • b30d8a4f48 Define timer API for device drivers PaulStoffregen 2017-02-27 02:22:02 -0800
  • 430e24ba54 Free transfers and pipe when deleting from periodic schedule PaulStoffregen 2017-02-26 13:58:41 -0800
  • fe5cf3e4cd Remove to-be-deleted pipes from periodic schedule PaulStoffregen 2017-02-26 09:56:37 -0800
  • 80225dfe22 Add to periodic sched using interval+offset & binary tree PaulStoffregen 2017-02-26 09:40:49 -0800
  • 1c5d403aba Clearer bandwidth allocation code & store in Pipe_t PaulStoffregen 2017-02-26 06:39:32 -0800
  • 7658caa281 Add ability to remove & free pipes from async schedule PaulStoffregen 2017-02-25 18:21:44 -0800
  • b4905f40ef Keep list of pipes to be deleted when device disconnects PaulStoffregen 2017-02-25 14:43:49 -0800
  • 7f44715014 Assign unique, auto-incrementing addresses to USB devices PaulStoffregen 2017-02-25 14:02:42 -0800
  • 08ed25eb49 Disconnect drivers and free device when cable unplugged PaulStoffregen 2017-02-25 13:40:31 -0800
  • af4e4599f4 Begin work on MIDI device driver PaulStoffregen 2017-02-20 06:33:13 -0800
  • 656765bac6 All debug printing through USBHost class PaulStoffregen 2017-02-18 12:03:10 -0800
  • 57f958c368 Drivers claim interface & add Keyboard driver claim PaulStoffregen 2017-02-18 11:21:28 -0800
  • 7756f2f4b7 Begin work on keyboard device driver PaulStoffregen 2017-02-18 06:09:28 -0800
  • 4eaeb84a82 Parse hub port status, work-in-progress... PaulStoffregen 2017-02-17 17:44:24 -0800
  • 97f728e83c Find (hopefully) best interrupt pipe bandwidth allocation PaulStoffregen 2017-02-14 04:19:20 -0800
  • 4b4ce19dc6 Print less debug info, now that EHCI is kinda working PaulStoffregen 2017-02-13 13:29:52 -0800
  • ce2fafd18c Minor device driver API simplifications PaulStoffregen 2017-02-13 13:11:54 -0800
  • a6352852ed Respond to hub interrupt pipe by read & clear status PaulStoffregen 2017-02-13 12:56:01 -0800
  • 2423608e0f Impove handling of non-enumeration control transfers PaulStoffregen 2017-02-13 12:01:05 -0800
  • 252b9a2f24 (bare bones) Interrupt transfer support PaulStoffregen 2017-02-13 06:05:09 -0800
  • 448910a94f Configurable periodic frame list size PaulStoffregen 2017-02-13 02:55:24 -0800
  • 84752f8310 Add data (non-control) transfer function PaulStoffregen 2017-02-12 18:44:24 -0800
  • 1b300c9051 Rename transfer functions from "new" to "queue" PaulStoffregen 2017-02-12 18:00:48 -0800
  • de69cf9af2 Separate setup data for enumeration & drivers PaulStoffregen 2017-02-12 13:12:06 -0800
  • 4b2258e5a7 Separate functions for data vs control transfer PaulStoffregen 2017-02-12 12:54:10 -0800
  • 93c40091da initialize hubs PaulStoffregen 2017-02-12 12:03:26 -0800
  • a45a462931 Rename USB drivers base class PaulStoffregen 2017-02-12 01:57:49 -0800
  • 5d39664c89 Simplify and document USB device driver interface PaulStoffregen 2017-02-12 01:42:30 -0800
  • 26fa6f2e34 Use linked list for device's drivers, not fixed size array PaulStoffregen 2017-02-12 00:22:50 -0800
  • 326ecbe228 Read hub descriptor PaulStoffregen 2017-02-11 13:44:23 -0800
  • eb807023db Add driver claiming at the device level PaulStoffregen 2017-02-11 06:03:54 -0800
  • dc87eeaaf6 Convert to C++ classes PaulStoffregen 2017-02-11 03:34:36 -0800
  • 2a2f745dc1 Group code into cpp files PaulStoffregen 2017-02-11 02:30:52 -0800
  • f1c0481d89 Turn on PHY support for low speed PaulStoffregen 2017-02-10 18:52:12 -0800
  • 03fb64e1ab Request string descriptors during enumeration PaulStoffregen 2017-02-10 18:06:35 -0800
  • 6122604f55 Use PHY's high-speed disconnect detector PaulStoffregen 2017-02-09 05:51:06 -0800
  • 91e1ceb0eb Read device & config descriptors PaulStoffregen 2017-02-08 08:49:52 -0800
  • a649cbe12b Fix backward followup linking when creating a qTD group PaulStoffregen 2017-02-08 06:46:42 -0800
  • 46324071f0 Fix adding to follup lists while also processing them PaulStoffregen 2017-02-08 06:35:56 -0800
  • 38dea38146 Begin work on USB enumeration state machine PaulStoffregen 2017-02-07 06:36:18 -0800
  • 600166af4c Add transfer callbacks PaulStoffregen 2017-02-07 04:04:08 -0800
  • 7997b07157 Memory management functions PaulStoffregen 2017-02-06 02:40:07 -0800
  • 36ca432baa Add MIT license and a few extra comments PaulStoffregen 2017-02-05 18:55:00 -0800
  • 33151ad6cf Add qTD followup lists PaulStoffregen 2017-02-05 09:46:07 -0800
  • 897cf23bf3 Add halt qTD and race-free qTD queuing method PaulStoffregen 2017-02-05 07:24:58 -0800
  • f4d60b7594 Put QH into schedule when creating pipe PaulStoffregen 2017-02-05 06:15:12 -0800
  • 92404ec121 Fix wLength for first control transfer test PaulStoffregen 2017-02-05 05:43:35 -0800
  • 727a7c01ae Setting qTD active bit needed to actually do anything! PaulStoffregen 2017-02-04 19:22:46 -0800
  • d58e0c207e Add even more debugging stuff, still no workie :( PaulStoffregen 2017-02-04 19:14:58 -0800
  • 3fa09c381e Add lots of debugging stuff, still not transmitting anything :( PaulStoffregen 2017-02-04 04:01:24 -0800
  • afa91af357 Use interrupts & Device/Pipe/Transfer structs (still no data...) PaulStoffregen 2017-02-03 20:37:28 -0800
  • c98ba51e6d Use interrupts instead of polling PaulStoffregen 2017-01-23 04:47:54 -0800
  • 10d5df3547 Enable USB host power power switch PaulStoffregen 2016-08-08 04:44:18 -0700
  • d064762d7c Read a descriptor (not yet working) PaulStoffregen 2016-07-30 18:55:57 -0700
  • 1cab5f2dc8 Fix USBHS initialization order PaulStoffregen 2016-06-29 13:25:49 -0700
  • d87146efcf Fix USBHS PHY PLL init PaulStoffregen 2016-06-29 06:37:43 -0700
  • 453d04d42d Reset & enable port, but EHCI stops with error :-( PaulStoffregen 2016-06-27 06:42:39 -0700
  • 9264f60908 Detect device attach PaulStoffregen 2016-06-26 21:55:58 -0700
  • a555e59e7d Init PHY & PLL - gotta start somewhere! PaulStoffregen 2016-06-24 04:54:45 -0700