Hi Juan, thanks for your answer.
> So you are saying that the data gets duploicated in ROM several > times? I did not know that. If that is the case, then it's > definitely a bad thing! Yes, at least for object files where they are used and cannot be optimized. The static storage type limits the scope of a variable to a particular file. If you define such a static variable wihtin a header file, it becomes a static variable definition with limited scope in each .c file that includes this header file. Each object file would have an own copy if this variable if it is used. Regards Gunar -- Dr. Gunar Schorcht Mission Level Design GmbH Langewiesener Strasse 22 98693 Ilmenau schor...@mldesigner.de Sitz der Gesellschaft: Lohmühlenweg 2 99310 Arnstadt Amtsgericht Jena: HRB 111384 Geschäftsführung: Dipl.-Inf. Tino Jungebloud -- Wenn du laufen willst, lauf eine Meile. Wenn du ein neues Leben kennenlernen willst, dann lauf Marathon. (Emil Zatopek)
signature.asc
Description: OpenPGP digital signature
_______________________________________________ devel mailing list devel@riot-os.org https://lists.riot-os.org/mailman/listinfo/devel