This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git
commit f4a1d28fd5274cce08ea67386834a233a05c15a7 Author: raiden00pl <[email protected]> AuthorDate: Sat Jan 22 17:06:45 2022 +0100 canutils/slcan: make stacksize configurable --- canutils/slcan/Kconfig | 4 ++++ canutils/slcan/Makefile | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/canutils/slcan/Kconfig b/canutils/slcan/Kconfig index 39b4eff..04f7811 100644 --- a/canutils/slcan/Kconfig +++ b/canutils/slcan/Kconfig @@ -12,6 +12,10 @@ config CANUTILS_SLCAN if CANUTILS_SLCAN +config CANUTILS_SLCAN_STACKSIZE + int "SocketCAN slcan stack size" + default DEFAULT_TASK_STACKSIZE + config SLCAN_TRACE bool "Print trace output" default y diff --git a/canutils/slcan/Makefile b/canutils/slcan/Makefile index 974d68e..5ff4ce6 100644 --- a/canutils/slcan/Makefile +++ b/canutils/slcan/Makefile @@ -24,10 +24,10 @@ PROGNAME = slcan PRIORITY = SCHED_PRIORITY_DEFAULT -STACKSIZE = 3048 +STACKSIZE = $(CONFIG_CANUTILS_SLCAN_STACKSIZE) MODULE = $(CONFIG_CANUTILS_SLCAN) -CSRCS = +CSRCS = MAINSRC = slcan.c
