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.

Libray in OMAP-L138

Other Parts Discussed in Thread: OMAP-L138

Hi,

I have been trying to do a library project type (.lib) for the OMAP-L138. I'm using the PSP drivers and GIO commands in the library project.

My goal is develop an peripheral abstraction  (PAL).
But I wonder if it is possible to insert the libraries already generated (. a674) in the project library (.lib) to develop a PAL? (instead using the PSP Include files directly)

example:

Can i insert the "ti.pspiom.spi.a674" library in my library project instead using the Include files (Spi.h, SpiLocal.h)?

Another question I have is whether it is possible to use
GIO commands with the GPIO ?

Regards,
Luis Mendes

  • Luis Mendes said:

    My goal is develop an peripheral abstraction  (PAL).

    I'm not quite sure what you mean by this.  In my mind, that's exactly what the drivers do already.

    Luis Mendes said:

    But I wonder if it is possible to insert the libraries already generated (. a674) in the project library (.lib) to develop a PAL? (instead using the PSP Include files directly)

    example:

    Can i insert the "ti.pspiom.spi.a674" library in my library project instead using the Include files (Spi.h, SpiLocal.h)?

    I'm not positive, but I think so.  The archiver has that capability so if CCS doesn't do this automatically you can probably make some adjustments to make it happen.

    Luis Mendes said:

    Another question I have is whether it is possible to use GIO commands with the GPIO ?

    Yes, please see the User Guide for the 6748 drivers:

    http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/bios_psp/BIOSPSP/01_30/index_FDS.html

     

  • Hi Brad,

    But how i insert in my project the PSPIOM libraries files (a.674)?

    I'm creating this library project (MAPxxxx.pjt) to insert as "Dependent Project" in the main project.

    I already tried to add the library files (.a674) to the MAPxxxx Libraries folder....

    Best regards,

    Luis Mendes

     

  • Does Project -> Add Files not work?  You should be able to add a lib file just like anything else.  Maybe it's the extension that CCS doesn't like.  Perhaps you could make a copy of that file with .lib extension.