canutils/cansend: make stacksize configurable

This commit is contained in:
raiden00pl 2022-01-22 17:06:32 +01:00 committed by Xiang Xiao
parent 267d198212
commit 13fcbcb3d1
2 changed files with 6 additions and 1 deletions

View File

@ -13,4 +13,9 @@ config CANUTILS_CANSEND
https://github.com/linux-can/can-utils
if CANUTILS_CANSEND
config CANUTILS_CANSEND_STACKSIZE
int "SocketCAN cansend stack size"
default DEFAULT_TASK_STACKSIZE
endif

View File

@ -25,7 +25,7 @@ include $(APPDIR)/Make.defs
PROGNAME = cansend
PRIORITY = SCHED_PRIORITY_DEFAULT
STACKSIZE = 2048
STACKSIZE = $(CONFIG_CANUTILS_CANSEND_STACKSIZE)
MODULE = $(CONFIG_CANUTILS_CANSEND)
CFLAGS += ${shell $(INCDIR) "$(CC)" $(APPDIR)/canutils/libcanutils}