zephyr/soc/gd/gd32/gd32f403/soc.h

24 lines
426 B
C
Raw Normal View History

/*
* Copyright (c) 2021, ATL Electronics
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @file SoC configuration header for the GD32F403 SoC series.
*/
#ifndef _SOC__H_
#define _SOC__H_
#include <zephyr/sys/util.h>
#ifndef _ASMLANGUAGE
#include <gd32f403.h>
/* The GigaDevice HAL headers define this, but it conflicts with the Zephyr can.h */
#undef CAN_MODE_NORMAL
#endif /* !_ASMLANGUAGE */
#endif /* _SOC__H_ */