diff --git a/core/include/thread.h b/core/include/thread.h index 79ca817a1709a17a4028ba638e6214edb92800f4..64a828ab3126caca4fa1feee635b8d43c9377c1e 100644 --- a/core/include/thread.h +++ b/core/include/thread.h @@ -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 */