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.

CCS codesize limitation for CC3200

Other Parts Discussed in Thread: CC3200, CC3200SDK

What is the maximum code size limited by CCS compiler for CC3200?

  • @Anish,

    As far as I know, there is no code size limit using CCS for CC3200.

    - kel
  • As per below document[ Sec-4.3, page 22] code size is internally limited? I want to know that LIMIT?
    http://www.ti.com/lit/ug/swru372a/swru372a.pdf
  • @Anish,

    From the document it says this below. But, I just build the out-of-box demo without errors using CCS Free Version. Wait for a TI Engineer to confirm this.

    "The full out-of-box demo cannot be built with the free version of CCS or IAR (IAR Kickstart) due to the code size limit."

    - kel
  • Hi Anish,

    If you are using CCSv6 package as is then there is no code size limit for CC3200. However if you were to update the compiler to the latest available version manually then there might be a code size limit.

    Thanks and Regards,
    Praveen
  • Hi Praveen,
    Can you specify the compiler/ccs/cc3200 version.
  • I see this issue with CCS 6.0.1.00040. I've previously used the same system for MSP430 development. The linker output is:



    **** Build of configuration Release for project wlan_station ****

    "c:\\ti\\ccsv6\\utils\\bin\\gmake" -k all
    'Building target: wlan_station.out'
    'Invoking: ARM Linker'
    "c:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.0/bin/armcl" -mv7M4 --abi=eabi -me -Ooff -g --define=ccs --define=USE_TIRTOS --define=SL_PLATFORM_MULTI_THREADED --define=cc3200 --display_error_number --diag_warning=225 --diag_wrap=off -z -m"wlan_station.map" --heap_size=0x800 --stack_size=0x800 -i"c:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.0/lib" -i"c:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.0/include" --reread_libs --warn_sections --display_error_number --diag_wrap=off --xml_link_info="wlan_station_linkInfo.xml" --rom_model -l"C:/ti/CC3200SDK_1.0.0/cc3200-sdk/ti_rtos/ti_rtos_config/ccs/Default/configPkg/linker.cmd" -o "wlan_station.out" "./gpio_if.obj" "./main.obj" "./pinmux.obj" "./uart_if.obj" "../cc3200v1p32.cmd" -l"libc.a" -l"C:/ti/CC3200SDK_1.0.0/cc3200-sdk/example/getting_started_with_wlan_station/ccs/../../../driverlib/ccs/Release/driverlib.a" -l"C:/ti/CC3200SDK_1.0.0/cc3200-sdk/example/getting_started_with_wlan_station/ccs/../../../simplelink/ccs/OS/simplelink.a" -l"C:/ti/CC3200SDK_1.0.0/cc3200-sdk/example/getting_started_with_wlan_station/ccs/../../../oslib/ccs/ti_rtos/ti_rtos.a"
    <Linking>
    error #10269: output file "wlan_station.out" exceeds code size limit

    error #10010: errors encountered during linking; "wlan_station.out" not built
    >> Compilation failure
    gmake: *** [wlan_station.out] Error 1
    gmake: Target `all' not remade because of errors.

    **** Build Finished ****

    FRom the advice window


    Typical message
    Output file “example.out” exceeds code size limit

    What it means
    You have exceeded the maximum code size allowed by your Code Composer Studio license.

    Why is it happening
    Your current Code Composer Studio license allows for a maximum of 16KB of code size when using the TI MSP430 C compiler.

    Remedy
    You may upgrade your Code Composer Studio license to one with no code size limit or you can switch to using GCC as your compiler. GCC is available from the App Center.
    Please note that depending on your source code, switching to GCC may involve significant code changes, please see Wiki for some tips.

    Risks, Severity
    This error prevents the linking of an executable program.
  • Hi,


    The limit is there for MSP430 not for CC3200.

    Thanks and Regards,

    Praveen

  • Hi Anish,

    Please use CCS version : 6.0.1

    Thanks and Regards,
    Praveen
  • Praveen,

        how do you explain the error, if the codesize limit only applies to MSP430? Are you able to build the WLAN_STATION project on an unlicensed copy of CCS 6.0.1.?

  • Hi Charles,

    Will forward this issue to CCS experts.

    Can you confirm that you getting this issue with CCS 6.0.1 package as is, no manual updates ?

    Thanks and Regards,

    Praveen

  • I can compile wlan_station example with CCS 6.1.0 with TI compiler version 5.2.4 with no error message and flash to CC3200 OK