1 /*
2  * Copyright (c) 2016 Open-RnD Sp. z o.o.
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 /**
8  * @file SoC configuration macros for the STM32F1 family processors.
9  *
10  * Based on reference manual:
11  *   STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and STM32F107xx
12  *   advanced ARM(r)-based 32-bit MCUs
13  *
14  * Chapter 3.3: Memory Map
15  */
16 
17 
18 #ifndef _STM32F1_SOC_H_
19 #define _STM32F1_SOC_H_
20 
21 #ifndef _ASMLANGUAGE
22 
23 #include <stm32f1xx.h>
24 
25 /* The STM32 HAL headers define these, but they conflict with the Zephyr can.h */
26 #undef CAN_MODE_NORMAL
27 #undef CAN_MODE_LOOPBACK
28 
29 #endif /* !_ASMLANGUAGE */
30 
31 #endif /* _STM32F1_SOC_H_ */
32