1
0
Fork 0

Initial support for CTRL v2 (#21755)

This commit is contained in:
Joel Challis 2023-08-21 22:47:29 +01:00 committed by GitHub
parent f9aba8660a
commit f422b3cc98
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 566 additions and 0 deletions

View file

@ -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