PaulStoffregen
62fbf401d2
Improve hub descriptor parsing, find all interfaces
2018-05-26 08:01:05 -07:00
Kurt Eckhardt
4e2ea2d96e
String buffers - Devices contribute buffers
...
instead of having each HUB have 7 buffers, which can eat up space. We have each main object contribute currently one string buffer, which than when we initialize a Device_t we try to allocate one for it, likewise we release it when the Device is released.
Hopefully less memory needed.
Also updated such that the HIDInput classes can not retrieve these strings.
Changed test program to now also have list of HIDInput objects and when I detect a new one, I again print out info on it...
2017-10-19 14:57:52 -07:00
PaulStoffregen
f1bb020282
Fix print() & println() conflict with Arduino Print class
2017-10-15 13:11:46 -07:00
PaulStoffregen
5ea0d568a1
Fix scheduling of hub control transfers
2017-10-08 05:25:39 -07:00
PaulStoffregen
a44e342703
Fix order of deferred hub control transfers (KurtE)
...
https://forum.pjrc.com/threads/45740-USB-Host-Mouse-Driver?p=155745&viewfull=1#post155745
2017-10-07 20:45:38 -07:00
PaulStoffregen
5935deb8ce
Device driver constructors compatible with UHS library
2017-03-06 04:36:48 -08:00
PaulStoffregen
ea75a1c673
Rename header file to USBHost_t36.h
2017-03-05 21:33:29 -08:00
PaulStoffregen
be1004e0f4
Disconnect downstream deviecs with hub disconnects
2017-03-05 20:28:41 -08:00
PaulStoffregen
0443ab8db6
Device drivers contribute the memory they will require
2017-03-05 15:48:50 -08:00
PaulStoffregen
98701a268f
Handle disconnect device from hub
2017-03-03 06:04:02 -08:00
PaulStoffregen
920f71e768
Fix hub debounce timer port status requests
2017-03-03 05:15:57 -08:00
PaulStoffregen
86c1bbe6ee
Add reset-enumeration mutual exclusion
2017-03-03 04:58:10 -08:00
PaulStoffregen
2e1e9748e0
Hub driver (finally) creates devices
2017-03-01 13:29:00 -08:00
PaulStoffregen
05582c91a0
Trim hud driver memory usage
2017-03-01 12:08:47 -08:00
PaulStoffregen
ba0e6f495b
Do only 1 control transfer at a time to hubs, clear other change status
2017-03-01 11:33:07 -08:00
PaulStoffregen
81f30ecd5f
Begin work in hub port state machine & debounce wait
2017-02-28 11:39:59 -08:00
PaulStoffregen
d0ee653192
Restructure hub driver to stateless approach
2017-02-28 08:39:43 -08:00
PaulStoffregen
8ee6d28432
Implement driver timers
2017-02-27 04:17:43 -08:00
PaulStoffregen
b30d8a4f48
Define timer API for device drivers
2017-02-27 02:22:02 -08:00
PaulStoffregen
80225dfe22
Add to periodic sched using interval+offset & binary tree
2017-02-26 09:40:49 -08:00
PaulStoffregen
656765bac6
All debug printing through USBHost class
2017-02-18 12:03:10 -08:00
PaulStoffregen
57f958c368
Drivers claim interface & add Keyboard driver claim
2017-02-18 11:21:28 -08:00
PaulStoffregen
4eaeb84a82
Parse hub port status, work-in-progress...
2017-02-17 17:44:24 -08:00
PaulStoffregen
ce2fafd18c
Minor device driver API simplifications
2017-02-13 13:11:54 -08:00
PaulStoffregen
a6352852ed
Respond to hub interrupt pipe by read & clear status
2017-02-13 12:56:01 -08:00
PaulStoffregen
252b9a2f24
(bare bones) Interrupt transfer support
2017-02-13 06:05:09 -08:00
PaulStoffregen
1b300c9051
Rename transfer functions from "new" to "queue"
2017-02-12 18:00:48 -08:00
PaulStoffregen
de69cf9af2
Separate setup data for enumeration & drivers
2017-02-12 13:12:06 -08:00
PaulStoffregen
4b2258e5a7
Separate functions for data vs control transfer
2017-02-12 12:54:10 -08:00
PaulStoffregen
93c40091da
initialize hubs
2017-02-12 12:03:26 -08:00
PaulStoffregen
5d39664c89
Simplify and document USB device driver interface
2017-02-12 01:42:30 -08:00
PaulStoffregen
326ecbe228
Read hub descriptor
2017-02-11 13:44:23 -08:00
PaulStoffregen
eb807023db
Add driver claiming at the device level
2017-02-11 06:03:54 -08:00