From 79702008eae62bfd8562b583a26b9b6fad95e7a7 Mon Sep 17 00:00:00 2001 From: Haobo Gu Date: Wed, 25 Dec 2024 23:47:57 +0800 Subject: [PATCH] doc: update commands in readme Signed-off-by: Haobo Gu --- README.md | 6 +++--- README_zh.md | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index c2d97216..bd38d9ef 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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 @@ -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 diff --git a/README_zh.md b/README_zh.md index a5f8335d..ddfd8c43 100644 --- a/README_zh.md +++ b/README_zh.md @@ -67,7 +67,7 @@ RMK 内置了一些常见 MCU 的示例,这些示例可以在 [`examples`](htt ```shell cd examples/use_rust/rp2040 - cargo build + cargo build --release ``` 3. 烧录固件 @@ -76,7 +76,7 @@ RMK 内置了一些常见 MCU 的示例,这些示例可以在 [`examples`](htt ```shell cd examples/use_rust/rp2040 - cargo run + cargo run --release ``` 4. 通过USB烧录 @@ -93,7 +93,7 @@ RMK 内置了一些常见 MCU 的示例,这些示例可以在 [`examples`](htt 4. 执行下面的命令烧录 ```shell cd examples/use_rust/rp2040 - cargo run + cargo run --release ``` 如果你看到下面这样的日志,那说明烧录成功了 ```shell