Build for rp2040 without the sdk? #2894
-
Would it be possible to build a static library of tinyusb that I could call into from an rp2040 chip but without depending on the pico sdk? I'd like to build a rust wrapper for it that I can include in an embassy-rs project and initialize and then manually call the interrupt tasks. I've made it as far as linking in the existing 2040 library into my embassy project and I can call into it but when I call init I get failed assertions from within pico_sdk code and feel like I'm working against the grain by both having the embassy runtime and pico sdk runtime trying to manage interrupts. Rather than trying to give pico_sdk everything it needs via link scripting gymnastics perhaps I can make a new target that is just more bare bones. Is there anything that would be prohibitively |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I don't know if it helps. But I have tinyusb working on a RP2040 without the sdk. Code is here: https://github.com/JustAnother1/nomagic_probe/tree/main/src/tinyusb |
Beta Was this translation helpful? Give feedback.
I don't know if it helps. But I have tinyusb working on a RP2040 without the sdk. Code is here: https://github.com/JustAnother1/nomagic_probe/tree/main/src/tinyusb