1 /* 2 * Copyright (c) 2017 RnDity Sp. z o.o. 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 /** 8 * @file SoC configuration macros for the STM32F0 family processors. 9 * 10 * Based on reference manual: 11 * STM32F030x4/x6/x8/xC, 12 * STM32F070x6/xB advanced ARM ® -based MCUs 13 * 14 * Chapter 2.2: Memory organization 15 */ 16 17 18 #ifndef _STM32F0_SOC_H_ 19 #define _STM32F0_SOC_H_ 20 21 #ifndef _ASMLANGUAGE 22 23 #include <stm32f0xx.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 /* _STM32F0_SOC_H_ */ 32