Skip to content
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion common_include/gd32_adc.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
* SPDX-License-Identifier: Apache-2.0
*/

#if defined(CONFIG_SOC_SERIES_GD32E10X)
#if defined(CONFIG_SOC_SERIES_GD32A50X)
#include <gd32a50x_adc.h>
#elif defined(CONFIG_SOC_SERIES_GD32E10X)
#include <gd32e10x_adc.h>
#elif defined(CONFIG_SOC_SERIES_GD32E50X)
#include <gd32e50x_adc.h>
Expand Down
4 changes: 3 additions & 1 deletion common_include/gd32_bkp.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
* SPDX-License-Identifier: Apache-2.0
*/

#if defined(CONFIG_SOC_SERIES_GD32E10X)
#if defined(CONFIG_SOC_SERIES_GD32A50X)
#include <gd32a50x_bkp.h>
#elif defined(CONFIG_SOC_SERIES_GD32E10X)
#include <gd32e10x_bkp.h>
#elif defined(CONFIG_SOC_SERIES_GD32E50X)
#include <gd32e50x_bkp.h>
Expand Down
4 changes: 3 additions & 1 deletion common_include/gd32_can.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
* SPDX-License-Identifier: Apache-2.0
*/

#if defined(CONFIG_SOC_SERIES_GD32E50X)
#if defined(CONFIG_SOC_SERIES_GD32A50X)
#include <gd32a50x_can.h>
#elif defined(CONFIG_SOC_SERIES_GD32E50X)
#include <gd32e50x_can.h>
#elif defined(CONFIG_SOC_SERIES_GD32F403)
#include <gd32f403_can.h>
Expand Down
4 changes: 3 additions & 1 deletion common_include/gd32_cmp.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
* SPDX-License-Identifier: Apache-2.0
*/

#if defined(CONFIG_SOC_SERIES_GD32E50X)
#if defined(CONFIG_SOC_SERIES_GD32A50X)
#include <gd32a50x_cmp.h>
#elif defined(CONFIG_SOC_SERIES_GD32E50X)
#include <gd32e50x_cmp.h>
#elif defined(CONFIG_SOC_SERIES_GD32F3X0)
#include <gd32f3x0_cmp.h>
Expand Down
4 changes: 3 additions & 1 deletion common_include/gd32_crc.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
* SPDX-License-Identifier: Apache-2.0
*/

#if defined(CONFIG_SOC_SERIES_GD32E10X)
#if defined(CONFIG_SOC_SERIES_GD32A50X)
#include <gd32a50x_crc.h>
#elif defined(CONFIG_SOC_SERIES_GD32E10X)
#include <gd32e10x_crc.h>
#elif defined(CONFIG_SOC_SERIES_GD32E50X)
#include <gd32e50x_crc.h>
Expand Down
4 changes: 3 additions & 1 deletion common_include/gd32_dac.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
* SPDX-License-Identifier: Apache-2.0
*/

#if defined(CONFIG_SOC_SERIES_GD32E10X)
#if defined(CONFIG_SOC_SERIES_GD32A50X)
#include <gd32a50x_dac.h>
#elif defined(CONFIG_SOC_SERIES_GD32E10X)
#include <gd32e10x_dac.h>
#elif defined(CONFIG_SOC_SERIES_GD32E50X)
#include <gd32e50x_dac.h>
Expand Down
4 changes: 3 additions & 1 deletion common_include/gd32_dbg.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
* SPDX-License-Identifier: Apache-2.0
*/

#if defined(CONFIG_SOC_SERIES_GD32E10X)
#if defined(CONFIG_SOC_SERIES_GD32A50X)
#include <gd32a50x_dbg.h>
#elif defined(CONFIG_SOC_SERIES_GD32E10X)
#include <gd32e10x_dbg.h>
#elif defined(CONFIG_SOC_SERIES_GD32E50X)
#include <gd32e50x_dbg.h>
Expand Down
4 changes: 3 additions & 1 deletion common_include/gd32_dma.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
* SPDX-License-Identifier: Apache-2.0
*/

#if defined(CONFIG_SOC_SERIES_GD32E10X)
#if defined(CONFIG_SOC_SERIES_GD32A50X)
#include <gd32a50x_dma.h>
#elif defined(CONFIG_SOC_SERIES_GD32E10X)
#include <gd32e10x_dma.h>
#elif defined(CONFIG_SOC_SERIES_GD32E50X)
#include <gd32e50x_dma.h>
Expand Down
4 changes: 3 additions & 1 deletion common_include/gd32_exti.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
* SPDX-License-Identifier: Apache-2.0
*/

#if defined(CONFIG_SOC_SERIES_GD32E10X)
#if defined(CONFIG_SOC_SERIES_GD32A50X)
#include <gd32a50x_exti.h>
#elif defined(CONFIG_SOC_SERIES_GD32E10X)
#include <gd32e10x_exti.h>
#elif defined(CONFIG_SOC_SERIES_GD32E50X)
#include <gd32e50x_exti.h>
Expand Down
4 changes: 3 additions & 1 deletion common_include/gd32_fmc.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
* SPDX-License-Identifier: Apache-2.0
*/

#if defined(CONFIG_SOC_SERIES_GD32E10X)
#if defined(CONFIG_SOC_SERIES_GD32A50X)
#include <gd32a50x_fmc.h>
#elif defined(CONFIG_SOC_SERIES_GD32E10X)
#include <gd32e10x_fmc.h>
#elif defined(CONFIG_SOC_SERIES_GD32E50X)
#include <gd32e50x_fmc.h>
Expand Down
4 changes: 3 additions & 1 deletion common_include/gd32_fwdgt.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
* SPDX-License-Identifier: Apache-2.0
*/

#if defined(CONFIG_SOC_SERIES_GD32E10X)
#if defined(CONFIG_SOC_SERIES_GD32A50X)
#include <gd32a50x_fwdgt.h>
#elif defined(CONFIG_SOC_SERIES_GD32E10X)
#include <gd32e10x_fwdgt.h>
#elif defined(CONFIG_SOC_SERIES_GD32E50X)
#include <gd32e50x_fwdgt.h>
Expand Down
4 changes: 3 additions & 1 deletion common_include/gd32_gpio.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
* SPDX-License-Identifier: Apache-2.0
*/

#if defined(CONFIG_SOC_SERIES_GD32E10X)
#if defined(CONFIG_SOC_SERIES_GD32A50X)
#include <gd32a50x_gpio.h>
#elif defined(CONFIG_SOC_SERIES_GD32E10X)
#include <gd32e10x_gpio.h>
#elif defined(CONFIG_SOC_SERIES_GD32E50X)
#include <gd32e50x_gpio.h>
Expand Down
4 changes: 3 additions & 1 deletion common_include/gd32_i2c.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
* SPDX-License-Identifier: Apache-2.0
*/

#if defined(CONFIG_SOC_SERIES_GD32E10X)
#if defined(CONFIG_SOC_SERIES_GD32A50X)
#include <gd32a50x_i2c.h>
#elif defined(CONFIG_SOC_SERIES_GD32E10X)
#include <gd32e10x_i2c.h>
#elif defined(CONFIG_SOC_SERIES_GD32E50X)
#include <gd32e50x_i2c.h>
Expand Down
9 changes: 9 additions & 0 deletions common_include/gd32_mfcom.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/*
* NOTE: Autogenerated file using gd32headers.py
*
* SPDX-License-Identifier: Apache-2.0
*/

#if defined(CONFIG_SOC_SERIES_GD32A50X)
#include <gd32a50x_mfcom.h>
#endif
4 changes: 3 additions & 1 deletion common_include/gd32_misc.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
* SPDX-License-Identifier: Apache-2.0
*/

#if defined(CONFIG_SOC_SERIES_GD32E10X)
#if defined(CONFIG_SOC_SERIES_GD32A50X)
#include <gd32a50x_misc.h>
#elif defined(CONFIG_SOC_SERIES_GD32E10X)
#include <gd32e10x_misc.h>
#elif defined(CONFIG_SOC_SERIES_GD32E50X)
#include <gd32e50x_misc.h>
Expand Down
4 changes: 3 additions & 1 deletion common_include/gd32_pmu.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
* SPDX-License-Identifier: Apache-2.0
*/

#if defined(CONFIG_SOC_SERIES_GD32E10X)
#if defined(CONFIG_SOC_SERIES_GD32A50X)
#include <gd32a50x_pmu.h>
#elif defined(CONFIG_SOC_SERIES_GD32E10X)
#include <gd32e10x_pmu.h>
#elif defined(CONFIG_SOC_SERIES_GD32E50X)
#include <gd32e50x_pmu.h>
Expand Down
4 changes: 3 additions & 1 deletion common_include/gd32_rcu.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
* SPDX-License-Identifier: Apache-2.0
*/

#if defined(CONFIG_SOC_SERIES_GD32E10X)
#if defined(CONFIG_SOC_SERIES_GD32A50X)
#include <gd32a50x_rcu.h>
#elif defined(CONFIG_SOC_SERIES_GD32E10X)
#include <gd32e10x_rcu.h>
#elif defined(CONFIG_SOC_SERIES_GD32E50X)
#include <gd32e50x_rcu.h>
Expand Down
4 changes: 3 additions & 1 deletion common_include/gd32_rtc.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
* SPDX-License-Identifier: Apache-2.0
*/

#if defined(CONFIG_SOC_SERIES_GD32E10X)
#if defined(CONFIG_SOC_SERIES_GD32A50X)
#include <gd32a50x_rtc.h>
#elif defined(CONFIG_SOC_SERIES_GD32E10X)
#include <gd32e10x_rtc.h>
#elif defined(CONFIG_SOC_SERIES_GD32E50X)
#include <gd32e50x_rtc.h>
Expand Down
4 changes: 3 additions & 1 deletion common_include/gd32_spi.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
* SPDX-License-Identifier: Apache-2.0
*/

#if defined(CONFIG_SOC_SERIES_GD32E10X)
#if defined(CONFIG_SOC_SERIES_GD32A50X)
#include <gd32a50x_spi.h>
#elif defined(CONFIG_SOC_SERIES_GD32E10X)
#include <gd32e10x_spi.h>
#elif defined(CONFIG_SOC_SERIES_GD32E50X)
#include <gd32e50x_spi.h>
Expand Down
4 changes: 3 additions & 1 deletion common_include/gd32_syscfg.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
* SPDX-License-Identifier: Apache-2.0
*/

#if defined(CONFIG_SOC_SERIES_GD32F3X0)
#if defined(CONFIG_SOC_SERIES_GD32A50X)
#include <gd32a50x_syscfg.h>
#elif defined(CONFIG_SOC_SERIES_GD32F3X0)
#include <gd32f3x0_syscfg.h>
#elif defined(CONFIG_SOC_SERIES_GD32F4XX)
#include <gd32f4xx_syscfg.h>
Expand Down
4 changes: 3 additions & 1 deletion common_include/gd32_timer.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
* SPDX-License-Identifier: Apache-2.0
*/

#if defined(CONFIG_SOC_SERIES_GD32E10X)
#if defined(CONFIG_SOC_SERIES_GD32A50X)
#include <gd32a50x_timer.h>
#elif defined(CONFIG_SOC_SERIES_GD32E10X)
#include <gd32e10x_timer.h>
#elif defined(CONFIG_SOC_SERIES_GD32E50X)
#include <gd32e50x_timer.h>
Expand Down
9 changes: 9 additions & 0 deletions common_include/gd32_trigsel.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/*
* NOTE: Autogenerated file using gd32headers.py
*
* SPDX-License-Identifier: Apache-2.0
*/

#if defined(CONFIG_SOC_SERIES_GD32A50X)
#include <gd32a50x_trigsel.h>
#endif
4 changes: 3 additions & 1 deletion common_include/gd32_usart.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
* SPDX-License-Identifier: Apache-2.0
*/

#if defined(CONFIG_SOC_SERIES_GD32E10X)
#if defined(CONFIG_SOC_SERIES_GD32A50X)
#include <gd32a50x_usart.h>
#elif defined(CONFIG_SOC_SERIES_GD32E10X)
#include <gd32e10x_usart.h>
#elif defined(CONFIG_SOC_SERIES_GD32E50X)
#include <gd32e50x_usart.h>
Expand Down
4 changes: 3 additions & 1 deletion common_include/gd32_wwdgt.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
* SPDX-License-Identifier: Apache-2.0
*/

#if defined(CONFIG_SOC_SERIES_GD32E10X)
#if defined(CONFIG_SOC_SERIES_GD32A50X)
#include <gd32a50x_wwdgt.h>
#elif defined(CONFIG_SOC_SERIES_GD32E10X)
#include <gd32e10x_wwdgt.h>
#elif defined(CONFIG_SOC_SERIES_GD32E50X)
#include <gd32e50x_wwdgt.h>
Expand Down
Loading