aboutsummaryrefslogtreecommitdiff
path: root/keyboards/handwired/onekey/weact_g0b1cb/mcuconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/handwired/onekey/weact_g0b1cb/mcuconf.h')
-rw-r--r--keyboards/handwired/onekey/weact_g0b1cb/mcuconf.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/keyboards/handwired/onekey/weact_g0b1cb/mcuconf.h b/keyboards/handwired/onekey/weact_g0b1cb/mcuconf.h
new file mode 100644
index 0000000000..50f2bcf627
--- /dev/null
+++ b/keyboards/handwired/onekey/weact_g0b1cb/mcuconf.h
@@ -0,0 +1,18 @@
+// Copyright 2025 Stefan Kerkmann (@karlk90)
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include_next <mcuconf.h>
+
+#undef STM32_ADC_USE_ADC1
+#define STM32_ADC_USE_ADC1 TRUE
+
+#undef STM32_PWM_USE_TIM3
+#define STM32_PWM_USE_TIM3 TRUE
+
+#undef STM32_I2C_USE_I2C1
+#define STM32_I2C_USE_I2C1 TRUE
+
+#undef STM32_SPI_USE_SPI2
+#define STM32_SPI_USE_SPI2 TRUE