[En-Nut-Discussion] NutTcpSend / NutTcpReceive

Harald Kipp harald.kipp at egnite.de
Wed Nov 23 17:26:21 CET 2005


Hello Joachim,

At 14:12 23.11.2005 +0100, you wrote:

>         uint8 answer[256] = { 0 };
>         u_char cmd[256];

This one costs 512 Bytes of stack.


>         uint8 answer[256] = { 0 };
>         u_char cmd[256];

Same here. Better use malloc()/free() or global variables.

Harald




More information about the En-Nut-Discussion mailing list