This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to set stack depth

As the title states, I would like to know :
a) how to set the stack depth, in a new project
b) how to detect boundary violations of the stack.

Thanks for any answer

Parents
  • a) how to set the stack depth, in a new project

    As big as you possibly can. Shrink only after you have measurements of stack consumption and a reliable estimate of their future movement.

    b) how to detect boundary violations of the stack.

    Put a signal value beyond the end of the stack, and regularly check if anyone trampled over it.

Reply
  • a) how to set the stack depth, in a new project

    As big as you possibly can. Shrink only after you have measurements of stack consumption and a reliable estimate of their future movement.

    b) how to detect boundary violations of the stack.

    Put a signal value beyond the end of the stack, and regularly check if anyone trampled over it.

Children