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.

  • Resolved

Compiler/CCSTUDIO-TM4X: tiduau8

Prodigy 150 points

Replies: 4

Views: 939

Part Number: CCSTUDIO-TM4X

Tool/software: TI C/C++ Compiler

Hello,

When i Build the project tiduau8, the compiler give me these errors:

Description    Resource    Path    Location    Type
symbol "spi_Close" redefined: first defined in "./cc3100spi.obj"; redefined in "C:/ti/tirex-content/tirtos_tivac_2_16_00_08/products/tidrivers_tivac_2_16_00_08/packages/ti/drivers/lib/drivers_wifi_tivaware.aem4f<WiFiCC3100.oem4f>" wifi_microstepping_stepper_motor             C/C++ Problem

I'am no good in c programming, so what exactly that error means? I tried to understand the boths files, but obviously the .oem4f is quit impossible. This is the project explorer:

I assume that delete the functions inside the .obj is not the solution, any suggestions about how can i solve those issues?

Thanks

  • Hello Guillermo,

    It looks like the project you downloaded is a bit outdated so there are issues with the latest TI-RTOS function calls. The errors you received are indicating there are multiple definitions of each of the function calls.

    That TI design as far as I can tell wasn't done by our group so I am not sure what the intended setup is for it, but from looking the screenshot it looks like the cc3100spi and cc3100board files are trying to re-define functions which now exist in TivaWare. The error reports the function name and also where the redefinition occurs. You should be able to remove one of the definitions (ideally the cc3100spi/board ones as those seem to be specific to the application) to resolve the errors.

    This are mods you would make to the .c files and then try and re-compile. You are right that you can't delete stuff in the .obj file.

    Best Regards,

    Ralph Jacobi

  • In reply to Ralph Jacobi:

    Hello Ralph,
    Thanks for the answer, I could saw too that the errors occurs because the new version of TIRTOS have those implementations and as you said the specific app too. But, instead of "delete" code it shouldt be enought to install the TIRTOS version supported for this demo?
    So how can i install a lower version? when i dowload the TIRTOS 2.14.0.10 version from the page software-dl.ti.com/.../index.html and i try to open it, it doesnt work
  • In reply to Guillermo Olmedo:

    Hello Guillermo,

    Using the older RTOS version should resolve the I'd think? What do you mean by 'i try to open it, it doesnt work'? Does it not install on your hard drive, or does CCS not recognize it, or does the project not recognize it?

    Best Regards,

    Ralph Jacobi

  • In reply to Ralph Jacobi:

    Hello Ralph,

    When i downloaded the TIRTOS version that i needed the day i asked, the setup file did'nt work, today i downloaded the file again, and it works.

    Refering to the project, now it copiles everything properly.

    Thanks

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.