Hello
I am using Code composer studio on TMS570LS20216 USB kit.
Please let me know what is the option to have the static functions visible in the map files.
Thanks and Best Regards,
Renjith George
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello
I am using Code composer studio on TMS570LS20216 USB kit.
Please let me know what is the option to have the static functions visible in the map files.
Thanks and Best Regards,
Renjith George
Hi Renjith,
Refer to earlier forum post Re: Static variable inclusion in .MAP file.
Essentially, an enhancement request has been raised, tracking number SDSCM00041279.
Regards, Tony.
Dear Tony,
I tried with the following option
Compiler:
-mv7R4 -g --keep_unneeded_statics --include_path="C:/Program Files/Texas Instruments/ccsv4/tools/compiler/TMS470 Code Generation Tools 4.6.6/include" --diag_warning=225 --enum_type=packed --elf --abi=eabi --code_state=32 --float_support=VFPv3D16 -k --asm_listing --output_all_syms
Linker:
-z -m"Sample.map" --warn_sections -i"C:/Program Files/Texas Instruments/ccsv4/tools/compiler/TMS470 Code Generation Tools 4.6.6/lib" -i"C:/Program Files/Texas Instruments/ccsv4/tools/compiler/TMS470 Code Generation Tools 4.6.6/include" --reread_libs --rom_model --be32
and avoided the use of --o3 and --opt_for_speed optimization.
Still i am not able to get the map file with the statics.
Also please let me know the relevance of the tracking number.
With Best Regards,
Renjith George
Hi Renjith,
I guess someone from TI, probably Aarti, will follow up on your query then, if you are not optimising at all, which was the root of my problem.
The tracking number refers to TI's incident report database SDOWP where tasks and problems are recorded. See https://cqweb.ext.ti.com/cqweb/main?command=GenerateMainFrame&service=CQ&schema=SDo-Web&contextid=SDOWP&rmsessionid=aef8159f-261e-4ae0-9668-c0a8f08f4205
Regards, Tony.
Hello,
Please let me know if you have any other ways to get the static file information inside the map file.
Thanks Tony for all the information you provided.
Thanks and Best Regards,
Renjith George
How about defining a sector in the .cmd file?
And then force your .c file into this sector?