hex2bin: Needs a little larger stack

This commit is contained in:
Gregory Nutt 2014-06-16 08:10:40 -06:00
parent 6445ddbceb
commit 5791392591
2 changed files with 17 additions and 2 deletions

View File

@ -22,6 +22,18 @@ config SYSTEM_HEX2BIN_BUILTIN
if SYSTEM_HEX2BIN_BUILTIN if SYSTEM_HEX2BIN_BUILTIN
config SYSTEM_HEX2BIN_STACKSIZE
int "Program stack size"
default 1536
---help---
The size of stack allocated for the hex2bin task.
config SYSTEM_HEX2BIN_PRIORITY
int "Program priority"
default 100
---help---
The priority of the hex2bin task.
config SYSTEM_HEX2BIN_BASEADDR config SYSTEM_HEX2BIN_BASEADDR
hex "Binary base address" hex "Binary base address"
default 0x00000000 default 0x00000000

View File

@ -65,8 +65,11 @@ endif
ROOTDEPPATH = --dep-path . ROOTDEPPATH = --dep-path .
VPATH = VPATH =
PRIORITY = SCHED_PRIORITY_DEFAULT CONFIG_SYSTEM_HEX2BIN_STACKSIZE ?= 2536
STACKSIZE = 768 CONFIG_SYSTEM_HEX2BIN_PRIORITY ?= 100
STACKSIZE = $(CONFIG_SYSTEM_HEX2BIN_STACKSIZE)
PRIORITY = $(CONFIG_SYSTEM_HEX2BIN_PRIORITY)
# Build targets # Build targets