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.

ndk upgrade issue

I am trying to upgrade my ndk from 2_0_0 to 2.20.06.35.  I changed my include and library paths to point to the proper place under  ndk_2_20_06_35.  In particular I set NDK_INSTALL_DIR to ndk_2_20_06_35\packages\ti\ndk.  My problem is the old ndk had some libraries that this version does not.  In particular hal_eth_c6455 and hal_userled_c6455.  How do I get these libraries?

I am using ccv5.1 and the c6482 DSK.

Thanks

  • Hi Bryan,

    The NDK no longer ships the Ethernet driver.  It now only includes the latest generic core stack libraries.

    So, you should continue to point your project at the 6455 libraries from NDK 2.0.0, as these are the latest drivers.

    The easiest way to do this is to change the NDK_INSTALL_DIR environment variable to point to the latest 2.20 NDK (as you already have done).

    Then, you should edit your project to point directly to the NDK 2.0.0 6455 specific libraries.  You could do this by making an absolute path to the library in the linker options of your project (e.g. for me it would be "C:\ndk_2_0_0\packages\ti\ndk\lib\hal\dsk6455\hal_eth_c6455.lib").

    However, I usually just create a new environment variable such as "NDK_INSTALL_DIR_6455" which is set to the previous value of "NDK_INSTALL_DIR" (your NDK 2.0.0 installation).  Then in the project options, it just changes from:

        "%NDK_INSTALL_DIR%\packages\ti\ndk\lib\hal\dsk6455\hal_eth_c6455.lib"

    to be:

        "%NDK_INSTALL_DIR_6455%\packages\ti\ndk\lib\hal\dsk6455\hal_eth_c6455.lib"

    Steve

    P.S. Note that for environment variable changes to take effect, you must restart CCS.