summaryrefslogtreecommitdiff
path: root/keyboards/handwired/dygma/raise/mcuconf.h
diff options
context:
space:
mode:
authorIslam Sharabash <islam.sharabash@gmail.com>2022-01-09 11:57:08 -0800
committerGitHub <noreply@github.com>2022-01-09 11:57:08 -0800
commitec78acae690ae8b6122132b810ce663604cd8b9b (patch)
treeee3b1a8621aede9326912b123ebc8bb78bea9ce9 /keyboards/handwired/dygma/raise/mcuconf.h
parent8e17f9911d267a86777cf3e814710ac35e673c62 (diff)
[Keyboard] Adding Dygma Raise (#13543)
Co-authored-by: Joel Challis <git@zvecr.com> Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Drashna Jaelre <drashna@live.com>
Diffstat (limited to 'keyboards/handwired/dygma/raise/mcuconf.h')
-rw-r--r--keyboards/handwired/dygma/raise/mcuconf.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/keyboards/handwired/dygma/raise/mcuconf.h b/keyboards/handwired/dygma/raise/mcuconf.h
new file mode 100644
index 0000000000..fba1cace28
--- /dev/null
+++ b/keyboards/handwired/dygma/raise/mcuconf.h
@@ -0,0 +1,25 @@
+/* Copyright 2021 Islam Sharabash
+ *
+ * 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
+
+#include_next <mcuconf.h>
+
+#undef STM32_I2C_USE_I2C1
+#define STM32_I2C_USE_I2C1 TRUE
+
+#undef STM32_I2C_BUSY_TIMEOUT
+#define STM32_I2C_BUSY_TIMEOUT 5