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.

Typo for LinkerBuildOptions in Stellaris and Tiva device files in CCS 5.5

A new empty executable project for a LM4F120H5QR device was created in CCS 5.5.0.00077. This cause the linker to report a warning that it was using a default stack size:

'Invoking: ARM Linker'
"C:/ti_ccs5_5/ccsv5/tools/compiler/arm_5.1.1/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me -g --diag_warning=225 --display_error_number --diag_wrap=off -z -m"cm4f_hello_world.map" -i"C:/ti_ccs5_5/ccsv5/tools/compiler/arm_5.1.1/lib" -i"C:/ti_ccs5_5/ccsv5/tools/compiler/arm_5.1.1/include" --reread_libs --warn_sections --display_error_number --diag_wrap=off --xml_link_info="cm4f_hello_world_linkInfo.xml" --rom_model -o "cm4f_hello_world.out"  "./main.obj" "./lm4f120h5qr_startup_ccs.obj" "../lm4f120h5qr.cmd" -l"libc.a"
<Linking>
warning #10210-D: creating ".stack" section with default size of 0x800; use the -stack option to change the default size

There is no -stack option in the linker command line.

I think the problem is a typo in the Stellaris and Tiva device files in CCS 5.5. E.g. CCS 5.4 had the following in the ccsv5\ccs_base\common\targetdb\devices\lm4f120h5qr.xml file:

<property Type="stringfield" Value=" -m=app_LM4F120H5QR_ccs.map -stack=512 -heap=0" id="LinkerBuildOptions"/>

Whereas in CCS 5.5 the line is:

<property Type="stringfield" Value=" -m=app_LM4F120H5QR_ccs.map -stack=512 -heap=0" id="LinerBuildOptions"/>

i.e. in going from CCS 5.4 to 5.5 looks like a typo has caused LinkerBuildOptions to change to LinerBuildOptions. On a quick check appears to have happended to all Stellaris and Tiva device files in the CCS 5.5 ccsv5\ccs_base\common\targetdb\devices directory.

  • Chester Gillon said:

    I think the problem is a typo in the Stellaris and Tiva device files in CCS 5.5. E.g. CCS 5.4 had the following in the ccsv5\ccs_base\common\targetdb\devices\lm4f120h5qr.xml file:

    <property Type="stringfield" Value=" -m=app_LM4F120H5QR_ccs.map -stack=512 -heap=0" id="LinkerBuildOptions"/>

    Whereas in CCS 5.5 the line is:

    <property Type="stringfield" Value=" -m=app_LM4F120H5QR_ccs.map -stack=512 -heap=0" id="LinerBuildOptions"/>

    i.e. in going from CCS 5.4 to 5.5 looks like a typo has caused LinkerBuildOptions to change to LinerBuildOptions. On a quick check appears to have happended to all Stellaris and Tiva device files in the CCS 5.5 ccsv5\ccs_base\common\targetdb\devices directory.

    [/quote]

    Chester,

    Thank you for pointing out this issue. There is indeed a typo in those device xml files. We will work on getting this addressed.