4439e0c0b5
Signed-off-by: Huang Qi <huangqi3@xiaomi.com> Change-Id: I782d509f6fcc86ade34eda5dbe5845603b819e0e
40 lines
891 B
Plaintext
40 lines
891 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_QUICKJS
|
|
tristate "QuickJS JavaScript interpreter"
|
|
default n
|
|
|
|
if INTERPRETERS_QUICKJS
|
|
|
|
config INTERPRETERS_QUICKJS_MINI
|
|
bool "Minimal interpreter"
|
|
default n
|
|
|
|
config INTERPRETERS_QUICKJS_BIGNUM
|
|
bool "Bignum support"
|
|
default n
|
|
---help---
|
|
It's depend on libatomic,
|
|
Not all platform support it.
|
|
|
|
config INTERPRETERS_QUICKJS_PRIORITY
|
|
int "QuickJS interpreter priority"
|
|
default 100
|
|
|
|
config INTERPRETERS_QUICKJS_STACKSIZE
|
|
int "QuickJS interpreter stack size"
|
|
default 8192
|
|
|
|
config INTERPRETERS_QUICKJS_EXT_HOOK
|
|
bool "External init/destory hook"
|
|
default n
|
|
depends on INTERPRETERS_QUICKJS_MINI
|
|
---help---
|
|
Since minimal interpreter only support 'console.log',
|
|
you can export custom module by implement init/destory hook.
|
|
|
|
endif
|