apps/examples/hello: Can now select task priority and stacksize
This commit is contained in:
parent
cb6a914d08
commit
96ee336278
@ -19,4 +19,12 @@ config EXAMPLES_HELLO_PROGNAME
|
||||
This is the name of the program that will be use when the NSH ELF
|
||||
program is installed.
|
||||
|
||||
config EXAMPLES_HELLO_PRIORITY
|
||||
int "Hello task priority"
|
||||
default 100
|
||||
|
||||
config EXAMPLES_HELLO_STACKSIZE
|
||||
int "Hello stack size"
|
||||
default 2048
|
||||
|
||||
endif
|
||||
|
@ -37,9 +37,12 @@
|
||||
|
||||
# Hello, World! built-in application info
|
||||
|
||||
CONFIG_EXAMPLES_HELLO_PRIORITY ?= SCHED_PRIORITY_DEFAULT
|
||||
CONFIG_EXAMPLES_HELLO_STACKSIZE ?= 2048
|
||||
|
||||
APPNAME = hello
|
||||
PRIORITY = SCHED_PRIORITY_DEFAULT
|
||||
STACKSIZE = 2048
|
||||
PRIORITY = $(CONFIG_EXAMPLES_HELLO_PRIORITY)
|
||||
STACKSIZE = $(CONFIG_EXAMPLES_HELLO_STACKSIZE)
|
||||
|
||||
# Hello, World! Example
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user