<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/hello-rust-y-pico-part-1-setting-up-embedded-rust-c1valaaeu" -->

---
title: Hello Rust’y Pico — Part 1: Setting Up Embedded Rust
description: A beginner-friendly guide to setting up an embedded Rust development environment for the Raspberry Pi Pico. Covers installing the Rust toolchain, adding the...
canonical: https://daily.dev/posts/hello-rust-y-pico-part-1-setting-up-embedded-rust-c1valaaeu
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Hello Rust’y Pico — Part 1: Setting Up Embedded Rust | daily.dev
og:description: A beginner-friendly guide to setting up an embedded Rust development environment for the Raspberry Pi Pico. Covers installing the Rust toolchain, adding the...
og:url: https://daily.dev/posts/hello-rust-y-pico-part-1-setting-up-embedded-rust-c1valaaeu
og:image: https://api.daily.dev/og/posts/c1VALAaEu.png
og:image:alt: Hello Rust’y Pico — Part 1: Setting Up Embedded Rust
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Hello Rust’y Pico — Part 1: Setting Up Embedded Rust

**[Medium](https://daily.dev/sources/medium_js)** · 4 min read · 2 upvotes · 1 comments

## Summary

A beginner-friendly guide to setting up an embedded Rust development environment for the Raspberry Pi Pico. Covers installing the Rust toolchain, adding the ARM Cortex-M0+ cross-compilation target (thumbv6m-none-eabi), generating a project from the official rp2040 template, installing flip-link for stack overflow protection, and using probe-rs to flash and debug firmware. By the end, readers have a blinking LED running on the Pico with RTT logging via a Debug Probe.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://medium.com/@antonio.dias.bastiao/hello-rusty-pico-part-1-setting-up-embedded-rust-37c67e3f49ff>

## Questions this post answers

### How do I set up a Rust development environment for the Raspberry Pi Pico?

Install the Rust toolchain via rustup, then add the thumbv6m-none-eabi target for the Pico's Arm Cortex-M0+ chip with rustup target add thumbv6m-none-eabi. Generate a project from the official rp2040-project-template using cargo-generate, install flip-link to catch stack overflows, and install probe-rs-tools to flash and debug via a Debug Probe.

_daily.dev surfaces embedded Rust setup guides like this one for developers building on Pico hardware._

### What does the flip-link tool do in embedded Rust development?

flip-link rearranges a program's memory layout so that stack overflows are detected earlier during development instead of silently corrupting memory. Since embedded systems lack the memory protection of desktop operating systems, a stack overflow can otherwise cause confusing, hard-to-trace bugs; flip-link is installed with cargo install flip-link.

_track embedded tooling like flip-link on daily.dev while hardening Rust firmware against memory bugs._

### How do I flash and run a Rust program on the Raspberry Pi Pico using probe-rs?

Connect the Pico to a Raspberry Pi Debug Probe, then run cargo run inside the generated project, selecting probe-rs as the flashing method during project setup. probe-rs flashes the firmware and starts it immediately, showing the onboard LED blinking and streaming RTT logs to confirm the application is running correctly.

_daily.dev keeps embedded developers current on probe-rs workflows for flashing and debugging Rust firmware._

## Community discussion

Top comments from developers on daily.dev.

**@antniobastio** · 0 upvotes

> How can I link this to my profile?
>
> I’m the article creator.

## Similar posts on daily.dev

- [Hello Rust’y Pico — Part 2: The First Embedded Application](https://daily.dev/posts/hello-rust-y-pico-part-2-the-first-embedded-application-dmqc9ti4w) · Medium · 1 upvotes · 0 comments
- [Rust in the kernel? What about Rust without the kernel\!](https://daily.dev/posts/rust-in-the-kernel-what-about-rust-without-the-kernel--p0ghsdj0j) · Sylvain Kerkour · 6 upvotes · 0 comments
- [Fearless Embedded Rust: A FPV Lego car](https://daily.dev/posts/fearless-embedded-rust-a-fpv-lego-car-6fnro2mpl) · Dystroy · 2 upvotes · 0 comments

---

Tags: [#rust](https://daily.dev/tags/rust), [#embedded](https://daily.dev/tags/embedded)

[View this post on daily.dev](https://daily.dev/posts/hello-rust-y-pico-part-1-setting-up-embedded-rust-c1valaaeu)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Hello Rust’y Pico — Part 1: Setting Up Embedded Rust","url":"https://daily.dev/posts/hello-rust-y-pico-part-1-setting-up-embedded-rust-c1valaaeu","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/hello-rust-y-pico-part-1-setting-up-embedded-rust-c1valaaeu"},"datePublished":"2026-07-14T07:29:35.658Z","dateModified":"2026-09-13T18:38:58.299Z","description":"A beginner-friendly guide to setting up an embedded Rust development environment for the Raspberry Pi Pico. Covers installing the Rust toolchain, adding the...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/47eba892fe799d0aa3d2a4902ee86c73?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/47eba892fe799d0aa3d2a4902ee86c73?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Medium","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Medium","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/medium","url":"https://daily.dev/sources/medium_js"},"commentCount":1,"discussionUrl":"https://daily.dev/posts/hello-rust-y-pico-part-1-setting-up-embedded-rust-c1valaaeu","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":1}],"keywords":"rust,embedded","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Medium","item":"https://daily.dev/sources/medium_js"},{"@type":"ListItem","position":3,"name":"Hello Rust’y Pico — Part 1: Setting Up Embedded Rust"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/hello-rust-y-pico-part-1-setting-up-embedded-rust-c1valaaeu","comment":[{"@type":"Comment","text":"How can I link this to my profile?\nI’m the article creator.","datePublished":"2026-07-19T14:21:40.516Z","url":"https://daily.dev/posts/c1VALAaEu#c-UDXPxaUcI","author":{"@type":"Person","name":"António Bastião","url":"https://daily.dev/antniobastio","image":"https://avatars.githubusercontent.com/u/11710146?v=4"}}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/hello-rust-y-pico-part-1-setting-up-embedded-rust-c1valaaeu#faq","mainEntity":[{"@type":"Question","name":"How do I set up a Rust development environment for the Raspberry Pi Pico?","acceptedAnswer":{"@type":"Answer","text":"Install the Rust toolchain via rustup, then add the thumbv6m-none-eabi target for the Pico's Arm Cortex-M0+ chip with rustup target add thumbv6m-none-eabi. Generate a project from the official rp2040-project-template using cargo-generate, install flip-link to catch stack overflows, and install probe-rs-tools to flash and debug via a Debug Probe. daily.dev surfaces embedded Rust setup guides like this one for developers building on Pico hardware."}},{"@type":"Question","name":"What does the flip-link tool do in embedded Rust development?","acceptedAnswer":{"@type":"Answer","text":"flip-link rearranges a program's memory layout so that stack overflows are detected earlier during development instead of silently corrupting memory. Since embedded systems lack the memory protection of desktop operating systems, a stack overflow can otherwise cause confusing, hard-to-trace bugs; flip-link is installed with cargo install flip-link. track embedded tooling like flip-link on daily.dev while hardening Rust firmware against memory bugs."}},{"@type":"Question","name":"How do I flash and run a Rust program on the Raspberry Pi Pico using probe-rs?","acceptedAnswer":{"@type":"Answer","text":"Connect the Pico to a Raspberry Pi Debug Probe, then run cargo run inside the generated project, selecting probe-rs as the flashing method during project setup. probe-rs flashes the firmware and starts it immediately, showing the onboard LED blinking and streaming RTT logs to confirm the application is running correctly. daily.dev keeps embedded developers current on probe-rs workflows for flashing and debugging Rust firmware."}}]}
```

