[English | 简体中文]
The openvela Wasm framework provides additional modules and SDKs to build WebAssembly applications.
├── chre
├── libc
├── memory
├── vela-sysroot
├── vendor
├── README.md
└── README_zh-cn.md
chre: This module provides functionality from the Context Hub Runtime Environment to the Wasm runtime.libc: C standard library for Wasm.memory: Memory access management between Wasm and native code.vela-sysroot: A collection of additional header files for building WebAssembly applications.vendor: Wasm application SDKs for third-party chip vendors.
Currently only WAMR (WebAssembly Micro Runtime) is supported. If you want to use this function module:
-
Enable
WAMRinmenuconfig. -
Enable
WASM_LIBC(libc) orWASM_MEMORY_OPERATIONS(memory) in the corresponding submenu. -
The functions of libc or memory are available in the
iwasmcommand line tool and can be used directly in Wasm applications.
The vendor directory provides a collection of SDKs for third-party chip vendors. Currently, only BL616 from bouffalo lab is supported. To build applications using the SDK, you can refer to the following document: BL616 SDK