Skip to content

Commit 7d822f3

Browse files
readlnhandre-richter
authored andcommitted
update README.CN.md
1 parent 9a02e86 commit 7d822f3

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

README.CN.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ _Cheers,
2828
- 教程的第一到五章是基础内容,只能运行在`QEMU`上。
2929
- 到了[第六章]时(06_drivers_gpio_uart),你可以在树莓派上加载和运行内核并通过`UART`来观察输出结果。
3030
- 虽然这些教程是以树莓派 3 和 4 为试验对象,但代码是模块化的,所以应该容易移植到其他 CPU 架构的开发板上。
31-
- 我希望会有人有机会去实现**RISC-v**架构的代码。
32-
- 我推荐使用[Visual Studio Code],配置[Rust Language Server]插件开发代码。
31+
- 我希望会有人有机会去实现**RISC-V**架构的代码。
32+
- 我推荐使用[Visual Studio Code],配置[Rust Analyzer]插件开发代码。
3333
- 除了文本教程之外,也可以用`make doc`命令利用网页的优势来浏览代码。
3434

35-
[visual studio code]: https://code.visualstudio.com
36-
[rust language server]: https://github.com/rust-lang/rls
35+
[Visual Studio Code]: https://code.visualstudio.com
36+
[Rust Analyzer]: https://rust-analyzer.github.io
3737

3838
## 🚀 易用性
3939

@@ -59,12 +59,16 @@ curl https://sh.rustup.rs -sSf \
5959
| \
6060
sh -s -- \
6161
--default-toolchain nightly-2019-12-20 \
62-
--component rust-src llvm-tools-preview rustfmt rls rust-analysis
62+
--component rust-src llvm-tools-preview rustfmt
6363

6464
source $HOME/.cargo/env
6565
cargo install cargo-xbuild cargo-binutils
6666
```
6767

68+
如果你使用 `Visual Studio Code`,我强烈推荐你安装[Rust Analyzer 扩展]
69+
70+
[Rust Analyzer 扩展]: https://marketplace.visualstudio.com/items?itemName=matklad.rust-analyzer
71+
6872
## 📟 USB 串行输出
6973

7074
由于教程中开发的内核是在真实的硬件上运行的,因此强烈建议您使用 USB 串行调试线来进行试验。连接后调试线会为树莓派供电,

0 commit comments

Comments
 (0)