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.

Merging two RTSC examples into one

Other Parts Discussed in Thread: OMAPL138

Hi everybody,

my setup:

*******Software*********

CCS  4.1.2
C6000 CGT 6.1.16
BIOS   06.21.02.19
EDMA3LLD  02.10.02.03
PSP DRIVER  02.10.00.02
XDC TOOLS 03.16.03.36
IPC  01.00.05.06
XDAIS  06.25.01.08

********Hardware********

LOGIC PD OMAPL138 EVM

At the moment I am trying to merge two RTSC example projects into one. The examples are from

PSP Drivers: video loopback example      and         EDMA3LLD: edma_drv_bios6_st_sample

Each example works fine for itself on the OMAPL138 EVM. I would like to know what is the best way to merge these two examples together. Each of them uses a config project. Just adding the missing lines in one .cfg file and of course adding the appropriate c files leads to build errors like

"C:/PROGRA~1/TEXASI~1/pspdrivers_02_10_00_02/packages/ti/psp/psc/Psc__prologue.h", line 72: error: identifier "CSL_PscRegsOvly" is undefined

The included packages were also updated. So can anyone give some hints how to easy merge two independet examples to one, regarding the dependencies of the examples, so that I get a successful build process.

I am thankful for every help and hints.

Best regards

Gregor

 

  • Hi Gregor,

    It looks like you are missing an include for a CSL  header file.   You probably need this one:

        #include <cslr_psc_OMAPL138.h>

    I see this file in the directory:

    <pspdrivers install>/packages/ti/pspiom/cslr

    I'm guessing that one of the source files you are porting from included this file, but there is no source file that includes this header in the project you're porting to.

    What I usually do in this case is to just grep all header files included in the working project for the above symbol to find which header file defines it.

    Steve