distortos  v0.5.0
object-oriented C++ RTOS for microcontrollers
distortos::internal::anonymous_namespace{MainThread.cpp} Namespace Reference


Stack stackWrapper (const std::pair< void *, size_t > stackBuffer)
 Wrapper for Stack's constructor. More...

Function Documentation

◆ stackWrapper()

Stack distortos::internal::anonymous_namespace{MainThread.cpp}::stackWrapper ( const std::pair< void *, size_t >  stackBuffer)

Wrapper for Stack's constructor.

Enables use of architecture::getMainStack() result to construct Stack.

[in]stackBufferis a pair with beginning of stack and its size in bytes
constructed Stack object
Here is the caller graph for this function: