2021-09-18 03:25:11 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2021, ATL Electronics
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
2021-11-01 17:36:21 +08:00
|
|
|
* @file SoC configuration header for the GD32F403 SoC series.
|
2021-09-18 03:25:11 +08:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _SOC__H_
|
|
|
|
#define _SOC__H_
|
|
|
|
|
2022-05-06 17:11:04 +08:00
|
|
|
#include <zephyr/sys/util.h>
|
2021-09-18 03:25:11 +08:00
|
|
|
|
|
|
|
#ifndef _ASMLANGUAGE
|
|
|
|
#include <gd32f403.h>
|
2022-05-14 03:32:03 +08:00
|
|
|
|
|
|
|
/* The GigaDevice HAL headers define this, but it conflicts with the Zephyr can.h */
|
|
|
|
#undef CAN_MODE_NORMAL
|
|
|
|
|
2021-09-18 03:25:11 +08:00
|
|
|
#endif /* !_ASMLANGUAGE */
|
|
|
|
|
|
|
|
#endif /* _SOC__H_ */
|