@@ -42,7 +42,7 @@ For device specific commands, see their individual documentation pages.
42
42
###### Permissions on Linux
43
43
To ensure that the input module's port is accessible, install the ` udev ` rule and trigger a reload:
44
44
45
- ```
45
+ ``` sh
46
46
sudo cp release/50-framework-inputmodule.rules /etc/udev/rules.d/
47
47
sudo udevadm control --reload && sudo udevadm trigger
48
48
```
@@ -72,7 +72,7 @@ to a single device, specify the COM port.
72
72
In this example the command is targeted at ` b1-display ` , so it will only apply
73
73
to this module type.
74
74
75
- ```
75
+ ``` sh
76
76
# Example on Linux
77
77
> inputmodule-control --serial-dev /dev/ttyACM0 b1-display --pattern black
78
78
@@ -88,7 +88,7 @@ connected and then send the command.
88
88
89
89
```
90
90
> 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
92
92
93
93
# No failure, waits until the device is connected, sends command and exits
94
94
> inputmodule-control --wait-for-device b1-display --pattern black
@@ -105,7 +105,7 @@ Device already present. No need to wait. Not executing command.
105
105
First, put the module into bootloader mode.
106
106
107
107
This 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:
109
109
110
110
``` sh
111
111
inputmodule-control led-matrix --bootloader
@@ -144,7 +144,7 @@ cargo make --cwd b1display
144
144
cargo make --cwd c1minimal
145
145
```
146
146
147
- Generate the UF2 update file:
147
+ Generate the UF2 update file into ` target/thumbv6m-none-eabi/release/ ` :
148
148
149
149
``` sh
150
150
cargo make --cwd ledmatrix uf2
@@ -159,7 +159,7 @@ Dependencies: [Rust/rustup](https://rustup.rs/), pkg-config, libudev
159
159
Currently have to specify the build target because it's not possible to specify a per package build target.
160
160
Tracking issue: https://github.com/rust-lang/cargo/issues/9406
161
161
162
- ```
162
+ ``` sh
163
163
# Install cargo-make to help build it
164
164
cargo install cargo-make
165
165
0 commit comments