summaryrefslogtreecommitdiff
path: root/keyboards/handwired/onekey/rp2040/halconf.h
diff options
context:
space:
mode:
authorStefan Kerkmann <karlk90@pm.me>2022-10-04 23:10:24 +0200
committerGitHub <noreply@github.com>2022-10-04 23:10:24 +0200
commit996a9006d3f101dc5c48b58339e2e7323040fd59 (patch)
tree56bb76db42e23e3a1bc343ee7d35ee307e08a0a0 /keyboards/handwired/onekey/rp2040/halconf.h
parentb6ea8837e4c81f364d30bdc74bf2cdccb2a1a185 (diff)
[Core] PWM Backlight for RP2040 (#17706)
Diffstat (limited to 'keyboards/handwired/onekey/rp2040/halconf.h')
-rw-r--r--keyboards/handwired/onekey/rp2040/halconf.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/keyboards/handwired/onekey/rp2040/halconf.h b/keyboards/handwired/onekey/rp2040/halconf.h
new file mode 100644
index 0000000000..5890122e5e
--- /dev/null
+++ b/keyboards/handwired/onekey/rp2040/halconf.h
@@ -0,0 +1,9 @@
+// Copyright 2022 Stefan Kerkmann
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#define HAL_USE_I2C TRUE
+#define HAL_USE_PWM TRUE
+
+#include_next <halconf.h>