mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-09-06 08:46:31 +00:00
Update configuration an make logic in order to select that the serial blaster task priority and stack size. From Bob Doiron
This commit is contained in:
parent
f188c4855e
commit
025d47b0b7
3 changed files with 18 additions and 2 deletions
|
|
@ -899,3 +899,7 @@
|
|||
Windestam (2014-4-38).
|
||||
|
||||
7.3 2014-xx-xx Gregory Nutt <gnutt@nuttx.org>
|
||||
|
||||
* apps/examples/serialblaster: Update configuration an make logic in
|
||||
order to select that the serial blaster task priority and stack size.
|
||||
From Bob Doiron (2014-4-30).
|
||||
|
|
|
|||
|
|
@ -10,4 +10,13 @@ config EXAMPLES_SERIALBLASTER
|
|||
Enable the serial blaster example
|
||||
|
||||
if EXAMPLES_SERIALBLASTER
|
||||
|
||||
config EXAMPLES_SERIALBLASTER_STACKSIZE
|
||||
int "CPU hog stack size"
|
||||
default 2048
|
||||
|
||||
config EXAMPLES_SERIALBLASTER_PRIORITY
|
||||
int "CPU hog task priority"
|
||||
default 50
|
||||
|
||||
endif
|
||||
|
|
|
|||
|
|
@ -62,9 +62,12 @@ ROOTDEPPATH = --dep-path .
|
|||
|
||||
# Built-in application info
|
||||
|
||||
CONFIG_EXAMPLES_SERIALBLASTER_PRIORITY ?= 50
|
||||
CONFIG_EXAMPLES_SERIALBLASTER_STACKSIZE ?= 2048
|
||||
|
||||
APPNAME = serialblaster
|
||||
PRIORITY = SCHED_PRIORITY_DEFAULT
|
||||
STACKSIZE = 2048
|
||||
PRIORITY = $(CONFIG_EXAMPLES_SERIALBLASTER_PRIORITY)
|
||||
STACKSIZE = $(CONFIG_EXAMPLES_SERIALBLASTER_STACKSIZE)
|
||||
|
||||
# Common build
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue