summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-06-16 08:10:40 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-06-16 08:10:40 -0600
commit94a59fc7924bf7a6b5858fc07b83469fbae922e1 (patch)
tree506cf4312697bc352d0deddd31a314f8a5a52c66 /apps
parentb38f7fcc6f6271fd323db3b854051afc185c3ed5 (diff)
downloadnuttx-94a59fc7924bf7a6b5858fc07b83469fbae922e1.tar.gz
nuttx-94a59fc7924bf7a6b5858fc07b83469fbae922e1.tar.bz2
nuttx-94a59fc7924bf7a6b5858fc07b83469fbae922e1.zip
hex2bin: Needs a little larger stack
Diffstat (limited to 'apps')
-rw-r--r--apps/system/hex2bin/Kconfig12
-rw-r--r--apps/system/hex2bin/Makefile7
2 files changed, 17 insertions, 2 deletions
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