The friendly Operating System for the Internet of Things
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 
9 #ifndef _CPU_CONF_H_
10 #define _CPU_CONF_H_
11 
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26 
45 #ifndef THREAD_EXTRA_STACKSIZE_PRINTF
46 #define THREAD_EXTRA_STACKSIZE_PRINTF (1024)
47 #endif
48 
49 #ifndef THREAD_STACKSIZE_DEFAULT
50 #define THREAD_STACKSIZE_DEFAULT (2048)
51 #endif
52 
53 #ifndef THREAD_STACKSIZE_IDLE
54 #ifdef NDEBUG
55 #define THREAD_STACKSIZE_IDLE (512)
56 #else
57 #define THREAD_STACKSIZE_IDLE (512 + THREAD_EXTRA_STACKSIZE_PRINTF)
58 #endif
59 #endif
60 
61 #define ISR_STACKSIZE (0)
62 
65 #ifdef __cplusplus
66 }
67 #endif
68 
69 #endif
70