summaryrefslogtreecommitdiffstats
path: root/keyboards/handwired/onekey/evb_wb32f3g71/halconf.h
diff options
context:
space:
mode:
authorJoy Lee <joylee.lc@foxmail.com>2022-11-01 12:04:15 +0800
committerGitHub <noreply@github.com>2022-11-01 15:04:15 +1100
commit9435ad19eedba9e56fa6a33989bc5c788f080e54 (patch)
tree37585fa014ae64224602d32eefe2a9407a8f7b2a /keyboards/handwired/onekey/evb_wb32f3g71/halconf.h
parentae5f818d5a1efa321ffc0c6e659fa8fb47e79a01 (diff)
Added analog support for WB32 MCU. (#18289)
Co-authored-by: Joy <chang.li@westberrytech.com>
Diffstat (limited to 'keyboards/handwired/onekey/evb_wb32f3g71/halconf.h')
-rw-r--r--keyboards/handwired/onekey/evb_wb32f3g71/halconf.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/keyboards/handwired/onekey/evb_wb32f3g71/halconf.h b/keyboards/handwired/onekey/evb_wb32f3g71/halconf.h
new file mode 100644
index 0000000000..f0cf0a179f
--- /dev/null
+++ b/keyboards/handwired/onekey/evb_wb32f3g71/halconf.h
@@ -0,0 +1,11 @@
+// Copyright 2022 QMK
+// SPDX-License-Identifier: GPL-2.0-or-later
+#pragma once
+
+#define HAL_USE_ADC TRUE
+
+#define HAL_USE_I2C TRUE
+
+#define HAL_USE_PWM TRUE
+
+#include_next <halconf.h>