The friendly Operating System for the Internet of Things
cpu/stm32f2/include/cpu_conf.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2015 Engineering-Spirit
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser General
5  * Public License v2.1. See the file LICENSE in the top level directory for more
6  * details.
7  */
8 
21 #ifndef CPU_CONF_H
22 #define CPU_CONF_H
23 
24 #include "cpu_conf_common.h"
25 
26 #if defined(CPU_MODEL_STM32F205RG)
27 #include "vendor/stm32f205xx.h"
28 #elif defined(CPU_MODEL_STM32F207ZG)
29 #include "vendor/stm32f207xx.h"
30 #elif defined(CPU_MODEL_STM32F215RG) || defined(CPU_MODEL_STM32F215VG) || defined(CPU_MODEL_STM32F215VE)
31 #include "vendor/stm32f215xx.h"
32 #elif defined(CPU_MODEL_STM32F217ZG)
33 #include "vendor/stm32f217xx.h"
34 #endif
35 
36 #ifdef __cplusplus
37 extern "C" {
38 #endif
39 
44 #define CPU_DEFAULT_IRQ_PRIO (1U)
45 #define CPU_IRQ_NUMOF (81U)
46 #define CPU_FLASH_BASE FLASH_BASE
47 
49 #ifdef __cplusplus
50 }
51 #endif
52 
53 #endif /* CPU_CONF_H */
54 
Common CPU definitione for Cortex-M family based MCUs.