qmk_firmware/keyboards/handwired/onekey/evb_wb32f3g71/mcuconf.h
Joy Lee 9435ad19ee
Added analog support for WB32 MCU. (#18289)
Co-authored-by: Joy <chang.li@westberrytech.com>
2022-11-01 15:04:15 +11:00

17 lines
335 B
C

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