summaryrefslogtreecommitdiffstats
path: root/keyboards/handwired/onekey/evb_wb32f3g71/mcuconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/handwired/onekey/evb_wb32f3g71/mcuconf.h')
-rw-r--r--keyboards/handwired/onekey/evb_wb32f3g71/mcuconf.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/keyboards/handwired/onekey/evb_wb32f3g71/mcuconf.h b/keyboards/handwired/onekey/evb_wb32f3g71/mcuconf.h
new file mode 100644
index 0000000000..7ef36ff66c
--- /dev/null
+++ b/keyboards/handwired/onekey/evb_wb32f3g71/mcuconf.h
@@ -0,0 +1,17 @@
+// Copyright 2022 QMK
+// SPDX-License-Identifier: GPL-2.0-or-later
+#pragma once
+
+#include_next "mcuconf.h"
+
+#undef WB32_ADC_USE_ADC1
+#define WB32_ADC_USE_ADC1 TRUE
+
+#undef WB32_DMA_REQUIRED
+#define WB32_DMA_REQUIRED TRUE
+
+#undef WB32_I2C_USE_I2C1
+#define WB32_I2C_USE_I2C1 TRUE
+
+#undef WB32_PWM_USE_TIM4
+#define WB32_PWM_USE_TIM4 TRUE