minilogic / f1c_nonos

Bare metal code examples for Allwinner's F1C100S (F1C200S) SOC
68 stars 24 forks source link

UART output via printf does not work #2

Closed AlexAldoshin closed 9 months ago

AlexAldoshin commented 9 months ago

UART output via printf does not work

Perhaps additional project settings are needed?

minilogic commented 9 months ago

Thish project uses UART0 on the PE0(UART0_RX) and PE1(UART0_TX) pins. Initialization is done in boot.c

AlexAldoshin commented 9 months ago

В этом проекте используется UART0 на выводах PE0(UART0_RX) и PE1(UART0_TX). Инициализация выполняется в boot.c

Thank you! I have a Lctech Pi F1C200s development board. In it, the UART USB converter is connected to UART1. Direct connection to UART0 solved the problem.