[En-Nut-Discussion] Problems with uart

Harald Kipp harald.kipp at egnite.de
Wed Jun 16 10:59:37 CEST 2004


>   static u_char  bufr[4096];   // THIS IS THE PROBLEM

If used as a local variable, this is taken
from stack. Again, I strongly recommend to
read
http://www.ethernut.de/pdf/enmem100.pdf

It's a bit outdated, but still worth reading.

malloc() is defined in stdlib.h, which is part
of avr-libc or the ImageCraft Compiler.

Harald





More information about the En-Nut-Discussion mailing list