summaryrefslogtreecommitdiff
path: root/keyboards/meetlab/kalice/config.h
diff options
context:
space:
mode:
authoryuezp <49514776+LXF-YZP@users.noreply.github.com>2023-12-12 17:31:36 +0800
committerGitHub <noreply@github.com>2023-12-12 01:31:36 -0800
commit9c857728c6e9df2f72b3b7ab22b43e85fc06030d (patch)
tree5338d0001c77837b339a5c2e82af1a17f1999384 /keyboards/meetlab/kalice/config.h
parent1c68cd09b8c037ba8c45d541dccdd2c7b4490bd2 (diff)
[Keyboard] Add meetlab/kalice (#22207)
Co-authored-by: “yuezp” <“yuezpchn@126.com”>
Diffstat (limited to 'keyboards/meetlab/kalice/config.h')
-rw-r--r--keyboards/meetlab/kalice/config.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/keyboards/meetlab/kalice/config.h b/keyboards/meetlab/kalice/config.h
new file mode 100644
index 0000000000..80bae79fd8
--- /dev/null
+++ b/keyboards/meetlab/kalice/config.h
@@ -0,0 +1,23 @@
+/* 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 PWMD1
+#define WS2812_PWM_CHANNEL 2
+#define WS2812_PWM_COMPLEMENTARY_OUTPUT
+#define WS2812_DMA_STREAM STM32_DMA1_STREAM5
+#define WS2812_DMA_CHANNEL 5 \ No newline at end of file