Added analog support for WB32 MCU. (#18289)

Co-authored-by: Joy <chang.li@westberrytech.com>
This commit is contained in:
Joy Lee
2022-11-01 12:04:15 +08:00
committed by GitHub
parent ae5f818d5a
commit 9435ad19ee
11 changed files with 126 additions and 12 deletions

View File

@@ -0,0 +1,17 @@
// Copyright 2022 QMK
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include_next "mcuconf.h"
#undef WB32_ADC_USE_ADC1
#define WB32_ADC_USE_ADC1 TRUE
#undef WB32_DMA_REQUIRED
#define WB32_DMA_REQUIRED TRUE
#undef WB32_I2C_USE_I2C1
#define WB32_I2C_USE_I2C1 TRUE
#undef WB32_PWM_USE_TIM4
#define WB32_PWM_USE_TIM4 TRUE