WASM Runtime

[中文]

Overview

brookesia_runtime_wasm executes WebAssembly runtime apps behind the common runtime backend interface.

Core Responsibilities

  • Implements runtime loading for WASM artifacts.

  • Connects WebAssembly code to native host bridge functions.

  • Targets sandboxed or portable runtime-app deployment.

Integration Position

This component is an independent ESP-Brookesia release component. It can be integrated through ESP-IDF component dependencies and combined with peer framework components as needed.

API Reference

Header File

Classes

class Backend : public esp_brookesia::runtime::IRuntimeBackend

WASM runtime backend registered with the runtime manager.

Public Static Functions

static inline Backend &get_instance()

Get the singleton WASM backend instance.

Returns

WASM backend singleton.