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.

#10912 Failed linktime optimization in MSP430FR57xx_Code_Examples

Other Parts Discussed in Thread: MSP430FR5739

Hello all,

This is Fancy and I'm working on the MSP430FR5739 with the CC3000, I want to use the P2.6 of MSP430 as an external interrupt based on the MSP430FR57xx_Code_Examples supplyed by TI, but an error occors when compling in the CCS. The screenshot is shown as following:

Any ideas would be greatly appreciated

Regards

Fancy

  • Hi Fancy,

    We can't see your screenshot - please try replying again with the image. You will need to save the screenshot as an image file (.png, .jpg, or something). Then when you reply click "Use rich formatting" and then you can drag and drop the image file from the file system into your reply.

    There are some E2E tutorials here with tips on how to use the interface to add images or attach files:
    e2e.ti.com/.../148.4-5-attaching-a-file
    e2e.ti.com/.../149.4-3-inserting-an-image-on-e2e

    Regards,
    Katie
  • Hi Katie,

    Thank you.

    The error is #10192 Failed linktime optimization    BasicWiFi Application         C/C++ Problem and the information in the console window is shown as following

    **** Build of configuration Debug for project BasicWiFi Application ****

    "E:\\TI CCS\\ccsv6\\utils\\bin\\gmake" -k all
    'Building file: C:/Basic WiFi Source-20150118/Basic WiFi Source/Source/BasicWiFi Application/basic_wifi_application.c'
    'Invoking: MSP430 Compiler'
    "E:/TI CCS/ccsv6/tools/compiler/msp430_4.3.1/bin/cl430" -vmspx --abi=coffabi -O4 --opt_for_speed=0 -g --include_path="E:/TI CCS/ccsv6/ccs_base/msp430/include" --include_path="C:/Basic WiFi Source-20150118/Basic WiFi Source/Source/CC3000 Spi" --include_path="C:/Basic WiFi Source-20150118/Basic WiFi Source/Source/inc" --include_path="C:/Basic WiFi Source-20150118/Basic WiFi Source/Source/HyperTerminal Driver" --include_path="C:/Basic WiFi Source-20150118/Basic WiFi Source/Source/CC3000HostDriver" --include_path="E:/TI CCS/ccsv6/tools/compiler/msp430_4.3.1/include" --gcc --define=__CCS__ --define=__MSP430FR5739__ --diag_warning=225 --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="jiugao_wifi.pp"  "C:/Basic WiFi Source-20150118/Basic WiFi Source/Source/BasicWiFi Application/basic_wifi_application.c"
    "C:/Basic WiFi Source-20150118/Basic WiFi Source/Source/BasicWiFi Application/basic_wifi_application.c", line 1304: warning #179-D: variable "Zero" was declared but never referenced
    'Finished building: C:/Basic WiFi Source-20150118/Basic WiFi Source/Source/BasicWiFi Application/basic_wifi_application.c'
    ' '
    'Building target: BasicWiFi Application.out'
    'Invoking: MSP430 Linker'
    "E:/TI CCS/ccsv6/tools/compiler/msp430_4.3.1/bin/cl430" -vmspx --abi=coffabi -O4 --opt_for_speed=0 -g --gcc --define=__CCS__ --define=__MSP430FR5739__ --diag_warning=225 --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU40 --printf_support=minimal -z --stack_size=368 -m"BasicWiFi Application.map" --heap_size=0 --use_hw_mpy=F5 -i"E:/TI CCS/ccsv6/ccs_base/msp430/include" -i"E:/TI CCS/ccsv6/tools/compiler/msp430_4.3.1/lib" -i"E:/TI CCS/ccsv6/tools/compiler/msp430_4.3.1/include" --reread_libs --warn_sections --xml_link_info="BasicWiFi Application_linkInfo.xml" --rom_model -o "BasicWiFi Application.out"  "./basic_wifi_application.obj" "./board.obj" "./BH1750.obj" "../lnk_msp430fr5739.cmd" "C:/Basic WiFi Source-20150118/Basic WiFi Source/Basic WiFi Application CCS-jiugao/CC3000 Spi/Debug/CC3000 Spi.lib" "C:/Basic WiFi Source-20150118/Basic WiFi Source/Basic WiFi Application CCS-jiugao/CC3000HostDriver/Debug/CC3000HostDriver.lib" "C:/Basic WiFi Source-20150118/Basic WiFi Source/Basic WiFi Application CCS-jiugao/HyperTerminal Driver/Debug/HyperTerminal Driver.lib" -l"libc.a"
    <Linking>
    "C:\DOCUME~1\fan\LOCALS~1\Temp\0233210", ERROR!   at line 14: [E0300]
             Symbol __TI_int39 has already been defined
            .intvec    ".int39",    Trap_ISR

    1 Assembly Error, No Assembly Warnings

    Errors in Source - Assembler Aborted

    >> Compilation failure

    >> Compilation failure
    fatal error #10192: Failed linktime optimization

    >> Compilation failure
    gmake: *** [BasicWiFi Application.out] Error 1
    gmake: Target `all' not remade because of errors.

    **** Build Finished ****

    Regards,

    Fancy

  • Hi Fancy,

    I'm still unclear which example code you are using - is it this CC3000 application?processors.wiki.ti.com/.../CC3000_Basic_Wi-Fi_example_application_for_MSP430
    I tried importing that project into CCSv6.1 but was unable to reproduce your error - Can you let us know what version of CCS you are using as well as what code project? Can you try to insert the screenshot again?

    I'm going to move this thread to the (DO NOT USE) SimpleLink WiFi - CC3000 Forum since the question seems to be about a CC3000 code project.

    Regards,
    Katie