Skip to content

Commit 6e2007e

Browse files
committed
[bsp][wch] update readme
1 parent 0e72a4f commit 6e2007e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

bsp/wch/risc-v/ch32v208w-r0/README_ZN.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,11 @@ CH32V208W-R0 是 WCH 推出的一款基于 RISC-V 内核的开发板,最高主
3838
1. [下载WCH编译工具链](https://github.com/NanjingQinheng/sdk-toolchain-RISC-V-GCC-WCH/archive/refs/tags/V1.0.0.zip)
3939
2. 下载Env工具[最新版本](https://github.com/RT-Thread/env-windows/releases)
4040
3. 下载RT-Thread[最新源码](https://github.com/RT-Thread/rt-thread/archive/refs/heads/master.zip)
41-
4. 并在当前BSP根目录下打开Env工具并执行 `scons --exec-path=D:\sdk-toolchain-RISC-V-GCC-WCH-1.0.0\bin` 命令,在指定工具链位置的同时直接编译。
42-
5. 编译完成之后会生成 **rtthread.bin** 文件。
41+
4. 打开Env工具进入bsp目录
42+
5. 执行`scons --pyconfig-silent`刷新配置
43+
6. 执行`pkgs --update`拉取
44+
7. 执行 `scons --exec-path=D:\sdk-toolchain-RISC-V-GCC-WCH-1.0.0\bin` 命令,在指定工具链位置的同时直接编译。
45+
8. 编译完成之后会生成 **rtthread.bin** 文件。
4346

4447
![sconscompile](./figures/sconscompile.jpg)
4548

0 commit comments

Comments
 (0)