Skip to content

Commit

Permalink
Increase stack space for ts.process in serial.cpp
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
martinjaeger authored and daniel-connectedenergy committed Aug 20, 2020
1 parent 0651a7b commit 65fe86d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ext/serial.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,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 */

0 comments on commit 65fe86d

Please sign in to comment.