run a rust 'blinky' program on the raspberry pi pico (nixos)

https://www.zknotes.com/page/embassy-nixos-rpi-pico

5 points · 2 comments · view on lemmy.world

2 Comments

chkno@lemmy.ml · 3 pts · 2y (1 reply)

Nice.

Here's another worked example of a less adventurous pi pico (W) project I did recently. It's C, built with Nix, and doesn't require setting up all the hardware-debugger stuff (it uses the much simpler hold-bootsel-while-plugging-in and copy-the-.uf2-file mechanism to load code). The 5th commit is the simple blink example from the SDK with all the build mechanisms figured out.

pr06lefs@lemmy.ml · 1 pts · 2y

super cool! does the build and everything. Mine's just the dev environment for now. I'll keep this project in mind especially if I end up wanting to switch to C for some reason.