Browse Source
This is used for WCH chips including the CH32V003. Signed-off-by: Dhiru Kholia <dhiru.kholia@gmail.com>pull/82071/head
6 changed files with 50 additions and 0 deletions
@ -0,0 +1,3 @@
@@ -0,0 +1,3 @@
|
||||
if(CONFIG_SOC_SERIES_CH32V00X) |
||||
zephyr_include_directories(${ZEPHYR_HAL_WCH_MODULE_DIR}/ch32v003fun .) |
||||
endif() |
@ -0,0 +1,7 @@
@@ -0,0 +1,7 @@
|
||||
# |
||||
# Copyright (c) 2024 Dhiru Kholia |
||||
# |
||||
# SPDX-License-Identifier: Apache-2.0 |
||||
# |
||||
|
||||
# file is empty and kept as a place holder if/when Kconfig is needed |
@ -0,0 +1,15 @@
@@ -0,0 +1,15 @@
|
||||
/*
|
||||
* 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 |
||||
|
||||
#endif |
@ -0,0 +1,12 @@
@@ -0,0 +1,12 @@
|
||||
/*
|
||||
* Copyright (c) 2024 Dhiru Kholia |
||||
* |
||||
* SPDX-License-Identifier: Apache-2.0 |
||||
*/ |
||||
|
||||
#ifndef _FUNCONFIG_H |
||||
#define _FUNCONFIG_H |
||||
|
||||
/* Note: The hal_wch expects a 'funconfig.h' file to be present */ |
||||
|
||||
#endif |
Loading…
Reference in new issue