Threads (Zephyr RTOS) view

Thread view

This window can be accessed from the menu RTOS/Zephyr RTOS/Threads.


Select Zephyr RTOS


Threads Zephyr RTOS

Some information can be missing from the view depending on the build configuration used. For example, in the above figure, the Peak stack usage is not available because the CONFIG_INIT_STACKS is not set.

Note the Thread’s field names into DS IDE Thread view can be different than GDB Thread attributes.

Stack

The thread view holds more information about the stack.

The Stack usage stands for the current stack usage, and it is based on SP (Stack Pointer) register while the Peak stack usage stands for the maximum usage of the stack.