@@ -42,7 +42,7 @@ For device specific commands, see their individual documentation pages.
4242###### Permissions on Linux
4343To ensure that the input module's port is accessible, install the ` udev ` rule and trigger a reload:
4444
45- ```
45+ ``` sh
4646sudo cp release/50-framework-inputmodule.rules /etc/udev/rules.d/
4747sudo udevadm control --reload && sudo udevadm trigger
4848```
@@ -72,7 +72,7 @@ to a single device, specify the COM port.
7272In this example the command is targeted at ` b1-display ` , so it will only apply
7373to this module type.
7474
75- ```
75+ ``` sh
7676# Example on Linux
7777> inputmodule-control --serial-dev /dev/ttyACM0 b1-display --pattern black
7878
@@ -88,7 +88,7 @@ connected and then send the command.
8888
8989```
9090> inputmodule-control b1-display --pattern black
91- Failed to find serial devivce . Please manually specify with --serial-dev
91+ Failed to find serial device . Please manually specify with --serial-dev
9292
9393# No failure, waits until the device is connected, sends command and exits
9494> inputmodule-control --wait-for-device b1-display --pattern black
@@ -105,7 +105,7 @@ Device already present. No need to wait. Not executing command.
105105First, put the module into bootloader mode.
106106
107107This can be done either by pressing the bootsel button while plugging it in or
108- by using one of the following commands:
108+ by using one of the following commands:
109109
110110``` sh
111111inputmodule-control led-matrix --bootloader
@@ -144,7 +144,7 @@ cargo make --cwd b1display
144144cargo make --cwd c1minimal
145145```
146146
147- Generate the UF2 update file:
147+ Generate the UF2 update file into ` target/thumbv6m-none-eabi/release/ ` :
148148
149149``` sh
150150cargo make --cwd ledmatrix uf2
@@ -159,7 +159,7 @@ Dependencies: [Rust/rustup](https://rustup.rs/), pkg-config, libudev
159159Currently have to specify the build target because it's not possible to specify a per package build target.
160160Tracking issue: https://github.com/rust-lang/cargo/issues/9406
161161
162- ```
162+ ``` sh
163163# Install cargo-make to help build it
164164cargo install cargo-make
165165
0 commit comments