diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-06-16 08:10:40 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-06-16 08:10:40 -0600 |
commit | 94a59fc7924bf7a6b5858fc07b83469fbae922e1 (patch) | |
tree | 506cf4312697bc352d0deddd31a314f8a5a52c66 /apps/system/hex2bin | |
parent | b38f7fcc6f6271fd323db3b854051afc185c3ed5 (diff) | |
download | px4-nuttx-94a59fc7924bf7a6b5858fc07b83469fbae922e1.tar.gz px4-nuttx-94a59fc7924bf7a6b5858fc07b83469fbae922e1.tar.bz2 px4-nuttx-94a59fc7924bf7a6b5858fc07b83469fbae922e1.zip |
hex2bin: Needs a little larger stack
Diffstat (limited to 'apps/system/hex2bin')
-rw-r--r-- | apps/system/hex2bin/Kconfig | 12 | ||||
-rw-r--r-- | apps/system/hex2bin/Makefile | 7 |
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 |