Skip to content

Conversation

mikesmitty
Copy link
Contributor

I don't have an nrf52840 on hand to test yet (should have one tomorrow), but I figured I'd push this up in case @aykevl or anyone else wanted to give it a whirl
#4844 (comment)

@aykevl
Copy link
Member

aykevl commented Aug 24, 2025

I tried this, but sadly it doesn't work.
I haven't investigated why it doesn't work though.

@mikesmitty
Copy link
Contributor Author

No worries, my nrf52840 just showed up so I'll investigate

@deadprogram
Copy link
Member

@mikesmitty any update on this? I would really like to have it for something... 😸

@mikesmitty
Copy link
Contributor Author

Oh yeah, this fell off my radar. I've got a debugger just about set up with an nrf52840 now so I can dig into this again

@mikesmitty
Copy link
Contributor Author

Ok, at least in my testing it looks like it's just a problem with m.buf being too small. My test device has a write block size of 4 bytes, which I didn't think would ever happen. The m.buf buffer is set, perhaps a bit naively, to use the write block size as a capacity, but it needs to be 64 bytes at a minimum to be able to store a full usb packet and it's panicking. #5017 also modifies these buffer sizes but in a more expansive way so this will likely end up just being a temporary patch. I just saw Ayke commented again on that one so I'll swap back to that one next

@mikesmitty mikesmitty changed the base branch from release to dev September 17, 2025 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants