cpu/stm32f3/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 
22 #ifndef STM32F3_CPU_CONF_H
23 #define STM32F3_CPU_CONF_H
24 
25 #include "cpu_conf_common.h"
26 
27 #if defined(CPU_MODEL_STM32F303VC)
28 #include "vendor/stm32f303xc.h"
29 #elif defined(CPU_MODEL_STM32F334R8)
30 #include "vendor/stm32f334x8.h"
31 #elif defined(CPU_MODEL_STM32F303RE) || defined(CPU_MODEL_STM32F303ZE)
32 #include "vendor/stm32f303xe.h"
33 #elif defined(CPU_MODEL_STM32F303K8)
34 #include "vendor/stm32f303x8.h"
35 #endif
36 #ifdef CPU_MODEL_STM32F302R8
37 #include "vendor/stm32f302x8.h"
38 #endif
39 #ifdef __cplusplus
40 extern "C" {
41 #endif
42 
47 #define CPU_DEFAULT_IRQ_PRIO (1U)
48 #define CPU_IRQ_NUMOF (82U)
49 #define CPU_FLASH_BASE FLASH_BASE
50 
53 #ifdef __cplusplus
54 }
55 #endif
56 
57 #endif /* STM32F3_CPU_CONF_H */
58 
Common CPU definitione for Cortex-M family based MCUs.