Hi,
I just wanted to make a small test of my newly arrived MSP-TS430PN80USB target board. I took MSP430F552x_UCS_01.c (Software Toggle P1.1 at Default DCO) from slac300.zip as a starting point, set up my project, added the file and hit REBUILD ALL.To my surprise I got this:
**** Build of configuration Debug for project F5529 Test ****
C:\Programme\Texas Instruments\ccsv4\utils\gmake\gmake -k all 'Building file: ../LED_Flashing_main.c''Invoking: MSP430 Compiler'"C:/Programme/Texas Instruments/ccsv4/tools/compiler/msp430/bin/cl430" --silicon_version=mspx --large_memory_model -g --include_path="C:/Programme/Texas Instruments/ccsv4/msp430/include" --include_path="C:/Programme/Texas Instruments/ccsv4/tools/compiler/msp430/include" --diag_warning=225 --sat_reassoc=off --fp_reassoc=off --plain_char=unsigned --printf_support=minimal --preproc_with_compile --preproc_dependency="LED_Flashing_main.pp" "../LED_Flashing_main.c"'Finished building: ../LED_Flashing_main.c'' ''Building target: F5529Test.out''Invoking: MSP430 Linker'"C:/Programme/Texas Instruments/ccsv4/tools/compiler/msp430/bin/cl430" -z -m"F5529Test.map" --stack_size=160 --heap_size=160 --use_hw_mpy=F5 --warn_sections -i"C:/Programme/Texas Instruments/ccsv4/msp430/include" -i"C:/Programme/Texas Instruments/ccsv4/tools/compiler/msp430/lib" -i"C:/Programme/Texas Instruments/ccsv4/tools/compiler/msp430/include" --reread_libs --rom_model -o "F5529Test.out" "./LED_Flashing_main.obj" -l"rts430x.lib" "../lnk_msp430f5529.cmd" <Linking>fatal error: file "C:/Programme/Texas
>> Compilation failure Instruments/ccsv4/tools/compiler/msp430/lib/rts430x.lib<boot.obj>" specifies small data memory model, which is not compatible with large data memory model specified in a previous file or on the command lineC:\Programme\Texas Instruments\ccsv4\utils\gmake\gmake: *** [F5529Test.out] Error 1C:\Programme\Texas Instruments\ccsv4\utils\gmake\gmake: Target `all' not remade because of errors.Build complete for project F5529 Test
Pls explain what the problem with this .lib is, or tell me what I'm doing wrong.
RgdsaBUGSworstnightmare
Since the Project Build Options is using --large_memory_model the runtime library rts430xl.lib should be used (instead of rts430x.lib). Under Project Settings, change the runtime library to be rts430xl.lib and that should resolve the error.
Hi Aarti,
thanks for your answer; that it! Is there any chance to make the IDE change the library setting when one chooses to use --large_memory_model or do I have to 'remember' myself?
aBUGSworstnightmare
We are looking at swtiching to automatic RTS library selection in the future. Basically if this option is on (may be on by default) the linker would look at the other options you have set to determine which library to use.
John
ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". TI AND ITS RESPECTIVE SUPPLIERS 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. 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.
Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.