cpu/lpc2387/include/cpu_conf.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2013, Freie Universitaet Berlin (FUB). All rights reserved.
3  *
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 
10 #ifndef CPU_CONF_H
11 #define CPU_CONF_H
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
38 #define __FOPEN_MAX__ 4
39 #define __FILENAME_MAX__ 12
40 
46 #define THREAD_EXTRA_STACKSIZE_PRINTF_FLOAT (4096)
47 #define THREAD_EXTRA_STACKSIZE_PRINTF (2048)
48 
49 #ifndef THREAD_STACKSIZE_DEFAULT
50 #define THREAD_STACKSIZE_DEFAULT (512)
51 #endif
52 
53 #define THREAD_STACKSIZE_IDLE (160)
54 
60 #define CC_CONF_INLINE inline
61 #define CC_CONF_USED __attribute__((used))
62 #define CC_CONF_NONNULL(...) __attribute__((nonnull(__VA_ARGS__)))
63 #define CC_CONF_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
64 
66 #ifdef __cplusplus
67 }
68 #endif
69 
71 #endif /* CPU_CONF_H */