Thanks for the kind words and for your feedback. I updated to config.toml even though config will still work, but the default rp2040 template must have been changed since I wrote this article.
I'm not sure what's going on with the target specification, but I have other Cargo projects that I'm been working on that work with my original target spec - you are specifying a more precise target than what's in my article and that's absolutely a good move!
Looking forward to your next article in this series. Would love to be able to debug rust code on Linux with Visual Code Studio and the 4$ PICO as a target!
Hi Randall, thanks for your interest in reading the series and for your feedback!
I absolutely want to cover debugging with VSCode from Linux. I’ve been writing these posts literally as I’ve been working through each thing on a quest to build my own IoT home sensor project in Rust, so thanks for your patience as I get to points of interest that are worth writing about.
One thing I’ll also be writing about soon as well is debug printing to the host machine over the UART which I imagine will be interesting to you as well?
Awesome articles, thanks! Had some issues in part 2. I'm on a M1 Mac, Mac OS 13.3.1:
* there was no .cargo/config, but a .cargo/config.toml
* I had to prefix the changed runner with [target.thumbv6m-none-eabi], or it would try to use elf2uf2-rs and fail.
Thanks for the kind words and for your feedback. I updated to config.toml even though config will still work, but the default rp2040 template must have been changed since I wrote this article.
I'm not sure what's going on with the target specification, but I have other Cargo projects that I'm been working on that work with my original target spec - you are specifying a more precise target than what's in my article and that's absolutely a good move!
Looking forward to your next article in this series. Would love to be able to debug rust code on Linux with Visual Code Studio and the 4$ PICO as a target!
Hi Randall, thanks for your interest in reading the series and for your feedback!
I absolutely want to cover debugging with VSCode from Linux. I’ve been writing these posts literally as I’ve been working through each thing on a quest to build my own IoT home sensor project in Rust, so thanks for your patience as I get to points of interest that are worth writing about.
One thing I’ll also be writing about soon as well is debug printing to the host machine over the UART which I imagine will be interesting to you as well?