diff options
author | Joel Challis <git@zvecr.com> | 2023-08-21 22:46:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-21 22:46:12 +0100 |
commit | f9aba8660a86f9af2ac9e809da63e2f104b03d34 (patch) | |
tree | d8fdbe216e6d81e32fce2107b97947c3d938d377 /keyboards/drop/alt/v2/mcuconf.h | |
parent | 11970b1a52c00526ddd198e54137302b9e52bd70 (diff) |
Initial support for ALT v2 (#21754)
Diffstat (limited to 'keyboards/drop/alt/v2/mcuconf.h')
-rw-r--r-- | keyboards/drop/alt/v2/mcuconf.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/keyboards/drop/alt/v2/mcuconf.h b/keyboards/drop/alt/v2/mcuconf.h new file mode 100644 index 0000000000..dc3e45dac0 --- /dev/null +++ b/keyboards/drop/alt/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 |