Skip to content

Commit 1d91c4a

Browse files
VynDragondkalowsk
authored andcommitted
modules: hal_wch: fix conditional compilation
adds _D8W for CH32V208 Signed-off-by: Camille BAUD <[email protected]>
1 parent 2c851d9 commit 1d91c4a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

modules/hal_wch/hal_ch32fun.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323
#endif
2424

2525
#if defined(CONFIG_SOC_SERIES_QINGKE_V4C)
26+
#if defined(CONFIG_SOC_CH32V208)
27+
#define CH32V20x_D8W 1
28+
#endif
2629
#define CH32V20x 1
2730
#include <ch32fun.h>
2831
#endif

0 commit comments

Comments
 (0)