Basic Context

Jerryscript provides the optional External context feature to allow applications to provide an external buffer or isolated engine contexts. The heap size is configured at runtime and enables loading of multiple javascript applications.

This sample demonstrates how to use the Jerryscript JS::Context class to implement containerised applications.


SoC support

  • esp32

  • esp32c2

  • esp32c3

  • esp32s2

  • esp32s3

  • esp8266

  • host

  • rp2040