cpu: make standard stack sizes configurable
This commit is contained in:
parent
a8004a8b3a
commit
69b703729f
@ -38,8 +38,13 @@ extern "C" {
|
|||||||
# define THREAD_STACKSIZE_DEFAULT (256)
|
# define THREAD_STACKSIZE_DEFAULT (256)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define THREAD_STACKSIZE_IDLE (128)
|
#ifndef THREAD_STACKSIZE_IDLE
|
||||||
#define ISR_STACKSIZE (0)
|
# define THREAD_STACKSIZE_IDLE (128)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef ISR_STACKSIZE
|
||||||
|
# define ISR_STACKSIZE (0)
|
||||||
|
#endif
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|||||||
@ -17,19 +17,29 @@ extern "C" {
|
|||||||
* @name Kernel configuration
|
* @name Kernel configuration
|
||||||
* @{
|
* @{
|
||||||
*/
|
*/
|
||||||
#define THREAD_EXTRA_STACKSIZE_PRINTF (256)
|
#ifndef THREAD_EXTRA_STACKSIZE_PRINTF
|
||||||
#define THREAD_EXTRA_STACKSIZE_PRINTF_FLOAT (THREAD_EXTRA_STACKSIZE_PRINTF)
|
# define THREAD_EXTRA_STACKSIZE_PRINTF (256)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef THREAD_EXTRA_STACKSIZE_PRINTF
|
||||||
|
# define THREAD_EXTRA_STACKSIZE_PRINTF_FLOAT (THREAD_EXTRA_STACKSIZE_PRINTF)
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef THREAD_STACKSIZE_DEFAULT
|
#ifndef THREAD_STACKSIZE_DEFAULT
|
||||||
# define THREAD_STACKSIZE_DEFAULT (256)
|
# define THREAD_STACKSIZE_DEFAULT (256)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define THREAD_STACKSIZE_IDLE (96)
|
#ifndef THREAD_STACKSIZE_IDLE
|
||||||
#define ISR_STACKSIZE (256)
|
# define THREAD_STACKSIZE_IDLE (96)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef ISR_STACKSIZE
|
||||||
|
# define ISR_STACKSIZE (256)
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef GNRC_PKTBUF_SIZE
|
#ifndef GNRC_PKTBUF_SIZE
|
||||||
# define GNRC_PKTBUF_SIZE (2560) /* TODO: Make this value
|
/* TODO: Make this value overall MTU dependent */
|
||||||
* overall MTU dependent */
|
# define GNRC_PKTBUF_SIZE (2560)
|
||||||
#endif
|
#endif
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user