modules: hal_wch: add CH32V203 support
Adds CH32V203 support Signed-off-by: Camille BAUD <mail@massdriver.space>
This commit is contained in:
parent
2013d6e129
commit
e4783692e4
2 changed files with 6 additions and 0 deletions
|
@ -69,6 +69,7 @@
|
|||
reg = <0x40010000 16>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
clocks = <&rcc CH32V20X_V30X_CLOCK_AFIO>;
|
||||
|
||||
gpioa: gpio@40010800 {
|
||||
compatible = "wch,gpio";
|
||||
|
|
|
@ -17,6 +17,11 @@
|
|||
#include <ch32v003fun.h>
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_SOC_SERIES_QINGKE_V4B)
|
||||
#define CH32V20x 1
|
||||
#include <ch32v003fun.h>
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_SOC_SERIES_QINGKE_V4C)
|
||||
#define CH32V20x 1
|
||||
#include <ch32v003fun.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue