File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -260,12 +260,10 @@ specified 'runner'. As the 'runner' is picotool, it will flash your compiled
260260binary over USB.
261261
262262``` sh
263- cargo run --release --features " critical-section-impl,rt,defmt" --example pwm_blink
263+ cd rp2040-hal-examples # Or: cd rp235x-hal-examples
264+ cargo run --release --bin pwm_blink
264265```
265266
266- (The ` pwm_blink ` example doesn't need all these feature flags. They are listed here
267- so you can use the same command for all examples.)
268-
269267If you want to create a UF2 file, which is loaded by copying it over to the
270268RPI-RP2 mass storage device, use the ` picotool uf2 convert ` command on your
271269compiled program with the ` -t elf ` argument.
@@ -322,7 +320,8 @@ RP2040 via the first probe it finds, and install your firmware into the Flash
322320connected to the RP2040.
323321
324322``` sh
325- cargo run --release --example pwm_blink
323+ cd rp2040-hal-examples # Or: cd rp235x-hal-examples
324+ cargo run --release --bin pwm_blink
326325```
327326[ RP2040 Project Template ] : https://github.com/rp-rs/rp2040-project-template
328327[ RP235x Project Template ] : https://github.com/rp-rs/rp235x-project-template
You can’t perform that action at this time.
0 commit comments