[En-Nut-Discussion] Problems with uart

Harald Kipp harald.kipp at egnite.de
Mon Jun 14 10:11:57 CEST 2004


Hi Thorsten,

your code looks fine and there are no special
upgrade requirements I can think of. Unfortunately
you didn't mention any version numbers.

If you are using ICCAVR, please check
http://www.ethernut.de/en/iccavr/index.html
for correct compiler settings.


>int main(void)
>{
>  char i;
>  char line[200];

Although this will work, you should avoid large
local variables. Better use

line = malloc(200);

See
http://www.ethernut.de/pdf/enmem100.pdf

Harald




More information about the En-Nut-Discussion mailing list