Expand the current systick compatibility to include the CH32V00x series. Change the HAL compatibility to include all of the CH32V family. Signed-off-by: Michael Hope <michaelh@juju.nz>
25 lines
402 B
C
25 lines
402 B
C
/*
|
|
* 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 <ch32v003fun.h>
|
|
#endif
|
|
|
|
#if defined(CONFIG_SOC_SERIES_CH32V00X)
|
|
#define CH32V003 1
|
|
#include <ch32v003fun.h>
|
|
#endif
|
|
|
|
#if defined(CONFIG_SOC_SERIES_QINGKE_V4C)
|
|
#define CH32V20x 1
|
|
#include <ch32v003fun.h>
|
|
#endif
|
|
|
|
#endif
|