mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-29 21:08:38 +06:00
61fa6949fb
* onekey: stm32f3_disco: add usart pins and activate peripheral Signed-off-by: Stefan Kerkmann <karlk90@pm.me> * chibios: uart: change SD1 prefix to UART Signed-off-by: Stefan Kerkmann <karlk90@pm.me> * chibios: uart: add SIO driver and RP2040 compatibility Signed-off-by: Stefan Kerkmann <karlk90@pm.me> Co-authored-by: Sergey Vlasov <sigprof@gmail.com> * Update platforms/chibios/drivers/uart.h Co-authored-by: Joel Challis <git@zvecr.com> --------- Signed-off-by: Stefan Kerkmann <karlk90@pm.me> Co-authored-by: Sergey Vlasov <sigprof@gmail.com> Co-authored-by: Joel Challis <git@zvecr.com>
16 lines
311 B
C
16 lines
311 B
C
// Copyright 2023 Stefan Kerkmann
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include_next <mcuconf.h>
|
|
|
|
#undef STM32_ADC_USE_ADC1
|
|
#define STM32_ADC_USE_ADC1 TRUE
|
|
|
|
#undef STM32_SIO_USE_USART1
|
|
#define STM32_SIO_USE_USART1 TRUE
|
|
|
|
#undef STM32_SERIAL_USE_USART1
|
|
#define STM32_SERIAL_USE_USART1 TRUE
|