Browse Source

modules: hal_wch: fix conditional compilation

adds _D8W for CH32V208

Signed-off-by: Camille BAUD <mail@massdriver.space>
pull/91165/head
Camille BAUD 1 month ago committed by Dan Kalowsky
parent
commit
1d91c4aecb
  1. 3
      modules/hal_wch/hal_ch32fun.h

3
modules/hal_wch/hal_ch32fun.h

@ -23,6 +23,9 @@ @@ -23,6 +23,9 @@
#endif
#if defined(CONFIG_SOC_SERIES_QINGKE_V4C)
#if defined(CONFIG_SOC_CH32V208)
#define CH32V20x_D8W 1
#endif
#define CH32V20x 1
#include <ch32fun.h>
#endif

Loading…
Cancel
Save