Skip to content

Commit

Permalink
Merge pull request #24 from HeartLinked/correct
Browse files Browse the repository at this point in the history
fix some errors in the document
  • Loading branch information
Inquisitor-201 authored Oct 24, 2024
2 parents 1a009e5 + 9b9a361 commit 8d8c8b3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/chap02/apps/wamr.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ RuxOS 支持在 Qemu 上通过wasm运行时 [WAMR](https://github.com/bytecodeal

WAMR是一个轻量级的wasm运行时,支持在嵌入式设备上运行wasm应用。RuxOS提供了Hello World和2048小游戏的wasm应用作为示例,同时支持WASI-NN,具有运行神经网络模型的能力。

[rux-wamr](https://github.com/syswonder/rux-wamr)克隆到RuxOS项目的apps/c/wamr目录下,有如下结构:
[rux-wamr](https://github.com/syswonder/rux-wamr)克隆到RuxOS项目的apps/c目录下,有如下结构:

```txt
├── axbuild.mk
Expand All @@ -25,7 +25,7 @@ WAMR的编译依赖于cmake,所以在编译WAMR之前需要安装cmake。
在RuxOS根目录运行下面的命令,会启动hello world的wasm应用。

```shell
make A=apps/c/wamr ARCH=aarch64 LOG=info SMP=4 MUSL=y NET=y V9P=y V9P_PATH=apps/c/wamr/rootfs ARGS="iwasm,/main.wasm" run
make A=apps/c/rux-wamr ARCH=aarch64 LOG=info SMP=4 MUSL=y NET=y V9P=y V9P_PATH=apps/c/rux-wamr/rootfs ARGS="iwasm,/main.wasm" run
```

参数解释:
Expand Down
2 changes: 1 addition & 1 deletion src/chap02/env-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
通过以下两条命令判断是否安装好 Rust 环境与 cargo 工具:

```bash
rustv --version
rustc --version
cargo --version
```

Expand Down
4 changes: 2 additions & 2 deletions translations/en/chap02/apps/wamr.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ RuxOS supports running wasm applications on Qemu through wasm runtime [WAMR](htt

WAMR is a lightweight wasm runtime that supports running wasm applications on embedded devices. RuxOS provides wasm applications of Hello World and 2048 game as examples. And it also supports WASI-NN, which has the ability to run neural network models.

Clone [rux-wamr](https://github.com/syswonder/rux-wamr) to the apps/c/wamr directory of the RuxOS project, with the following structure:
Clone [rux-wamr](https://github.com/syswonder/rux-wamr) to the apps/c directory of the RuxOS project, with the following structure:

```txt
├── axbuild.mk
Expand All @@ -25,7 +25,7 @@ The compilation of `WAMR` depends on `cmake`.
Run the following command in the RuxOS root directory, which will start the hello world wasm application.

```shell
make A=apps/c/wamr ARCH=aarch64 LOG=info SMP=4 MUSL=y NET=y V9P=y V9P_PATH=apps/c/wamr/rootfs ARGS="iwasm,/main.wasm" run
make A=apps/c/rux-wamr ARCH=aarch64 LOG=info SMP=4 MUSL=y NET=y V9P=y V9P_PATH=apps/c/rux-wamr/rootfs ARGS="iwasm,/main.wasm" run
```

Parameter explanation:
Expand Down

0 comments on commit 8d8c8b3

Please sign in to comment.