Vielen Dank sternst!!!

Thema ist damit gelöst.

Ich habe mit dem kleinen Program avrstackview und meiner .elf Datei den Stack-Verbrauch berechnen lassen. Hier das Ergebnis:

Analysis complete: 0 errors, 0 warnings
flash usage (words): 2118
global RAM usage (bytes): 1096
maximum func. subroutine levels: 6
maximum func. stack (bytes): 554
maximum int. subroutine levels: 1
maximum int. stack (bytes): 9
nested interrupts: 0
maximum nest. int. stack (bytes): 0
maximum total stack (bytes): 563
maximum total subroutine levels: 7
maximum total RAM usage (bytes): 1659

Ich benutze also 1659 Bytes RAM und habe nur 1024.

Vielen, vielen Dank nochmal, das ist die Lösung meines Problems!!!