cpu/stm32f4/include/cpu_conf.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2014 Freie Universit├Ąt Berlin
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_STM32F401RE)
27 #include "vendor/stm32f401xe.h"
28 #elif defined(CPU_MODEL_STM32F407VG)
29 #include "vendor/stm32f407xx.h"
30 #elif defined(CPU_MODEL_STM32F410RB)
31 #include "vendor/stm32f410rx.h"
32 #elif defined(CPU_MODEL_STM32F411RE)
33 #include "vendor/stm32f411xe.h"
34 #elif defined(CPU_MODEL_STM32F412ZG)
35 #include "vendor/stm32f412zx.h"
36 #elif defined(CPU_MODEL_STM32F413ZH)
37 #include "vendor/stm32f413xx.h"
38 #elif defined(CPU_MODEL_STM32F415RG)
39 #include "vendor/stm32f415xx.h"
40 #elif defined(CPU_MODEL_STM32F446RE) || defined(CPU_MODEL_STM32F446ZE)
41 #include "vendor/stm32f446xx.h"
42 #elif defined(CPU_MODEL_STM32F429ZI)
43 #include "vendor/stm32f429xx.h"
44 #endif
45 
46 #ifdef __cplusplus
47 extern "C" {
48 #endif
49 
54 #define CPU_DEFAULT_IRQ_PRIO (1U)
55 #define CPU_IRQ_NUMOF (82U)
56 #define CPU_FLASH_BASE FLASH_BASE
57 
59 #ifdef __cplusplus
60 }
61 #endif
62 
63 #endif /* CPU_CONF_H */
64 
Common CPU definitione for Cortex-M family based MCUs.