1 /* 2 * Copyright (c) 2021, ATL Electronics 3 * SPDX-License-Identifier: Apache-2.0 4 */ 5 6 /** 7 * @file SoC configuration header for the GD32F403 SoC series. 8 */ 9 10 #ifndef _SOC__H_ 11 #define _SOC__H_ 12 13 #include <zephyr/sys/util.h> 14 15 #ifndef _ASMLANGUAGE 16 #include <gd32f403.h> 17 18 /* The GigaDevice HAL headers define this, but it conflicts with the Zephyr can.h */ 19 #undef CAN_MODE_NORMAL 20 21 #endif /* !_ASMLANGUAGE */ 22 23 #endif /* _SOC__H_ */ 24