2 comments

  • VoidWhisperer4 minutes ago
    Must've been fairly popular. Every bundle including the board is already out of stock
  • jmole43 minutes ago
    I&#x27;m not sure how to feel about this. I&#x27;m sort of half in the target audience and half not. This feels like a board for everyone, and for no one.<p>I thought, wow, this would be a cool way to work with rust on the RP2040&#x2F;2350 but then the only books available are only for ESP devices.<p>A maker lab 99-projects-in-one PCB with a soldered on (or pluggable) RP2350 with companion text would scratch all the itches of my particular interest in rust and MCUs.<p>As someone who has a lot of C&#x2F;C++ experience in the MCU world, the most mysterious part of rust on MCUs for me is the world of bit twiddling and register accesses from a safe language. I would love to have a playground to explore this kind of stuff.<p>And would strongly prefer open hardware like the RP2XXX family over a commercial chip like the ESP.
    • bschwindHN4 minutes ago
      &gt; a cool way to work with rust on the RP2040&#x2F;2350<p>Pick up an RPi Pico (and one of their debugger probes) or a Xiao board with an RP2040 or RP2350, and try playing around with Embassy. It&#x27;s super easy to get started and has been, by far, my favorite way to develop embedded projects.<p>&gt; the most mysterious part of rust on MCUs for me is the world of bit twiddling and register accesses from a safe language<p>Rust mostly generates safe APIs to modify registers from things like SVD files. These are typically organized as a PAC (Peripheral Access Crate). Here&#x27;s an example:<p><a href="https:&#x2F;&#x2F;docs.rs&#x2F;rp2040-pac&#x2F;0.6.0&#x2F;rp2040_pac&#x2F;" rel="nofollow">https:&#x2F;&#x2F;docs.rs&#x2F;rp2040-pac&#x2F;0.6.0&#x2F;rp2040_pac&#x2F;</a><p>This automation generates type-safe structs that you let you read and modify the various bits in a register, with volatile writes and all of that. You could probably have an LLM (or a google search) explain PACs and how they&#x27;re typically used and I think you&#x27;ll get it.<p>Then a HAL (Hardware Abstraction Layer) is usually built up using the register operations from the PAC in order to expose a safe Rust interface over a particular peripheral.<p><a href="https:&#x2F;&#x2F;www.raspberrypi.com&#x2F;products&#x2F;debug-probe&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.raspberrypi.com&#x2F;products&#x2F;debug-probe&#x2F;</a><p><a href="https:&#x2F;&#x2F;embassy.dev&#x2F;" rel="nofollow">https:&#x2F;&#x2F;embassy.dev&#x2F;</a>