Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -260,12 +260,10 @@ specified 'runner'. As the 'runner' is picotool, it will flash your compiled
binary over USB.

```sh
cargo run --release --features "critical-section-impl,rt,defmt" --example pwm_blink
cd rp2040-hal-examples # Or: cd rp235x-hal-examples
cargo run --release --bin pwm_blink
```

(The `pwm_blink` example doesn't need all these feature flags. They are listed here
so you can use the same command for all examples.)

If you want to create a UF2 file, which is loaded by copying it over to the
RPI-RP2 mass storage device, use the `picotool uf2 convert` command on your
compiled program with the `-t elf` argument.
Expand Down Expand Up @@ -322,7 +320,8 @@ RP2040 via the first probe it finds, and install your firmware into the Flash
connected to the RP2040.

```sh
cargo run --release --example pwm_blink
cd rp2040-hal-examples # Or: cd rp235x-hal-examples
cargo run --release --bin pwm_blink
```
[RP2040 Project Template]: https://github.com/rp-rs/rp2040-project-template
[RP235x Project Template]: https://github.com/rp-rs/rp235x-project-template
Expand Down