-->
Page 1 of 1

Where are all those ets_... functions coming from?

PostPosted: Sat Nov 07, 2015 5:07 am
by Gary B
Hi.. I just started with the ESP8266 and it seems to be quite hard to get an approbate overview about the sdk.
Programming a little terminal for my experiments I faced the issue of print outs of the sdk on the UART0.
system_set_os_print(0) seems to switch off not just the print-outs of the SDK but the entire funktion os_printf :(
After some research I found the function ets_uart_printf() - I replaced os_printf and it works...

So now I am wondering where this function comes from since there seem to be a lot more of ets-functions.
How are they related to the "SDK-functions" what is the difference?... I already found that you can assign a output-function to os_printf using os_install_putc1((void *)uart1_write_char)...
So are these functions an underling HAL? Where are they described?

thx a lot,
Gary