Skip to content

Commit

Permalink
doc: update commands in readme
Browse files Browse the repository at this point in the history
Signed-off-by: Haobo Gu <[email protected]>
  • Loading branch information
HaoboGu committed Dec 25, 2024
1 parent fb24075 commit 7970200
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Example can be found at [`examples`](https://github.com/HaoboGu/rmk/blob/main/ex

```shell
cd examples/use_rust/rp2040
cargo build
cargo build --release
```

3. Flash using debug probe
Expand All @@ -81,7 +81,7 @@ Example can be found at [`examples`](https://github.com/HaoboGu/rmk/blob/main/ex

```shell
cd examples/use_rust/rp2040
cargo run
cargo run --release
```

4. (Optional) Flash using USB
Expand All @@ -98,7 +98,7 @@ Example can be found at [`examples`](https://github.com/HaoboGu/rmk/blob/main/ex
4. Flash
```shell
cd examples/use_rust/rp2040
cargo run
cargo run --release
```
Then, you will see logs like if everything goes right:
```shell
Expand Down
6 changes: 3 additions & 3 deletions README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ RMK 内置了一些常见 MCU 的示例,这些示例可以在 [`examples`](htt

```shell
cd examples/use_rust/rp2040
cargo build
cargo build --release
```

3. 烧录固件
Expand All @@ -76,7 +76,7 @@ RMK 内置了一些常见 MCU 的示例,这些示例可以在 [`examples`](htt

```shell
cd examples/use_rust/rp2040
cargo run
cargo run --release
```

4. 通过USB烧录
Expand All @@ -93,7 +93,7 @@ RMK 内置了一些常见 MCU 的示例,这些示例可以在 [`examples`](htt
4. 执行下面的命令烧录
```shell
cd examples/use_rust/rp2040
cargo run
cargo run --release
```
如果你看到下面这样的日志,那说明烧录成功了
```shell
Expand Down

0 comments on commit 7970200

Please sign in to comment.