soc: Introduce Qingke V4C-based CH32V208 SoC

This introduces the only CH32 Serie Qingke V4C SoC, CH32V208

Signed-off-by: Camille BAUD <mail@massdriver.space>
This commit is contained in:
Camille BAUD 2025-02-22 15:41:41 +01:00 committed by Benjamin Cabé
commit f67b321607
19 changed files with 445 additions and 1 deletions

View file

@ -1,3 +1,3 @@
if(CONFIG_SOC_CH32V003)
if(CONFIG_SOC_CH32V003 OR CONFIG_SOC_SERIES_QINGKE_V4C)
zephyr_include_directories(${ZEPHYR_HAL_WCH_MODULE_DIR}/ch32v003fun .)
endif()

View file

@ -12,4 +12,9 @@
#include <ch32v003fun.h>
#endif
#if defined(CONFIG_SOC_SERIES_QINGKE_V4C)
#define CH32V20x 1
#include <ch32v003fun.h>
#endif
#endif