Yvan<p>Today I successfully got <a href="https://toot.ale.gd/tags/Rust" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Rust</span></a> code working for a <a href="https://toot.ale.gd/tags/RaspberryPi" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RaspberryPi</span></a> <a href="https://toot.ale.gd/tags/PicoW" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PicoW</span></a> board! Not bad. All credit goes to the toolchains and projects... my efforts here are purely exploratory / discovery. My current status is I got some Pico / Pico W sample code working and then merged some samples together to form a foundation I'll build more code on top of. The merged code achieves:</p><ol><li>DHCP to local network</li><li>Listen and respond to TCP</li><li>Poke a GPIO (blink)</li><li>Logging to USB-TTY</li></ol><p>The real TL;DR is: The <code>embassy</code> project seems to be the best starting point for Rust on a Pico W. (Not a Pico 2, this is an older RP2040 board.)</p><p>The long version is: <a href="https://yvan.seth.id.au/rusty-pico-w.html" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">yvan.seth.id.au/rusty-pico-w.h</span><span class="invisible">tml</span></a></p><p><a href="https://toot.ale.gd/tags/microcontrollers" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>microcontrollers</span></a> <a href="https://toot.ale.gd/tags/pico" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>pico</span></a></p>