summaryrefslogtreecommitdiff
path: root/keyboards/bestway/config.h
diff options
context:
space:
mode:
authoryuezp <49514776+LXF-YZP@users.noreply.github.com>2023-12-01 18:07:28 +0800
committerGitHub <noreply@github.com>2023-12-01 02:07:28 -0800
commit5368ddbf3d8de1059dc863f11b07831adca714c8 (patch)
tree2cfabaa9ad7e6f747da0aa7a7a0bf200286179d1 /keyboards/bestway/config.h
parent67559c7d065e02d7d3c15c1d5bbe17921864b1a3 (diff)
add keyboard bestway (#22498)
Co-authored-by: “yuezp” <“yuezpchn@126.com”>
Diffstat (limited to 'keyboards/bestway/config.h')
-rw-r--r--keyboards/bestway/config.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/keyboards/bestway/config.h b/keyboards/bestway/config.h
new file mode 100644
index 0000000000..c63a25d9a6
--- /dev/null
+++ b/keyboards/bestway/config.h
@@ -0,0 +1,22 @@
+/* Copyright 2022 LXF-YZP(yuezp)
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#pragma once
+
+#define WS2812_PWM_DRIVER PWMD2
+#define WS2812_PWM_CHANNEL 4
+#define WS2812_DMA_STREAM STM32_DMA1_STREAM2
+#define WS2812_DMA_CHANNEL 2