zephyr/soc/arm/gd_gd32/gd32f4xx/soc.h
Gerard Marull-Paretas b3d8fc5e82 soc: arm: gigadevice: s/gigadevice/gd_gd32
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>
2024-01-10 20:59:21 -05:00

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_ */