cpu/atmega2560/include/cpu_conf.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2014 Freie Universit├Ąt Berlin, Hinnerk van Bruinehsen
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 
20 #ifndef CPU_CONF_H
21 #define CPU_CONF_H
22 
23 #include "atmega_regs_common.h"
24 
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28 
36 #define THREAD_EXTRA_STACKSIZE_PRINTF (128)
37 
38 #ifndef THREAD_STACKSIZE_DEFAULT
39 #define THREAD_STACKSIZE_DEFAULT (256)
40 #endif
41 
42 #define THREAD_STACKSIZE_IDLE (128)
43 #define ISR_STACKSIZE (0)
44 
46 #ifdef __cplusplus
47 }
48 #endif
49 
50 #endif /* CPU_CONF_H */
51 
CMSIS style register definitions for the atmega family.