Add flashing instructions and IDE integration for Pico W

This commit is contained in:
2026-06-04 14:14:43 -05:00
parent 5019a9add7
commit 688e5b404b
3 changed files with 44 additions and 0 deletions
+21
View File
@@ -88,6 +88,27 @@ flatpak run org.example.rustdevshell
| **flip-link** | Stack overflow protection for embedded |
| **tea** | Gitea CLI for repository management |
## Flashing & IDE Integration
This project is configured for seamless flashing from the IDE or terminal.
### Flashing from IDE
If you are using **RustRover** or **IntelliJ Rust**, you can use the "Flash Pico W" run configuration provided in the `.run` folder. Just select it from the run menu and click "Run".
### Flashing from Terminal
You can flash the Pico W by running:
```bash
cargo run --release
```
This uses `probe-rs` (configured in `.cargo/config.toml`) to flash and run the binary via a CMSIS-DAP debugger or similar.
If you prefer to use the UF2 bootloader (dragging to the drive or using `elf2uf2-rs`), you can change the runner in `.cargo/config.toml` to:
`runner = "elf2uf2-rs -d"`
## Testing & Development Features
Build and testing tools: