Hi all,
I need to reuse the PSP McASP example in my own code. Since I've successfully compiled and run the example, I've simply copy-pasted most of the code from it into my own code, adapted McASP configuration for my own needs, adapted DSP/BIOS conf by looking at the DSP/BIOS conf of the example. Compilation is fine. But when it comes to link, I get the following errors:
undefined first referenced
symbol in file
--------- ----------------
_Mcasp_IOMFXNS C:\\Programs\\TI\\projects\\touch\\Debug\\touchcfg.obj
_Mcasp_PARAMS C:\\Programs\\TI\\projects\\touch\\Debug\\touch_main.obj
_Mcasp_init C:\\Programs\\TI\\projects\\touch\\Debug\\touch_main.obj
_Psc_ModuleClkCtrl C:\\Programs\\TI\\projects\\touch\\Debug\\touch_main.obj
_configureMcasp C:\\Programs\\TI\\projects\\touch\\Debug\\touch_main.obj
_edma3init C:\\Programs\\TI\\projects\\touch\\Debug\\touch_main.obj
_hEdma C:\\Programs\\TI\\projects\\touch\\Debug\\touch_main.obj
I remembered that prior to compiling and running the PSP example I had to compile some other projects. So I tried to add the following as library: mcaspDit_evmInit.obj, Mcasp.obj, Mcasp_edma.obj and Mcasp_ioctl.obj. Undefined symbole messages for _Mcasp_IOMFXNS, _Mcasp_PARAMS, _Mcasp_init disappear, but then I get a huge list of undefined symbols for EDMA.
What am I doing wrong? How can I fix those link errors? Or is there another (maybe simpler) way to use McASP(0)?
Thanks you very much
Andreas