TI E2E Community
TI C/C++ Compiler
TI C/C++ Compiler - Forum
CCSv5 Linker Warning #10260-D
Where can I find out what this warning means? "unrecognized -- mapfile contents attribute:"
Do I need to be concerned since my code seems to run fine.
What does your link command look like? It seems that you are passing an unrecognized attribute to the link option --mapfile_contents. Please check your link command and also the reference for the --mapfile_contents and accepted attributes in the Assembly Language Tools/Linker Users Guide. Users Guides can be found here.
The warning should not affect your code, that option only controls the contents of the link map file.
If a post answers your question please mark it with the "Verify Answer" button
Search the wikis for common questions: CGT, BIOS, CCSv3, CCSv4Track a known bug with SDOWP. Enter the bug id in the "Find Record ID" box
Sorry I haven't followed this up.. I'm still getting the warning but don't know where within CCS5 to find what you are asking for in terms of what it is supplying as "link commands" or the "reference for the --mapfile_contents abd accepted attributes in the Assembly Language Tools/Linker Users Guide". CCS5 is a great compiler but in many ways it has TOO MANY OPTIONS and enough documentation to "sink a battleship" but documentation that is scattered everywhere forcing users to go on a hide and seek exercise to find simple answers to simple questions.
Jim Taylor99524 I'm still getting the warning but don't know where within CCS5 to find what you are asking for in terms of what it is supplying as "link commands" or the "reference for the --mapfile_contents abd accepted attributes in the Assembly Language Tools/Linker Users Guide".
In CCS, look at the build console when you build your project to see what options are being passed to the linker. Basically everything after it says "Invoking Linker", and look closely at the --mapfile_contents option. The compare it with the accepted attributes that are listed in the Assembly Language Tools Users Guide for your device.
All of the manuals are available here: http://processors.wiki.ti.com/index.php/TI_Compiler_Information#Compiler_Manuals. Open the one for the processor you are working with, and search for the option --mapfile_contents to review its details.
OK - I seem to be getting closer to the solution. Below is a C&P of the Build Console Linker output:
**** Build of configuration Debug for project LCD2 ****'Building target: LCD2.out''Invoking: MSP430 Linker'"C:/ti/ccsv5/tools/compiler/msp430/bin/cl430" -vmsp --abi=coffabi -g --define=__MSP430G2553__ --diag_warning=225 --display_error_number --printf_support=minimal -z -m"LCD2.map" --stack_size=80 --heap_size=150 -i"C:/ti/ccsv5/ccs_base/msp430/include" -i"C:/ti/ccsv5/tools/compiler/msp430/lib" -i"C:/ti/ccsv5/tools/compiler/msp430/include" --reread_libs --warn_sections --mapfile_contents=LCD2map --rom_model -o "LCD2.out" "./time.obj" "./lcd_main.obj" "./lcd_funcs.obj" "./UART_funcs.obj" "./Messages.obj" -l"libc.a" "../lnk_msp430g2553.cmd" <Linking>warning #10260-D: unrecognized --mapfile_contents attribute: LCD2map'Finished building target: LCD2.out'' '**** Build Finished ****
By looking at the "--mapfile_contents" entry above, the "filter" option following is the string "LCD2map" which doesn't coincide with any of the allowable filters specified in Section 7.4.15 of the MSP430 Assembly Language Tools Users Guide. That's exactly what the warning text is saying that it doesn't like the string "LCD2map". So the questions now are --- 1. How does the string LCD2map get put there? and 2. How do I change it from within CCS5?
OK -- I fixed the problem. I found the Project Properties entry for the --mapfile_contents option and indeed, the string LCD2map was there but I don't know how it got there. Anyway, I removed it, re-built my project, and the Warning message is now gone. Thanks for your help.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.