aboutsummaryrefslogtreecommitdiff
path: root/keyboards/keebio/bdn9/rev3/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/keebio/bdn9/rev3/config.h')
-rw-r--r--keyboards/keebio/bdn9/rev3/config.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/keyboards/keebio/bdn9/rev3/config.h b/keyboards/keebio/bdn9/rev3/config.h
new file mode 100644
index 0000000000..3afa37bce1
--- /dev/null
+++ b/keyboards/keebio/bdn9/rev3/config.h
@@ -0,0 +1,14 @@
+// Copyright 2025 Danny Nguyen (@nooges)
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+/* Defines for the RGB matrix */
+#ifdef RGB_MATRIX_ENABLE
+# define WS2812_PWM_DRIVER PWMD15
+# define WS2812_PWM_CHANNEL 2
+# define WS2812_PWM_PAL_MODE 1
+# define WS2812_DMA_STREAM STM32_DMA1_STREAM2
+# define WS2812_DMA_CHANNEL 2
+# define WS2812_DMAMUX_ID STM32_DMAMUX1_TIM15_UP
+#endif