simple question

can we switch off this \r 'future'?
if we use
Code: Select all
os_printf("hello world\n");
the output is
- hello world\r\n
btw:
this is bad, if we do communicate with linux terminal and want generate *.sh files from the output example
same if we use a structured output
Code: Select all
os_printf("ADC Value: ");
os_printf("%d", system_adc_read() );
we get
- ADC Value: \r\n
1024\r\n
thanks
best wishes
rudi

btw:
i know, we can use os_sprintf too
and we can use
Code: Select all
uart0_tx_buffer("done",4);
uart0_sendStr("hello sendStr world");
but i ask for os_printf.
can we change this back to normal - without auto \r // auto \r\n ?
can we edit the #define?