1 /* 2 * Copyright (c) 2016 Open-RnD Sp. z o.o. 3 * Copyright (c) 2016 Linaro Limited. 4 * 5 * SPDX-License-Identifier: Apache-2.0 6 */ 7 8 /** 9 * @file SoC configuration macros for the ST STM32F4 family processors. 10 * 11 * Based on reference manual: 12 * RM0368 Reference manual STM32F401xB/C and STM32F401xD/E 13 * advanced ARM(r)-based 32-bit MCUs 14 * 15 * Chapter 2.3: Memory Map 16 */ 17 18 #ifndef _STM32F4_SOC_H_ 19 #define _STM32F4_SOC_H_ 20 21 #ifndef _ASMLANGUAGE 22 23 #include <stm32f4xx.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 /* _STM32F4_SOC_H_ */ 32