"Hey, i'm pretty new to rust (..." <- > <@pileghoff:matrix.org> Hey, i'm pretty new to rust (have been at it casually for a year or so), but come from an embedded C background. I just spend forever trying to get defmt to work over usb serial (using defmt-serial) on the rpi-pico to work, and i think im giving up. I wanted to outline my issues here to get some feedback on if what im doing is just too niche or why im having such a hard time getting started with the embedded rust ecosystem. > > The crux of the problem is that the rp-hal provides an outdated version of the usb-device and usbd-serial crates. This means that defmt-serial wont work, and it relies on a more recent version of the Write trait from embedded hal. > I thought this would be a nice little first PR in the embedded rust space, but that lead to two hours of chasing down dependencies, because updating usb-device would also require me to update the other usb device related crates in the rp-hal, but some of them use them use the rp-hal in their examples, breaking them. > > To me, this seemed like a simple little setup task before starting the project that i actually wanted to build. Defmt seems to be the standard for logging, and i wanted to use the usb as a serial port. Sounded simple enough to me since there were already crates available, but i think im giving up. > > So, does this not work because nobody uses defmt over serial? Or usb-serial? Or because i just cant figure out how to set it up correctly? Or is this just some pain that i have to deal with since the rust embedded ecosystem is still not mature? > > This is not a criticism of any of the maintainers. I have a huge respect for all the cool stuff you have build and i guess rough edges are to be expected since none of the crates mentioned are at 1.0 yet, I was just hoping the edges would be less rough. defmt over serial defintively works. Does your serial work with just sending some random data without defmt?