cpu/stm32l4/include/cpu_conf.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2017 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 #if defined(CPU_MODEL_STM32L476RG)
29 #include "vendor/stm32l476xx.h"
30 #elif defined(CPU_MODEL_STM32L432KC)
31 #include "vendor/stm32l432xx.h"
32 #endif
33 
34 #ifdef __cplusplus
35 extern "C" {
36 #endif
37 
42 #define CPU_DEFAULT_IRQ_PRIO (1U)
43 #if defined(CPU_MODEL_STM32L432KC)
44 #define CPU_IRQ_NUMOF (83U)
45 #else
46 #define CPU_IRQ_NUMOF (82U)
47 #endif
48 
50 #ifdef __cplusplus
51 }
52 #endif
53 
54 #endif /* CPU_CONF_H */
55 
Common CPU definitione for Cortex-M family based MCUs.