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 STM32F4_CPU_CONF_H
22 #define STM32F4_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_STM32F413ZH)
35 #include "vendor/stm32f413xx.h"
36 #elif defined(CPU_MODEL_STM32F415RG)
37 #include "vendor/stm32f415xx.h"
38 #elif defined(CPU_MODEL_STM32F446RE) || defined(CPU_MODEL_STM32F446ZE)
39 #include "vendor/stm32f446xx.h"
40 #elif defined(CPU_MODEL_STM32F429ZI)
41 #include "vendor/stm32f429xx.h"
42 #endif
43 
44 #ifdef __cplusplus
45 extern "C" {
46 #endif
47 
52 #define CPU_DEFAULT_IRQ_PRIO (1U)
53 #define CPU_IRQ_NUMOF (82U)
54 #define CPU_FLASH_BASE FLASH_BASE
55 
57 #ifdef __cplusplus
58 }
59 #endif
60 
61 #endif /* STM32F4_CPU_CONF_H */
62 
Common CPU definitione for Cortex-M family based MCUs.