Skip to content
WebAssembly interpreter Wasm3 on Maixduino (work in progress)
C CMake TypeScript C++
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
components
docs/images
kendryte-standalone-sdk @ 45642af
maixduino-wasm3-bitblt
maixduino-wasm3-lifegame
maixduino-wasm3-stdlib
wasm3 @ f99d76c
.editorconfig
.gitignore
.gitmodules
README.md

README.md

maixduino-wasm3-testing

WebAssembly interpreter Wasm3 on Maixduino.

https://www.youtube.com/watch?v=Hc2sbhGMrig

https://www.youtube.com/watch?v=FSZE7P-SMDc

Require

$ pwd
/opt/kendryte-toolchain/bin
$ ./riscv64-unknown-elf-gcc -v
gcc version 8.2.0 (GCC)
$ kflash -h
...
positional arguments:
  firmware              firmware bin path
...

Build

git clone --recursive https://github.com/h1romas4/maixduino-wasm3-testing.git
cd maixduino-wasm3-testing

maixduino-wasm3-bitblt

cd maixduino-wasm3-bitblt
mkdir build && cd build
# set -DTOOLCHAIN to directory Kendryte GNU Toolchain bin path
cmake .. -DPROJ=bitblt -DSDK_ROOT=./kendryte-standalone-sdk -DTOOLCHAIN=/opt/kendryte-toolchain/bin
make
kflash -p /dev/ttyUSB0 -b 1500000 -B goE -s -t bitblt.bin

maixduino-wasm3-lifegame

cd maixduino-wasm3-lifegame
mkdir build && cd build
# set -DTOOLCHAIN to directory Kendryte GNU Toolchain bin path
cmake .. -DPROJ=lifegame -DSDK_ROOT=./kendryte-standalone-sdk -DTOOLCHAIN=/opt/kendryte-toolchain/bin
make
kflash -p /dev/ttyUSB0 -b 1500000 -B goE -s -t lifegame.bin

Dependencies

name version
Wasm3 0.4.6
AssemblyScript 0.9.1
kendryte-standalone-sdk V0.5.6
You can’t perform that action at this time.