Skip to content
Snippets Groups Projects
Commit 2b1ed99a authored by Kaspar Schleiser's avatar Kaspar Schleiser
Browse files

core: add more stacksize defines

parent 83abf11f
No related branches found
No related tags found
No related merge requests found
......@@ -261,6 +261,34 @@ struct _thread {
#define THREAD_STACKSIZE_MAIN (THREAD_STACKSIZE_DEFAULT + THREAD_EXTRA_STACKSIZE_PRINTF)
#endif
/**
* @brief Large stack size
*/
#ifndef THREAD_STACKSIZE_LARGE
#define THREAD_STACKSIZE_LARGE (THREAD_STACKSIZE_MEDIUM * 2)
#endif
/**
* @brief Medium stack size
*/
#ifndef THREAD_STACKSIZE_MEDIUM
#define THREAD_STACKSIZE_MEDIUM THREAD_STACKSIZE_DEFAULT
#endif
/**
* @brief Small stack size
*/
#ifndef THREAD_STACKSIZE_SMALL
#define THREAD_STACKSIZE_SMALL (THREAD_STACKSIZE_MEDIUM / 2)
#endif
/**
* @brief Tiny stack size
*/
#ifndef THREAD_STACKSIZE_TINY
#define THREAD_STACKSIZE_TINY (THREAD_STACKSIZE_MEDIUM / 4)
#endif
/**
* @brief Minimum stack size
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment