summaryrefslogtreecommitdiff
path: root/keyboards/drop/cstm80/mcuconf.h
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2023-09-27 00:48:42 +0100
committerGitHub <noreply@github.com>2023-09-27 00:48:42 +0100
commit351b5cd2cd625e031ba88c95ef7c4dfec7a04d80 (patch)
tree9502eb118afafb159bb86e73d895529a1075357d /keyboards/drop/cstm80/mcuconf.h
parentca9664b1accaa8e1c0b9040eddbd49f2ef4e6f97 (diff)
Initial support for CSTM80 (#22137)
Diffstat (limited to 'keyboards/drop/cstm80/mcuconf.h')
-rw-r--r--keyboards/drop/cstm80/mcuconf.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/keyboards/drop/cstm80/mcuconf.h b/keyboards/drop/cstm80/mcuconf.h
new file mode 100644
index 0000000000..819aa70bf7
--- /dev/null
+++ b/keyboards/drop/cstm80/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