&Merged in masayuki2009/nuttx.apps/nxplayer_mainthread_stacksize (pull request #164)

apps/system/nxplayer: Introduce CONFIG_NXPLAYER_MAINTHREAD_STACKSIZE

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>

Approved-by: GregoryN <gnutt@nuttx.org>
This commit is contained in:
Masayuki Ishikawa 2019-01-07 01:51:36 +00:00 committed by GregoryN
parent 3257ea42d5
commit 3cdb6ec4ba
2 changed files with 7 additions and 1 deletions

View File

@ -13,6 +13,12 @@ config SYSTEM_NXPLAYER
if SYSTEM_NXPLAYER
config NXPLAYER_MAINTHREAD_STACKSIZE
int "NxPlayer main thread stack size"
default 2048
---help---
Stack size to use with the NxPlayer main thread.
config NXPLAYER_PLAYTHREAD_STACKSIZE
int "NxPlayer thread stack size"
default 1500

View File

@ -45,7 +45,7 @@ CSRCS = nxplayer.c
APPNAME = nxplayer
PRIORITY = SCHED_PRIORITY_DEFAULT
STACKSIZE = 2048
STACKSIZE = CONFIG_NXPLAYER_MAINTHREAD_STACKSIZE
ifeq ($(CONFIG_SYSTEM_NXPLAYER),m)
MAINSRC = nxplayer_main.c