Skip to content
Snippets Groups Projects
Unverified Commit 17b661b0 authored by Kaspar Schleiser's avatar Kaspar Schleiser Committed by GitHub
Browse files

Merge pull request #9356 from kaspar030/add_more_stacksize_defines

core: add more stacksize defines
parents 7af76590 2b1ed99a
Branches
No related tags found
No related merge requests found
...@@ -261,6 +261,34 @@ struct _thread { ...@@ -261,6 +261,34 @@ struct _thread {
#define THREAD_STACKSIZE_MAIN (THREAD_STACKSIZE_DEFAULT + THREAD_EXTRA_STACKSIZE_PRINTF) #define THREAD_STACKSIZE_MAIN (THREAD_STACKSIZE_DEFAULT + THREAD_EXTRA_STACKSIZE_PRINTF)
#endif #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 * @brief Minimum stack size
*/ */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment