From fc83546cf5b7a412b9f191488cd50c90d22c93c6 Mon Sep 17 00:00:00 2001 From: Meco Man <920369182@qq.com> Date: Tue, 22 Nov 2022 00:17:07 -0500 Subject: [PATCH] [ch32] fix a typo --- bsp/wch/risc-v/ch32v307v-r1/README.md | 2 +- bsp/wch/risc-v/ch32v307v-r1/README_zh.md | 2 +- 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)