Gigadevice was inconsistent with the convention established by other SoC families, that is, use <vnd_prefix>_<family>. For example, ST STM32 uses st_stm32. Note that GD32VF103, under soc/riscv, has already been adjusted. Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
18 lines
414 B
C
18 lines
414 B
C
/*
|
|
* Copyright (c) 2021, Teslabs Engineering S.L.
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#ifndef _SOC_ARM_GIGADEVICE_GD32F4XX_SOC_H_
|
|
#define _SOC_ARM_GIGADEVICE_GD32F4XX_SOC_H_
|
|
|
|
#ifndef _ASMLANGUAGE
|
|
|
|
#include <gd32f4xx.h>
|
|
|
|
/* The GigaDevice HAL headers define this, but it conflicts with the Zephyr can.h */
|
|
#undef CAN_MODE_NORMAL
|
|
|
|
#endif /* _ASMLANGUAGE */
|
|
|
|
#endif /* _SOC_ARM_GIGADEVICE_GD32F4XX_SOC_H_ */
|