1 /*
2  * Copyright (c) 2024 Dhiru Kholia
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 #ifndef _CH32FUN_H
8 #define _CH32FUN_H
9 
10 #if defined(CONFIG_SOC_CH32V003)
11 #define CH32V003 1
12 #include <ch32fun.h>
13 #endif
14 
15 #if defined(CONFIG_SOC_SERIES_CH32V00X)
16 #define CH32V00x 1
17 #include <ch32fun.h>
18 #endif
19 
20 #if defined(CONFIG_SOC_SERIES_QINGKE_V4B)
21 #define CH32V20x 1
22 #include <ch32fun.h>
23 #endif
24 
25 #if defined(CONFIG_SOC_SERIES_QINGKE_V4C)
26 #if defined(CONFIG_SOC_CH32V208)
27 #define CH32V20x_D8W 1
28 #endif
29 #define CH32V20x 1
30 #include <ch32fun.h>
31 #endif
32 
33 #if defined(CONFIG_SOC_SERIES_QINGKE_V4F)
34 #define CH32V30x 1
35 #if defined(CONFIG_SOC_CH32V303)
36 #define CH32V30x_D8 1
37 #endif
38 
39 #include <ch32fun.h>
40 #endif
41 
42 #endif
43