You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
696 B
42 lines
696 B
/* |
|
* Copyright (c) 2024 Dhiru Kholia |
|
* |
|
* SPDX-License-Identifier: Apache-2.0 |
|
*/ |
|
|
|
#ifndef _CH32FUN_H |
|
#define _CH32FUN_H |
|
|
|
#if defined(CONFIG_SOC_CH32V003) |
|
#define CH32V003 1 |
|
#include <ch32fun.h> |
|
#endif |
|
|
|
#if defined(CONFIG_SOC_SERIES_CH32V00X) |
|
#define CH32V00x 1 |
|
#include <ch32fun.h> |
|
#endif |
|
|
|
#if defined(CONFIG_SOC_SERIES_QINGKE_V4B) |
|
#define CH32V20x 1 |
|
#include <ch32fun.h> |
|
#endif |
|
|
|
#if defined(CONFIG_SOC_SERIES_QINGKE_V4C) |
|
#if defined(CONFIG_SOC_CH32V208) |
|
#define CH32V20x_D8W 1 |
|
#endif |
|
#define CH32V20x 1 |
|
#include <ch32fun.h> |
|
#endif |
|
|
|
#if defined(CONFIG_SOC_SERIES_QINGKE_V4F) |
|
#define CH32V30x 1 |
|
#if defined(CONFIG_SOC_CH32V303) |
|
#define CH32V30x_D8 1 |
|
#endif |
|
|
|
#include <ch32fun.h> |
|
#endif |
|
|
|
#endif
|
|
|