I start a thread in zephyr like this:
K_THREAD_DEFINE(my_name, STACKSIZE, my_func, NULL, NULL,
NULL, PRIORITY, 0, 0);
but it does crash after some time. How do I check it's status to restart it when it crashed?
I start a thread in zephyr like this:
K_THREAD_DEFINE(my_name, STACKSIZE, my_func, NULL, NULL,
NULL, PRIORITY, 0, 0);
but it does crash after some time. How do I check it's status to restart it when it crashed?