i am trying to use UART1 for debugging.
This is what i have done so far:
- Connected FTDI RX pin to ESP8266 GPIO2
- user_init():
uart_init(BIT_RATE_115200, BIT_RATE_115200);
os_install_putc1((void *)uart1_write_char);
PIN_FUNC_SELECT(PERIPHS_IO_MUX_GPIO2, FUNC_U1TXD_BK);
os_printf("Hello");
I did point uart1_write_char to the same function in your uart.c file.
Is this correct? Or should i implement it by myself?
My problem is that there is no data at all received by my terminal program in Ubuntu.
What am i doing wrong?
Best regards,
potter68Statistics: Posted by potter68 — Wed Oct 11, 2017 10:48 pm
]]>