@@ -256,8 +256,8 @@ to 'mount' the device, like you would a USB Thumb Drive.
256256specified 'runner'. As the 'runner' is picotool, it will flash your compiled
257257binary over USB.
258258
259- ``` console
260- $ cargo run --release --features " critical-section-impl,rt,defmt" --example pwm_blink
259+ ``` sh
260+ cargo run --release --features " critical-section-impl,rt,defmt" --example pwm_blink
261261```
262262
263263(The ` pwm_blink ` example doesn't need all these feature flags. They are listed here
@@ -267,9 +267,8 @@ If you want to create a UF2 file, which is loaded by copying it over to the
267267RPI-RP2 mass storage device, use the ` picotool uf2 convert ` command on your
268268compiled program with the ` -t elf ` argument.
269269
270- ``` console
271- $ picotool uf2 convert -t elf target/thumbv6m-none-eabi/release/pwm_blink
272- pwm_blink.uf2
270+ ``` sh
271+ picotool uf2 convert -t elf target/thumbv6m-none-eabi/release/pwm_blink pwm_blink.uf2
273272```
274273
275274Picotool can also read "Binary Info" from a device with ` picotool info ` . To
@@ -287,8 +286,8 @@ probe-rs can autodetect your debug probe, which can make it easier to use.
287286
288287* Step 1* - Install ` probe-rs ` :
289288
290- ``` console
291- $ cargo install --locked probe-rs-tools
289+ ``` sh
290+ cargo install --locked probe-rs-tools
292291```
293292
294293Alternatively, follow the installation instructions on https://probe.rs/ .
@@ -319,8 +318,8 @@ will reflect the probe you have connected.
319318RP2040 via the first probe it finds, and install your firmware into the Flash
320319connected to the RP2040.
321320
322- ``` console
323- $ cargo run --release --example pwm_blink
321+ ``` sh
322+ cargo run --release --example pwm_blink
324323```
325324[ RP2040 Project Template ] : https://github.com/rp-rs/rp2040-project-template
326325[ RP2350 Project Template ] : https://github.com/rp-rs/rp235x-project-template
0 commit comments