summaryrefslogtreecommitdiff
path: root/keyboards/tzarc/ghoul/rev1/stm32/mcuconf.h
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2022-10-03 07:24:22 +1100
committerGitHub <noreply@github.com>2022-10-03 07:24:22 +1100
commit9ecd6eb9b9ddf487ced76bf0b5114674cf61432b (patch)
tree3dec8ebc6f6af5995e8b3a59cedb212cf6c94871 /keyboards/tzarc/ghoul/rev1/stm32/mcuconf.h
parent2b3f6d0ec6bf504b0b5794bd4f1f3ed7e792a221 (diff)
Add `tzarc/ghoul`. (#18562)
Co-authored-by: Joel Challis <git@zvecr.com> Co-authored-by: Drashna Jaelre <drashna@live.com>
Diffstat (limited to 'keyboards/tzarc/ghoul/rev1/stm32/mcuconf.h')
-rw-r--r--keyboards/tzarc/ghoul/rev1/stm32/mcuconf.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/keyboards/tzarc/ghoul/rev1/stm32/mcuconf.h b/keyboards/tzarc/ghoul/rev1/stm32/mcuconf.h
new file mode 100644
index 0000000000..fe307993c7
--- /dev/null
+++ b/keyboards/tzarc/ghoul/rev1/stm32/mcuconf.h
@@ -0,0 +1,17 @@
+// Copyright 2018-2022 Nick Brassel (@tzarc)
+// SPDX-License-Identifier: GPL-3.0-or-later
+#pragma once
+
+#include_next <mcuconf.h>
+
+// Used for RGB
+#undef STM32_ADC_USE_ADC1
+#define STM32_ADC_USE_ADC1 TRUE
+
+// Used for EEPROM
+#undef STM32_SPI_USE_SPI1
+#define STM32_SPI_USE_SPI1 TRUE
+
+// Used for RGB
+#undef STM32_PWM_USE_TIM3
+#define STM32_PWM_USE_TIM3 TRUE