1e5e755ba2
Decouple the hello example into hello and hello_wasm. The hello_wasm example is a minimal example to show how to build a wasm application by using the NuttX build system, and avoid disturbing the hello (native build). Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
30 lines
673 B
Plaintext
30 lines
673 B
Plaintext
#
|
|
# For a description of the syntax of this configuration file,
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
#
|
|
|
|
config EXAMPLES_HELLO_WASM
|
|
tristate "\"Hello, WebAssembly!\" example"
|
|
default n
|
|
---help---
|
|
Enable the \"Hello, WebAssembly!\" example
|
|
|
|
if EXAMPLES_HELLO_WASM
|
|
|
|
config EXAMPLES_HELLO_WASM_PROGNAME
|
|
string "Program name"
|
|
default "hello_wasm"
|
|
---help---
|
|
This is the name of the program that will be used when the NSH ELF
|
|
program is installed.
|
|
|
|
config EXAMPLES_HELLO_WASM__PRIORITY
|
|
int "Hello wasm task priority"
|
|
default 100
|
|
|
|
config EXAMPLES_HELLO_WASM_STACKSIZE
|
|
int "Hello wasm stack size"
|
|
default DEFAULT_TASK_STACKSIZE
|
|
|
|
endif
|