The friendly Operating System for the Internet of Things
cpu/ezr32wg/include/cpu_conf.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2015 Freie Universit├Ąt Berlin
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 
21 #ifndef CPU_CONF_H
22 #define CPU_CONF_H
23 
24 #include "cpu_conf_common.h"
25 
26 #if (CPU_MODEL == ezr32wg330f256r60)
27 #include "vendor/ezr32wg330f256r60.h"
28 #else
29 #error "No CPU headers for the defined CPU_MODEL found"
30 #endif
31 
32 #ifdef __cplusplus
33 extern "C" {
34 #endif
35 
40 #define CPU_DEFAULT_IRQ_PRIO (1U)
41 #define CPU_IRQ_NUMOF (FPUEH_IRQn + 1)
42 #define CPU_FLASH_BASE FLASH_BASE
43 
45 #ifdef __cplusplus
46 }
47 #endif
48 
49 #endif /* __CPU_CONF_H */
50 
Common CPU definitione for Cortex-M family based MCUs.