It depends on the platform and application (and also versions of nesc and avr-gcc). Here are some sample points: Blink, a very small application that doesn't use the radio; CntToLedsAndRfm, a very small application that uses the radio; and PEGSensor, a large application.

    compiled Blink to build/mica2/main.exe
            1428 bytes in ROM
              44 bytes in RAM

    compiled CntToLedsAndRfm to build/mica2/main.exe
            9580 bytes in ROM
             400 bytes in RAM

    compiled PEGSensorC to build/mica2dot/main.exe
           44850 bytes in ROM
            1931 bytes in RAM

These values are reported at the end of each build. ROM is code size (bytes in the TEXT and DATA segments), RAM is data size (bytes in BSS segment). Note that the reported RAM usage does not include stack usage, which varies per application.

Cory

Krishnamurthy, Gita wrote:

Can anyone tell me the partitioning of code size and data size in Tinyos? What is the actual size of tinyos?


_______________________________________________
Tinyos-users mailing list
[EMAIL PROTECTED]
http://mail.Millennium.Berkeley.EDU/mailman/listinfo/tinyos-users

Reply via email to