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.

TMDSLCDK6748: Linking errors using SDK-can't resolve- c6748 LCDK

Part Number: TMDSLCDK6748
Other Parts Discussed in Thread: OMAPL138

Hi,

I already putted a question here on this matter, i thought it resolved the issue but it didn't. When tried to use the board.h to configure the peripherals i had a linking error (unresolved symbols...), so i asked here what to do, and you told me to see another link with same issue, it just made possible to access some defined variables on board.h, but when i use functions it gives me the same error. so i kept linking what it asked me to, but it always asks me for more libraries. i show what happens in the images bellow:

I reached a point where i couldn't find what is missing in the linking files. please help me, i'm with this problem for to long and i need to go on with it.

Thank you,

Afonso

  • Hi Afonso,

    There is a similar thread that should be helpful to you: How to add Processor SDK libraries to the project

    cd C:\ti\pdk_omapl138_1_0_11\packages>
    pdksetupenv.bat
    pdkProjectCreate.bat OMAPL138

    4. The generated example projects are located at: C:\ti\pdk_omapl138_1_0_11\packages\MyExampleProjects. 

    Regards,

    Jianzhong

  • Hi jianzhong,

    Thank you for the answer. I've tried before using those commands to generate the example, but somehow it does not create any folder "myexamples" when i do that, and i tried reinstalling the sdk, nothing changed. Then i created an rtsc project and used a .cfg file to the linking process,just as it apears in the post you redirected me to, but still One unresolved symbol remain :GPIO_v0_config()

    I AM using the lcdk c6748  And used as platform ti.platform.evmOMPL138. Is there any problema with that?

    I can use the funciona present on board.h, but not the Inês um gpio.h

  • *i can use the functions present on board.h, but not the ones in gpio.h. is there any package i can use to resolve the symbol gpio_v0_config?

  • Hi Afonso,

    For some reason, part of my previous post was lost. Let me retype here. To create PDK example projects, do the following:

    1. Download Process-SDK RTOS for OMAPL138 and the corresponding CCS 9.3. 

    2. Ensure all dependent products in the SDK are installed and registered with CCS. Launch CCS and it will automatically find your newly installed products. Make sure you install them and restart CCS.

    3. Create example projects using the commands I listed in the previous post.

    I would recommend you to resolve all problems in creating the example projects. The failure in creating the example projects are usually caused by one of the following:

    • Dependent SDK components are not installed and registered with CCS
    • CCS version doesn't match what's specified in pdkProjectCreate.bat

    For the other question you have regarding GPIO_v0_config, it is defined in C:\ti\pdk_omapl138_1_0_11\packages\ti\drv\gpio\test\led_blink\omapl138\GPIO_board.c. If you can create the example projects, you can look at project GPIO_LedBlink_lcdkOMAPL138_armTestProject for reference.

    Regards,

    Jianzhong

  • I AM currently using CCS 10,do you think that's the problem?

    I used exactly that example that you mention, ledblink, and it gives me the same unresolved symbol

  • Yes, you'll need to use CCS9.3, or modify script pdkProjectCreate.bat by providing the path for CCS:

    if not defined CCS_INSTALL_PATH (
        set CCS_INSTALL_PATH=C:/ti/ccs930/ccs
    )

    Regards,

    Jianzhong

  • Ok, ill instalo that version then and see what happens.

    Another question. Do i need to build the sdk, using the gmake before i use it?

  • Hi Afonso,

    No, you don't need to rebuild the whole SDK.

    Regards,

    Jianzhong

    --------------------------------------------------------------------------------------------------------------------------------------
    Please click the This resolved my issue button on this post if the responses on this E2E thread answers your question.
    --------------------------------------------------------------------------------------------------------------------------------------

  • Hi again jianzhong,

    I installed the ccs 9.3 version, and im capable of making examples.

    But the issue of GPIO_v0_config unresolved symbol remains.

    If i use the GPIO_board.c present on the gpio example i have no such error, but i can't see any messages that i right on the code, like printf's and uart messages, and the led does not even toggle.

    As you can when i run it, nothing happens, not even "INSIDE MAIN " appears.

    if i try to declare myself the GPIO_PinConfig inside mains i get the unresolved symbol.

    If you could help me, i'd be very thankful!

  • Hi Afonso,

    You need to define GPIO_v0_config as a global variable which is needed by the GPIO driver. You can create a separate file similar to C:\ti\pdk_omapl138_1_0_11\packages\ti\drv\gpio\test\led_blink\omapl138\GPIO_board.c and define your GPIO configurations in that file.

    Regards,

    Jianzhong

  • All right i get it now. Thank you very much.

    But know when i use the while(1){} to make a loop to toggle the led, system does not respond at all. Without the while i get the messages, with it it does nothing. Any idea what it might be?

  • Hi Afonso,

    Please first try the example project GPIO_LedBlink_lcdkOMAPL138_armTestProject. Once it works on your setup, then you can modify it or build your application on top of it.

    Regards,

    Jianzhong