WebAssembly interpreter Wasm3 on Maixduino.
https://www.youtube.com/watch?v=Hc2sbhGMrig
https://www.youtube.com/watch?v=FSZE7P-SMDc
$ pwd
/opt/kendryte-toolchain/bin
$ ./riscv64-unknown-elf-gcc -v
gcc version 8.2.0 (GCC)
$ kflash -h
...
positional arguments:
firmware firmware bin path
...
git clone --recursive https://github.com/h1romas4/maixduino-wasm3-testing.git
cd maixduino-wasm3-testing
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
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
name | version |
---|---|
Wasm3 | 0.4.6 |
AssemblyScript | 0.9.1 |
kendryte-standalone-sdk | V0.5.6 |