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