Hello,
I'm using a TMS320C6657 board and tried to create a program using the ndk features. I created a new CCS project, added a new .c-file and a .cfg-file, both of them empty. In the Properties->General RTSC tab I enabled NDK 2.24.3.35, SYS/BIOS 6.45.1.29, System Analyzer and 665x PDK 2.0.1.
Then I added these lines to the cfg-file
var Emac = xdc.useModule('ti.ndk.config.Emac');
var Global = xdc.useModule('ti.ndk.config.Global');
var BIOS = xdc.useModule('ti.sysbios.BIOS');
var Emac = xdc.useModule('ti.ndk.config.Emac'); var Global = xdc.useModule('ti.ndk.config.Global'); var BIOS = xdc.useModule('ti.sysbios.BIOS');
and a main.c file with the code
int main(void) {
BIOS_start();
return 0;
}
#include <ti/sysbios/BIOS.h> int main(void) { BIOS_start(); return 0; }
The problem is, I get the following error:
<Linking>
undefined first referenced
symbol in file
--------- ----------------
NIMUDeviceTable C:\ti\ndk_2_24_03_35\packages\ti\ndk\stack\lib\stk6.ae66<nimu.oe66>
error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "NetworkTest02.out" not built
>> Compilation failure
As far as I read in the forum I need to link in the correct nimu library. I discovered the file nimu_eth.h in my pdk_c665x_2_0_1/packages/ti/transport/ndk/nimu directory. But how can I tell my project to find it, I don't get it, tried several things and compared to the examples (which run without errors). Please, can you help me? Thanks.