diff options
author | Joel Challis <git@zvecr.com> | 2023-08-21 22:47:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-21 22:47:46 +0100 |
commit | 3f192722b1629e4a4b6fe171d7efc21c3a0d3187 (patch) | |
tree | 057fff9093ae137c7e804b0d59e862dbce1a532d /keyboards/drop/shift/v2/mcuconf.h | |
parent | f422b3cc9864f332ee33740d033a9a70068369ee (diff) |
Initial support for SHIFT v2 (#21756)
Diffstat (limited to 'keyboards/drop/shift/v2/mcuconf.h')
-rw-r--r-- | keyboards/drop/shift/v2/mcuconf.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/keyboards/drop/shift/v2/mcuconf.h b/keyboards/drop/shift/v2/mcuconf.h new file mode 100644 index 0000000000..dc3e45dac0 --- /dev/null +++ b/keyboards/drop/shift/v2/mcuconf.h @@ -0,0 +1,20 @@ +// 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_ADC_USE_ADC2 +#define STM32_ADC_USE_ADC2 TRUE + +#undef STM32_ADC_USE_ADC3 +#define STM32_ADC_USE_ADC3 TRUE + +#undef STM32_I2C_USE_I2C2 +#define STM32_I2C_USE_I2C2 TRUE |