Page 2 of 2

Re: [STM32F407 Discovery] demo adaption to C++ fails

Posted: Thu Nov 01, 2012 1:03 pm
by feanor
Giovanni wrote:Hi,

The threads stacks in the demo are automatic variables of the main() function so they are allocated in the process stack.

Ah, ok, i thought so already. The formulation "When the C++ wrapper is used the stacks of the various threads are allocated within the stack of the main() thread" sounded for me that _all_ c++ based threads were located into main-threadspace. Thank you for clarifying.