From f4a1d28fd5274cce08ea67386834a233a05c15a7 Mon Sep 17 00:00:00 2001 From: raiden00pl Date: Sat, 22 Jan 2022 17:06:45 +0100 Subject: [PATCH] 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 39b4eff12..04f7811fa 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 974d68eae..5ff4ce64f 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