Added analog support for WB32 MCU. (#18289)
Co-authored-by: Joy <chang.li@westberrytech.com>
This commit is contained in:
17
keyboards/handwired/onekey/evb_wb32f3g71/mcuconf.h
Normal file
17
keyboards/handwired/onekey/evb_wb32f3g71/mcuconf.h
Normal 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
|
Reference in New Issue
Block a user