Exciting news: with this commit (and several others just before it), I've finally managed to free all the memory resources when a USB device disconnects.
I just disconnected and re-enumerated a USB keyboard 60 times in a row. Previously I could only do this a few times (and a week ago not at all due to other limitations) before all the slots in the memory for devices & pipes were used up.
Now all the resources are being returned, or at least all the ones in use for this simple test. Still so many more cases to consider....
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.