Przeglądaj źródła

[ch32] fix a typo

Meco Man 2 lat temu
rodzic
commit
fc83546cf5

+ 1 - 1
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)

+ 1 - 1
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)