1 /* 2 * Copyright (c) 2018 qianfan Zhao <qianfanguijin@163.com> 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 /** 8 * @file SoC configuration macros for the stm32f2 family processors. 9 * 10 * Based on reference manual: 11 * stm32f2X advanced ARM ® -based 32-bit MCUs 12 * 13 * Chapter 2.2: Memory organization 14 */ 15 16 17 #ifndef _STM32F2_SOC_H_ 18 #define _STM32F2_SOC_H_ 19 20 #ifndef _ASMLANGUAGE 21 22 #include <stm32f2xx.h> 23 24 /* The STM32 HAL headers define these, but they conflict with the Zephyr can.h */ 25 #undef CAN_MODE_NORMAL 26 #undef CAN_MODE_LOOPBACK 27 28 #endif /* !_ASMLANGUAGE */ 29 30 #endif /* _STM32F2_SOC_H_ */ 31