diff options
author | Nick Brassel <nick@tzarc.org> | 2022-06-20 14:20:56 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-20 14:20:56 +1000 |
commit | aa06893b58ac3ed88e796968d237f60f4c156875 (patch) | |
tree | ad4b3a637b7bba88de772dd50150262d2992603e /keyboards/tzarc/djinn/mcuconf.h | |
parent | ad2e85361128a2252798a7bb4c1cbc0bcd58e8ab (diff) |
Add Djinn. (#17382)
* Add Djinn.
* Review comments.
* Further cleanup.
Diffstat (limited to 'keyboards/tzarc/djinn/mcuconf.h')
-rw-r--r-- | keyboards/tzarc/djinn/mcuconf.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/keyboards/tzarc/djinn/mcuconf.h b/keyboards/tzarc/djinn/mcuconf.h new file mode 100644 index 0000000000..f3a7fbfb16 --- /dev/null +++ b/keyboards/tzarc/djinn/mcuconf.h @@ -0,0 +1,30 @@ +// Copyright 2018-2022 Nick Brassel (@tzarc) +// SPDX-License-Identifier: GPL-2.0-or-later +#pragma once +#include_next <mcuconf.h> + +// Used for audio +#undef STM32_PWM_USE_TIM1 +#undef STM32_GPT_USE_TIM6 +#undef STM32_GPT_USE_TIM7 +#undef STM32_GPT_USE_TIM8 +#define STM32_PWM_USE_TIM1 TRUE +#define STM32_GPT_USE_TIM6 TRUE +#define STM32_GPT_USE_TIM7 TRUE +#define STM32_GPT_USE_TIM8 TRUE + +// Used for backlight +#undef STM32_PWM_USE_TIM17 +#define STM32_PWM_USE_TIM17 TRUE + +// Used for SK6812 chain +#undef STM32_PWM_USE_TIM20 +#define STM32_PWM_USE_TIM20 TRUE + +// Used for split comms +#undef STM32_SERIAL_USE_USART3 +#define STM32_SERIAL_USE_USART3 TRUE + +// Used for EEPROM/LCD +#undef STM32_SPI_USE_SPI3 +#define STM32_SPI_USE_SPI3 TRUE |