1 /*
2  * Copyright (c) 2016 Open-RnD Sp. z o.o.
3  * Copyright (c) 2016 BayLibre, SAS
4  *
5  * SPDX-License-Identifier: Apache-2.0
6  */
7 
8 /**
9  * @file SoC configuration macros for the STM32L4 family processors.
10  *
11  * Based on reference manual:
12  *   STM32L4x1, STM32L4x2, STM32L431xx STM32L443xx STM32L433xx, STM32L4x5,
13  *   STM32l4x6 advanced ARM(r)-based 32-bit MCUs
14  *
15  * Chapter 2.2.2: Memory map and register boundary addresses
16  */
17 
18 
19 #ifndef _STM32L4X_SOC_H_
20 #define _STM32L4X_SOC_H_
21 
22 #ifndef _ASMLANGUAGE
23 
24 #include <stm32l4xx.h>
25 
26 /* The STM32 HAL headers define these, but they conflict with the Zephyr can.h */
27 #undef CAN_MODE_NORMAL
28 #undef CAN_MODE_LOOPBACK
29 
30 #endif /* !_ASMLANGUAGE */
31 
32 #endif /* _STM32L4X_SOC_H_ */
33