[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] stdio is only partially functional
From: |
Volkmar Dierkes |
Subject: |
Re: [avr-gcc-list] stdio is only partially functional |
Date: |
Mon, 17 Mar 2003 11:45:59 +0100 |
Sander,
"Sander Pool" <address@hidden> schrieb am 17.03.03 09:30:37:
> fprintf_P(stdout, "fprintf_P\n");
> fputs_P("fputs_P\n", stdout);
Joerg told you already the missing PSTR() for the strings.
> I get:
>
> fS??.?d??'TA0"Q "P?a?"T?.?{??S.?lS??.?h??Y'?'?'/'????.''?'$/
> "?"O"
> _"o"?"Y" '^f "P?a?"T?.?{??S.?lS??.?h??Y'?'?'/'????.''?'$/"?"O"_"o
> "?"Y
> " '^XY
Did you setup the terminal with the same parameters like the mega128 (stopbits
and so on?)
> int RL_tryout(char c)
> {
> if (c == '\n') {
> // first output a carriage return
> RL_tryout('\r');
> }
> loop_until_bit_is_set(UCSR1A, UDRE);
> UDR1 = c;
Here is a "return 0;" missing. But I assume it doesn't matter for your problem.
Volkmar
____________________________________________________________________________
Gönnen Sie sich eine Abwechslung vom Wintergrau mit den aktuellen
Angeboten von Lufthansa http://img.web.de/lh/lhspecial.html
- Re: [avr-gcc-list] stdio is only partially functional,
Volkmar Dierkes <=