TI E2E Community
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.
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:
P.S. Note that for environment variable changes to take effect, you must restart CCS.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.