nuttx-apps/interpreters/toywasm/Kconfig
YAMAMOTO Takashi 7d6e12917f interpreter/toywasm: Update toywasm version
The situation of toywasm_config.c is similar to toywasm_config.h.
It's cmake-generated in the upstream. The original template is covered
by a different license. I'm the author of the file and hereby re-license
this copy.

Tested on sim/macOS.
2022-12-20 10:45:07 +08:00

26 lines
571 B
Plaintext

#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
config INTERPRETERS_TOYWASM
tristate "Toywasm Webassembly Runtime"
default n
# TOYWASM_ENABLE_WASM_THREADS and TOYWASM_ENABLE_WASI_THREADS
# depends on pthread
# REVISIT: make these Kconfig
depends on !DISABLE_PTHREAD
if INTERPRETERS_TOYWASM
config INTERPRETERS_TOYWASM_PRIORITY
int "Toywasm cli priority"
default 100
config INTERPRETERS_TOYWASM_STACKSIZE
int "Toywasm cil stack size"
default DEFAULT_TASK_STACKSIZE
endif