cpu/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 
22 #ifndef _CPU_CONF_H_
23 #define _CPU_CONF_H_
24 
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28 
47 #ifndef THREAD_EXTRA_STACKSIZE_PRINTF
48 #define THREAD_EXTRA_STACKSIZE_PRINTF (1024)
49 #endif
50 
51 #ifndef THREAD_STACKSIZE_DEFAULT
52 #define THREAD_STACKSIZE_DEFAULT (2048)
53 #endif
54 
55 #ifndef THREAD_STACKSIZE_IDLE
56 #ifdef NDEBUG
57 #define THREAD_STACKSIZE_IDLE (512)
58 #else
59 #define THREAD_STACKSIZE_IDLE (512 + THREAD_EXTRA_STACKSIZE_PRINTF)
60 #endif
61 #endif
62 
63 #define ISR_STACKSIZE (0)
64 
66 #ifdef __cplusplus
67 }
68 #endif
69 
70 #endif
71