qmk / qmk_firmware

Open-source keyboard firmware for Atmel AVR and Arm USB families
https://qmk.fm
GNU General Public License v2.0
17.47k stars 37.7k forks source link

how to use two uart in qmk? #23956

Closed cckuzan closed 2 weeks ago

cckuzan commented 2 weeks ago

Issue Description

I need two uart to send data, my MCU is stm32f103。 Now I can only use uart1 to send data through the uart_write() function。 thanks!

fauxpark commented 2 weeks ago

Currently not possible with the UART API. You can probably still use the underlying ChibiOS API though, but that will require a bit more code.

cckuzan commented 2 weeks ago

ok. thanks.