From 5b024dcd603e1a78c6df59ea5b2593f33fe4d0e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20J=C3=A4ger?= Date: Tue, 18 Aug 2020 18:50:20 +0200 Subject: [PATCH] Increase stack space for ts.process in serial.cpp Depending on the amount of data nodes, calling ?rec caused a stack overflow. Larger stack memory solves the issue, for further improvement see also #103. --- src/ext/serial.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ext/serial.cpp b/src/ext/serial.cpp index c7c6fbc..c01146d 100644 --- a/src/ext/serial.cpp +++ b/src/ext/serial.cpp @@ -133,6 +133,6 @@ void serial_thread() } } -K_THREAD_DEFINE(serial_thread_id, 1024, serial_thread, NULL, NULL, NULL, 6, 0, 1000); +K_THREAD_DEFINE(serial_thread_id, 1280, serial_thread, NULL, NULL, NULL, 6, 0, 1000); #endif /* CONFIG_THINGSET_SERIAL */