[En-Nut-Discussion] Need Tools to measure Rom and memory Usage
Harald Kipp
harald.kipp at egnite.de
Sun Jun 20 21:52:50 CEST 2004
At 14:59 18.06.2004 +0100, you wrote:
>After a few week working on Nut/Os, i still no idea how to measure memory
>and rom usage and how much it left.
There are three _basic_ types of memory (actually
there are more):
1. Code space
2. Data space used by variables
3. Data space used for heap memory
1 + 2 can be found in the linker's map file.
bss_end marks the end of RAM used by program
variables. The rest is allocated by the heap
manager and NutHeapAvailable() returns the
number of bytes available.
Harald
More information about the En-Nut-Discussion
mailing list