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.

PROCESSOR-SDK-OMAPL138: Setting up a project with PDK

Part Number: PROCESSOR-SDK-OMAPL138
Other Parts Discussed in Thread: SYSBIOS

I have downloaded the PROCESSOR-SDK-RTOS-OMAPL138 with CCSv7 under Linux 16.4 operating system. Everything seems to be installed ok. I have created and imported the example projects and they build ok. I have also tried to rebuild the pdk and it is completed without errors.

The problem is when I try to use PDK libraries in a SYSBIOS typical application (created from template). I have chosen from products tab to use PDK. I have confirmed that PDK related paths are created in Linker and compiler options.

The problem is that if I include e.g. I2C.h from drivers and call the I2C_init() it gives compilation error that the I2C_init() is not recognized.

Do you have any suggestions?

  • Hi,

    Can you copy the exact error message from your console?
    Also can you share the Processor SDK version that you're using?

    Best Regards,
    Yordan
  • The error message is the following:

    #10010 errors encountered during linking; "pdk_test3.out" not built
    #10234-D  unresolved symbols remain
    gmake: *** [all] Error 2	pdk_test3		 	
    gmake[1]: *** [pdk_test3.out] Error 1	pdk_test3		
    unresolved symbol I2C_init, first referenced in ./main.obj
    

    As it writes It is a linking problem but I can't find a way to resolve it. I have attached the project in case it helps.

    The sdk is the ti-processor-sdk-rtos-omapl138-lcdk-04.00.00.04-Linux-x86-Install.bin

    pdk_test3.zip

  • Hi,

    Check your project properties (right click on the project, then click properties and see if everything is included in Resource -> Linked Resources. Look for I2C install path and make sure it is the correct one.

    Best Regards,
    Yordan