[En-Nut-Discussion] CR + LF or LF + CR

Andre Riesberg andre at riesberg-net.de
Sun Sep 6 07:25:01 CEST 2009


Ulrich Prinz wrote:

>Hi!
>
>Can you specify which platform you're using? There are quite some debug 
>modules...
>
>Thanks and kind regards
>Ulrich
>
>Andre Riesberg schrieb:
>  
>
>>Hi all,
>>
>>I use the debug output via serial interface. In the output every LF will 
>>be replaced by LF CR.
>>This surprised me a little bit, many other system (I know) use CR LF.
>>
>>I know this is really an unimportant detail but my favorite terminal 
>>program can suppress CR LF but not LF CR on the screen.
>>
>>Greetings
>>Andre
>>
>>PS: I forward this mail to the developer of HTerm. Maybe in the next 
>>version he can also suppress LF CR :-)
>>
>>_______________________________________________
>>http://lists.egnite.de/mailman/listinfo/en-nut-discussion
>>    
>>
>_______________________________________________
>http://lists.egnite.de/mailman/listinfo/en-nut-discussion
>
>
>  
>
Hi Ulich,

I use the AVR debug modules.
 
I make a simple search for '\r' in all *.c files from nut os and took a 
short look inside. Here are the file I found:

arch\arm\dev\debug_at91.c
arch\arm\dev\debug_lpc2xxx.
arch\avr\dev\debug0.c
arch\avr\dev\debug1.c
arch\h8300h\dev\scih8dbg.c
arch\h8300h\dev\uart_s3c4510b_dbg.c
boot\bootmon\dialog.c

Greetings
Andre






More information about the En-Nut-Discussion mailing list