From 1319c5e8743038e348d00da30831cd2f9e3c20e7 Mon Sep 17 00:00:00 2001 From: Oleg Hahm Date: Thu, 21 Apr 2016 15:00:13 +0200 Subject: [PATCH] doc: add a hint to cpu_conf.h --- core/include/thread.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/core/include/thread.h b/core/include/thread.h index ebf597687..88828188b 100644 --- a/core/include/thread.h +++ b/core/include/thread.h @@ -105,6 +105,9 @@ struct _thread { /** * @def THREAD_STACKSIZE_DEFAULT * @brief A reasonable default stack size that will suffice most smaller tasks + * + * @note This value must be defined by the CPU specific implementation, please + * take a look at @c cpu/$CPU/include/cpu_conf.h */ #ifndef THREAD_STACKSIZE_DEFAULT #error THREAD_STACKSIZE_DEFAULT must be defined per CPU @@ -116,6 +119,9 @@ struct _thread { /** * @def THREAD_STACKSIZE_IDLE * @brief Size of the idle task's stack in bytes + * + * @note This value must be defined by the CPU specific implementation, please + * take a look at @c cpu/$CPU/include/cpu_conf.h */ #ifndef THREAD_STACKSIZE_IDLE #error THREAD_STACKSIZE_IDLE must be defined per CPU @@ -128,6 +134,9 @@ struct _thread { * @def THREAD_EXTRA_STACKSIZE_PRINTF * @ingroup conf * @brief Size of the task's printf stack in bytes + * + * @note This value must be defined by the CPU specific implementation, please + * take a look at @c cpu/$CPU/include/cpu_conf.h */ #ifndef THREAD_EXTRA_STACKSIZE_PRINTF #error THREAD_EXTRA_STACKSIZE_PRINTF must be defined per CPU