summaryrefslogtreecommitdiff
path: root/bsp
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2022-11-22 00:17:07 -0500
committerguo <[email protected]>2022-11-22 13:48:14 +0800
commitfc83546cf5b7a412b9f191488cd50c90d22c93c6 (patch)
tree8b7198a1acbb8657d17690e47ab9f8e2f5643d39 /bsp
parent2878566c925b572ff8db7d49e39e0ae9fcaac5d2 (diff)
[ch32] fix a typo
Diffstat (limited to 'bsp')
-rw-r--r--bsp/wch/risc-v/ch32v307v-r1/README.md2
-rw-r--r--bsp/wch/risc-v/ch32v307v-r1/README_zh.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/bsp/wch/risc-v/ch32v307v-r1/README.md b/bsp/wch/risc-v/ch32v307v-r1/README.md
index e0e555c081..f09c761dbb 100644
--- a/bsp/wch/risc-v/ch32v307v-r1/README.md
+++ b/bsp/wch/risc-v/ch32v307v-r1/README.md
@@ -48,7 +48,7 @@ This section is about to introduce how to use Env to compile the BSP.
1. [Download WCH Compile Toolchain](https://github.com/NanjingQinheng/sdk-toolchain-RISC-V-GCC-WCH/releases)
2. [Download the Env tool latest version](https://github.com/RT-Thread/env-windows/releases)
3. [Download the RT-Thread latest code](https://github.com/RT-Thread/rt-thread/archive/refs/heads/master.zip)
-4. Open the Env tool in the current BSP root directory and execute the `scons -j12 --exec-path=D:\sdk-toolchain-RISC-V-GCC-WCH-1.0.0bin` command, compile it directly while specifying the toolchain location.
+4. Open the Env tool in the current BSP root directory and execute the `scons -j12 --exec-path=D:\sdk-toolchain-RISC-V-GCC-WCH-1.0.0\bin` command, compile it directly while specifying the toolchain location.
5. After compilation, the **rtthread.bin** file will be generated
![sconscompile](./figures/sconscompile.jpg)
diff --git a/bsp/wch/risc-v/ch32v307v-r1/README_zh.md b/bsp/wch/risc-v/ch32v307v-r1/README_zh.md
index e8311fc3ee..99e731a8d2 100644
--- a/bsp/wch/risc-v/ch32v307v-r1/README_zh.md
+++ b/bsp/wch/risc-v/ch32v307v-r1/README_zh.md
@@ -67,7 +67,7 @@ CH32V307V-R1 是 WCH 推出的一款基于 RISC-V 内核的开发板,最高主
在Env终端中敲入命令 `scons --target=vsc` 来生成VSCode工程. 接着敲入命令 `code .` 来打开VSCode.
-使用 **VSCode 终端** 敲入命令 `scons -j12 --exec-path=D:\sdk-toolchain-RISC-V-GCC-WCH-1.0.0bin` 来编译工程。
+使用 **VSCode 终端** 敲入命令 `scons -j12 --exec-path=D:\sdk-toolchain-RISC-V-GCC-WCH-1.0.0\bin` 来编译工程。
![vscode-terminal](./figures/vscode-terminal.png)