mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 05:12:57 +01:00
core: add more stacksize defines
This commit is contained in:
parent
83abf11f2f
commit
2b1ed99a49
@ -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
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user