1 /*
2  * Copyright (c) 2016 RnDity Sp. z o.o.
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 /**
8  * @file SoC configuration macros for the STM32F3 family processors.
9  *
10  * Based on reference manual:
11  *   STM32F303xB/C/D/E, STM32F303x6/8, STM32F328x8, STM32F358xC,
12  *   STM32F398xE advanced ARM(r)-based MCUs
13  *   STM32F37xx advanced ARM(r)-based MCUs
14  *
15  * Chapter 3.3: Memory organization
16  */
17 
18 
19 #ifndef _STM32F3_SOC_H_
20 #define _STM32F3_SOC_H_
21 
22 #ifndef _ASMLANGUAGE
23 
24 #include <stm32f3xx.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 /* _STM32F3_SOC_H_ */
33