https://github.com/ole/rust-rp-pico-template
A cargo-generate template for embedded Rust development on the Raspberry Pi Pico.
https://github.com/ole/rust-rp-pico-template
Last synced: over 1 year ago
JSON representation
A cargo-generate template for embedded Rust development on the Raspberry Pi Pico.
- Host: GitHub
- URL: https://github.com/ole/rust-rp-pico-template
- Owner: ole
- Created: 2023-12-07T19:01:34.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-08T16:41:28.000Z (over 2 years ago)
- Last Synced: 2025-01-24T09:41:39.462Z (over 1 year ago)
- Language: Rust
- Size: 7.81 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rust RP Pico Template
A template for [cargo-generate](https://github.com/cargo-generate/cargo-generate) that aims to be a starting point for embedded Rust development on the Raspberry Pi Pico. Includes a suitable Visual Studio Code configuration for building, flashing, running, and debugging from VS Code.
## Requirements
Install these Rust components:
```sh
rustup target add thumbv6m-none-eabi
cargo install elf2uf2-rs --locked
cargo install probe-rs --features cli --locked
cargo install cargo-binutils
```
For VS Code, install these extensions:
- [rust-analyzer](https://marketplace.visualstudio.com/items?itemName=rust-lang.rust-analyzer): The official Rust language support for VS Code
- [Debugger for probe-rs](https://marketplace.visualstudio.com/items?itemName=probe-rs.probe-rs-debugger): Debugging support via [probe-rs](https://probe.rs/)
- [Serial Monitor](https://marketplace.visualstudio.com/items?itemName=ms-vscode.vscode-serial-monitor) (optional): Send and receive messages to/from serial ports. Useful for simple logging from your embedded program.