summaryrefslogtreecommitdiff
path: root/keyboards/drop/cstm65/mcuconf.h
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2023-12-04 03:07:14 +0000
committerGitHub <noreply@github.com>2023-12-04 03:07:14 +0000
commit131811b3d7361c63d0166225b7c6b730f26f4d08 (patch)
tree316fbcacf11560b9bff096d3961ebb700a46c0cc /keyboards/drop/cstm65/mcuconf.h
parentc1b385ce0f96715b9ef030550ce277bca154803e (diff)
Initial support for CSTM65 (#22513)
Diffstat (limited to 'keyboards/drop/cstm65/mcuconf.h')
-rw-r--r--keyboards/drop/cstm65/mcuconf.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/keyboards/drop/cstm65/mcuconf.h b/keyboards/drop/cstm65/mcuconf.h
new file mode 100644
index 0000000000..819aa70bf7
--- /dev/null
+++ b/keyboards/drop/cstm65/mcuconf.h
@@ -0,0 +1,14 @@
+// Copyright 2023 Massdrop, Inc.
+// SPDX-License-Identifier: GPL-2.0-or-later
+#pragma once
+
+#include_next <mcuconf.h>
+
+#undef STM32_PLLM_VALUE
+#define STM32_PLLM_VALUE 16
+
+#undef STM32_PREDIV_VALUE
+#define STM32_PREDIV_VALUE 2
+
+#undef STM32_I2C_USE_I2C1
+#define STM32_I2C_USE_I2C1 TRUE