Hi,

 

I am using GCC compiler for MSP430 V4.4.3 to compiler my s/w.

 

After compilation and linking I get a map file but I am not sure how to
get the function size.

 

For example, in the attached map file if I want to know the size of
function "t_run_test" ,then how should I measure it?

 

Is it ok, if I just deduct the address of "t_run_test" from the address
of next function shown in the map file, to get the size of "t_run_test"?

 

Below is the compiler command line.

 

msp430-gcc -fdata-sections -Wl,--gc-sections -Wl,-Map=bitmnp01.map
-mmcu=msp430xG4619  -Os       -IGCC_MSP430 -I. -Ith_lite
-IGCC_MSP430/th_lite -Ibitmnp01 -I/c/mspgcc/msp430/include/sys/
-DITERATIONS=0 -DPERFORMANCE_RUN=1  bitmnp01/algotst.c
bitmnp01/bmark_lite.c GCC_MSP430/th_lite/thal.c th_lite/crc.c
th_lite/heap.c th_lite/thlib.c   -o./bitmnp01.elf

 

and below is the compiler version 

 

c:\MSPGCC4\bin>C:\MSPGCC4\bin\msp430-gcc.exe -v

Using built-in specs.

Target: msp430

Configured with:
e:/TEMP/MSPGCC4-SF/build/gcc-4.4.3-build/../gcc-4.4.3/configure

 --prefix=/c/msp430-gcc-4.4.3 --target=msp430 --enable-languages=c,c++
--enable-

win32-registry=MSP430-GCC-r4-20100210 --disable-nls
--with-pkgversion=MSPGCC4_r4

-20100210

Thread model: single

gcc version 4.4.3 (MSPGCC4_r4-20100210)

 

c:\MSPGCC4\bin>

 

Thank you,

Best Regards,

Manish

 

 

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
Mspgcc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to