cpu_conf.h
Go to the documentation of this file.
1 
16 #ifndef CPU_CONF_H
17 #define CPU_CONF_H
18 
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22 
30 #ifdef __MACH__ /* OSX */
31 #define THREAD_STACKSIZE_DEFAULT (163840)
32 #define THREAD_STACKSIZE_IDLE (163840)
33 #define THREAD_EXTRA_STACKSIZE_PRINTF (81920)
34 #define THREAD_EXTRA_STACKSIZE_PRINTF_FLOAT (81920)
35 /* for core/include/thread.h */
36 #define THREAD_STACKSIZE_MINIMUM (163840)
37 /* native internal */
38 #define THREAD_STACKSIZE_MINIMUM (163840)
39 #define ISR_STACKSIZE (163840)
40 
41 #else /* Linux etc. */
42 #define THREAD_STACKSIZE_DEFAULT (8192)
43 #define THREAD_STACKSIZE_IDLE (8192)
44 #define THREAD_EXTRA_STACKSIZE_PRINTF (4096)
45 #define THREAD_EXTRA_STACKSIZE_PRINTF_FLOAT (4096)
46 /* for core/include/thread.h */
47 #define THREAD_STACKSIZE_MINIMUM (8192)
48 /* native internal */
49 #define ISR_STACKSIZE (8192)
50 #endif /* OS */
51 
56 #define NATIVE_ETH_PROTO 0x1234
57 
58 #if (defined(CONFIG_GNRC_PKTBUF_SIZE)) && (CONFIG_GNRC_PKTBUF_SIZE < 2048)
59 # undef CONFIG_GNRC_PKTBUF_SIZE
60 # define CONFIG_GNRC_PKTBUF_SIZE (2048)
61 #endif
62 
63 #ifdef __cplusplus
64 }
65 #endif
66 
67 #endif /* CPU_CONF_H */