cpu/mips32r2_common/include/cpu_conf.h
Go to the documentation of this file.
1 /*
2  * Copyright 2016, Imagination Technologies Limited and/or its
3  * affiliated group companies.
4  * This file is subject to the terms and conditions of the GNU Lesser
5  * General Public License v2.1. See the file LICENSE in the top level
6  * directory for more details.
7  */
8 
19 #ifndef CPU_CONF_H
20 #define CPU_CONF_H
21 
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25 
44 #ifndef THREAD_EXTRA_STACKSIZE_PRINTF
45 #define THREAD_EXTRA_STACKSIZE_PRINTF (1024)
46 #endif
47 
48 #ifndef THREAD_STACKSIZE_DEFAULT
49 #define THREAD_STACKSIZE_DEFAULT (2048)
50 #endif
51 
52 #ifndef THREAD_STACKSIZE_IDLE
53 #ifdef NDEBUG
54 #define THREAD_STACKSIZE_IDLE (512)
55 #else
56 #define THREAD_STACKSIZE_IDLE (512 + THREAD_EXTRA_STACKSIZE_PRINTF)
57 #endif
58 #endif
59 
62 #ifdef __cplusplus
63 }
64 #endif
65 
66 #endif /* CPU_CONF_H */
67