rdon
30355cec9f
machine/rp2: clear USB buffer status before endpoint handlers
2026-07-01 12:26:40 +02:00
Nia Waldvogel
8ef36ed939
machine: fix usb truncation?
...
Remove the sendUSBPacket maxLen param because this greatly confused the compiler.
It also fixes a bug where the length provided to the hardware may not match the length of the packet.
sendUSBPacket now panics if the sent packet is too big.
I also fixed some of the string descriptor logic where we could create a packet without fully populating it.
RP2* systems might require some more work since they are implemented very differently?
I don't have any of those to test with yet, so maybe someone can deal with them in a seperate PR?
2026-01-03 10:59:50 +00:00
Michael Smith
ba274008d5
machine: implement usb receive message throttling
2025-06-11 07:46:02 +02:00
Michael Smith
febb3906db
machine/rp2: expose usb endpoint stall handling
2025-04-17 10:15:44 +02:00
Michael Smith
133e32c1c4
machine/rp2: merge common usb code ( #4856 )
...
* machine/rp2: merge common usb code
* chore: add note on noinline reason
2025-04-15 11:07:47 +02:00
あーるどん
4f7c64cb24
fix(rp2040): replace loop counter with hw timer for USB SetAddressReq… ( #4796 )
...
* fix(rp2040/rp2350): replace loop counter with hw timer for USB SetAddressRequest timeout.
* fix code format.
---------
Co-authored-by: rdon <you@example.com >
2025-03-13 16:39:43 +01:00
soypat
b898916d52
rp2350 cleanup: unexport internal USB and clock package variable, consts and types
2024-12-26 10:49:48 +01:00
Patricio Whittingslow
37f35f8c91
Add RP2350 support ( #4459 )
...
machine/rp2350: add support
* add linker scripts for rp2350
* add bootloader
* begin melding rp2040 and rp2350 APIs
* add UART
* add rp2350 boot patching
* Fix RP2350 memory layout (#4626 )
* Remove rp2040-style second stage bootloader.
* Add 'minimum viable' IMAGE_DEF embedded block
* Create a pico2 specific target
* Implement rp2350 init, clock, and uart support
* Merge rp2 reset code back together
* Separate chip-specific clock definitions
* Clear pad isolation bit on rp2350
* Init UART in rp2350 runtime
* Correct usb/serial initialization order
* Implement jump-to-bootloader
* test: add pico2 to smoketests
---------
Signed-off-by: deadprogram <ron@hybridgroup.com >
Co-authored-by: Matthew Mets <matt.mets@cibomahto.com >
Co-authored-by: Matt Mets <matt@blinkinlabs.com >
Co-authored-by: deadprogram <ron@hybridgroup.com >
2024-12-18 19:36:30 +01:00