diff --git a/cpu/lpc2387/include/cpu_conf.h b/cpu/lpc2387/include/cpu_conf.h index 02b22435cf..9f37cb9f0f 100644 --- a/cpu/lpc2387/include/cpu_conf.h +++ b/cpu/lpc2387/include/cpu_conf.h @@ -52,6 +52,15 @@ extern "C" { #define THREAD_STACKSIZE_IDLE (160) /** @} */ +/** + * @name Pthread configuration + * @{ + */ +/* The idle stack of '160' is not enough to do the 'msg_receive'. + * It currently used '164' bytes. */ +#define CONFIG_PTHREAD_REAPER_BASE_STACKSIZE (2*THREAD_STACKSIZE_IDLE) +/** @} */ + /** * @name Compiler specifics * @{