summaryrefslogtreecommitdiff
path: root/keyboards/kprepublic/bm16a/v2/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/kprepublic/bm16a/v2/config.h')
-rw-r--r--keyboards/kprepublic/bm16a/v2/config.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/keyboards/kprepublic/bm16a/v2/config.h b/keyboards/kprepublic/bm16a/v2/config.h
new file mode 100644
index 0000000000..f4ac9e7a3b
--- /dev/null
+++ b/keyboards/kprepublic/bm16a/v2/config.h
@@ -0,0 +1,12 @@
+// Copyright 2022 fauxpark (@fauxpark)
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#define RGB_DI_PIN B9
+#define RGB_MATRIX_LED_COUNT 16
+
+#define WS2812_PWM_DRIVER PWMD4
+#define WS2812_PWM_CHANNEL 4
+#define WS2812_DMA_STREAM STM32_DMA1_STREAM7
+#define WS2812_DMA_CHANNEL 7