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...
il y a 7 ans
PaulStoffregen
f1bb020282
Fix print() & println() conflict with Arduino Print class
il y a 7 ans
Kurt Eckhardt
40cb6322ac
WIP - Add Strings to device structure
Added the ability to query the
Manufactur, product name and serial number strings from a device.
WIP - Eats up lots of memory, next up experiment move from Device_t object to maybe top level objects. Probably fewer than them as each hub allocates something like 7 Device objects
il y a 7 ans
PaulStoffregen
2b0fda8a11
Fix device list of drivers in use
il y a 7 ans
PaulStoffregen
1259027ebc
Disallow claim of USBDriver with non-NULL device, even if on available_drivers list
il y a 7 ans
PaulStoffregen
3355eab2a2
Add documentation (in source code comments)
il y a 7 ans
PaulStoffregen
a805d7552e
Add Task function
il y a 7 ans
PaulStoffregen
ea75a1c673
Rename header file to USBHost_t36.h
il y a 7 ans
PaulStoffregen
86c1bbe6ee
Add reset-enumeration mutual exclusion
il y a 7 ans
PaulStoffregen
b4905f40ef
Keep list of pipes to be deleted when device disconnects
il y a 7 ans
PaulStoffregen
7f44715014
Assign unique, auto-incrementing addresses to USB devices
il y a 7 ans
PaulStoffregen
08ed25eb49
Disconnect drivers and free device when cable unplugged
il y a 7 ans
PaulStoffregen
af4e4599f4
Begin work on MIDI device driver
il y a 7 ans
PaulStoffregen
656765bac6
All debug printing through USBHost class
il y a 7 ans
PaulStoffregen
57f958c368
Drivers claim interface & add Keyboard driver claim
il y a 7 ans
PaulStoffregen
4b4ce19dc6
Print less debug info, now that EHCI is kinda working
il y a 7 ans
PaulStoffregen
2423608e0f
Impove handling of non-enumeration control transfers
il y a 7 ans
PaulStoffregen
252b9a2f24
(bare bones) Interrupt transfer support
il y a 7 ans
PaulStoffregen
1b300c9051
Rename transfer functions from "new" to "queue"
il y a 7 ans
PaulStoffregen
de69cf9af2
Separate setup data for enumeration & drivers
il y a 7 ans
PaulStoffregen
4b2258e5a7
Separate functions for data vs control transfer
il y a 7 ans
PaulStoffregen
93c40091da
initialize hubs
il y a 7 ans
PaulStoffregen
a45a462931
Rename USB drivers base class
il y a 7 ans
PaulStoffregen
5d39664c89
Simplify and document USB device driver interface
il y a 7 ans
PaulStoffregen
26fa6f2e34
Use linked list for device's drivers, not fixed size array
il y a 7 ans
PaulStoffregen
326ecbe228
Read hub descriptor
il y a 7 ans
PaulStoffregen
eb807023db
Add driver claiming at the device level
il y a 7 ans
PaulStoffregen
dc87eeaaf6
Convert to C++ classes
il y a 7 ans
PaulStoffregen
2a2f745dc1
Group code into cpp files
il y a 7 ans