mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-19 04:43:31 +08:00
[ch32] fix a typo
This commit is contained in:
parent
2878566c92
commit
fc83546cf5
@ -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)
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user