cpu/stm32l0/include/cpu_conf.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2016 Freie Universit├Ąt Berlin
3  * 2017 Inria
4  *
5  * This file is subject to the terms and conditions of the GNU Lesser General
6  * Public License v2.1. See the file LICENSE in the top level directory for more
7  * details.
8  */
9 
23 #ifndef CPU_CONF_H
24 #define CPU_CONF_H
25 
26 #include "cpu_conf_common.h"
27 
28 #ifdef CPU_MODEL_STM32L073RZ
29 #include "vendor/stm32l073xx.h"
30 #endif
31 #ifdef CPU_MODEL_STM32L072CZ
32 #include "vendor/stm32l072xx.h"
33 #endif
34 #ifdef CPU_MODEL_STM32L053R8
35 #include "vendor/stm32l053xx.h"
36 #endif
37 #ifdef CPU_MODEL_STM32L031K6
38 #include "vendor/stm32l031xx.h"
39 #endif
40 
41 #ifdef __cplusplus
42 extern "C" {
43 #endif
44 
49 #define CPU_DEFAULT_IRQ_PRIO (1U)
50 #define CPU_IRQ_NUMOF (31U)
51 
53 #ifdef __cplusplus
54 }
55 #endif
56 
57 #endif /* CPU_CONF_H */
58 
Common CPU definitione for Cortex-M family based MCUs.