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.

BIOS PSP 3.0 lib linkage

Other Parts Discussed in Thread: SYSBIOS

Hi guys

I have to deal with Logic PD EVM HW, for example UART. For this I've downloaded biospsp_03_00_01_00 and successfully built it with gmake libs.

As a result I got the following stuff in my \biospsp_03_00_01_00\drivers\uart\lib\c6748-evm\674\debug folder :

- bios_psp_uart.ae674

The question is - how can I use it in my own project? For example I'm trying to add UART driver to the LED blink example and periodically write some debug info to the port. My steps are :

1. Add this file to the project

2. Define include folder path and CHIP_* macro in the buider settings.

As a result I get a lot of unresolved symbols and warning about incompatible COFF/ELF library format.

What am I doing wrong? What is the right way to use this driver? What does the *.ae674 extension mean? I guess it's not a standard *lib, so it could cause my issues.

Looking forward to your replies.

Kindest Regards,

Dmitry

  • Dmitry,

    The SYSBIOS PSP has comes with examples of using the driver. Look under packages/examples of example projects. The examples are make file based but you can convert them  into CCS projects using the instructions provided in the video provided in the docs folder. The SYSBIOS follows the RTSC way of packaging so you can link individual modules by using the xdc.useModule and include the appropriate modules. Else you can also link the libraries directly to the linker and include the header files.

    Note the .ae674 libraries indicate that the libraries are in ELF binary format as is the default build of SYSBIOS so in the compiler or project settings if you have COFF binary settings the linker is likely to complain of incompatible binary format for linking with those libraries.

    Regards,,

    Rahul