From 94a59fc7924bf7a6b5858fc07b83469fbae922e1 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Mon, 16 Jun 2014 08:10:40 -0600 Subject: hex2bin: Needs a little larger stack --- apps/system/hex2bin/Kconfig | 12 ++++++++++++ apps/system/hex2bin/Makefile | 7 +++++-- 2 files changed, 17 insertions(+), 2 deletions(-) (limited to 'apps') diff --git a/apps/system/hex2bin/Kconfig b/apps/system/hex2bin/Kconfig index ae01cfed2..58a316d49 100644 --- a/apps/system/hex2bin/Kconfig +++ b/apps/system/hex2bin/Kconfig @@ -22,6 +22,18 @@ config 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 hex "Binary base address" default 0x00000000 diff --git a/apps/system/hex2bin/Makefile b/apps/system/hex2bin/Makefile index 7b9acbade..4c29339aa 100644 --- a/apps/system/hex2bin/Makefile +++ b/apps/system/hex2bin/Makefile @@ -65,8 +65,11 @@ endif ROOTDEPPATH = --dep-path . VPATH = -PRIORITY = SCHED_PRIORITY_DEFAULT -STACKSIZE = 768 +CONFIG_SYSTEM_HEX2BIN_STACKSIZE ?= 2536 +CONFIG_SYSTEM_HEX2BIN_PRIORITY ?= 100 + +STACKSIZE = $(CONFIG_SYSTEM_HEX2BIN_STACKSIZE) +PRIORITY = $(CONFIG_SYSTEM_HEX2BIN_PRIORITY) # Build targets -- cgit v1.2.3