When I built my project, I received an unresolved symbol for Interrupt_add in file ..../hal/c6455/lib/ti.ndk.hal.c6455.a64Pe<ethdriver.o64Pe>
How do I resolve this?
The following is what I have done so far.
I am using:
sysbios 6.31.04.27
xdctools 3.25.00.48
cgt 7.4.2
ndk 2.24.00.11
and my target is C64P_big_endian
I am not using CCS. I am executing all build script using command line in linux.
So far I copied OMAPL138 xdc package script from NSP and replaced the ethernet driver using C6455 driver from NDK 2.0. I also replaced ethdriver.c with the one that is compatible with Sys/Bios 6.
I placed all the emac driver files in <NDK_INSTALLATION_BASE>/packages/ti/ndk/hal/c6455
Then I rebuilt ndk for C64P_big_endian target.
I verified that in c6455/lib folder, it has ti.ndk.hal.c6455.a64Pe file.
In my project.cfg file, I added:
var Global = xdc.useModule('ti.ndk.config.Global');
var Emac = xdc.useModule('ti.ndk.hal.c6455.Emac');
ethdriver.c includes stkmain.h, stkmain.h includes stacksys.h. stacksys.h includes os/osif.h. And Interrupt_add is defined in the osif.h