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.

RTOS/AM5728: How to add library files

Part Number: AM5728

Tool/software: TI-RTOS

When I add new function like Board_init() from the TI example of  MCASP_Audio_evmAM572x_c66ExampleProject to a new TI example of image_processing,I find a problem.

the two TI example

 

I look up some related information , The problem is caused by  library files. So I add the related  library files.

Board_init() :

As a result ,I have a new error .

Now I 'm puzzled :

1.The two library files (ti.board.ae66 and ti.board.ae66e) are  Accurated ? My method is Static library link?

2.If my library   files are Accurated,how to solve the new error ?

3.I feel puzzled at the new one.

the MCASP example have no  other library files .Why?this is the dynamic library link? How to link to the library files that it need?

  • The RTOS team have been notified. They will respond here.
  • gf li,

    when you link to the board library, there are certain dependency libraries that board calls into that you need to include as part of your project. the following libraries are required in your project when you link into board library :

    BOARD_LIB :=-l"$(BOARD_LIB_DIR)/ti.board.ae66"
    UART_LIB :=-l"$(UART_LIB_DIR)/ti.drv.uart.ae66"
    I2C_LIB :=-l"$(I2C_LIB_DIR)/ti.drv.i2c.ae66"
    OSAL_LIB :=-l"$(OSAL_LIB_DIR)/ti.osal.ae66"
    CSL_LIB :=-l"$(CSL_LIB_DIR)/ti.csl.ae66"
    CSL_INIT_LIB :=-l"$(CSL_INIT_LIB_DIR)/ti.csl.intc.ae66"

    The simplest example for you to see this setup is to refer to Audio-benchmark-starterkit demo in the Processor SDK RTOS. The demo benchmarks key signal processing functions and uses BOARD library only to setup the device initialization like clock, pinmux and UART for providing output log messages.

    Regards,
    Rahul

  • Thanks for your replay!

    How can I get  Audio-benchmark-starterkit demo?

    As this way ,I can get ARM and DSP example ,but no Audio-benchmark-starterkit demo.

    Are there  some other methods to get the demos?

  • Audio-benchmarkstarter-kit is a demo that is not part for PDK component. You can build this using either makefiles or using CCS projects as described here:
    processors.wiki.ti.com/.../Processor_SDK_RTOS_Audio_Benchmark_Starterkit

    There is a how to video that you can check for quick reference.

    Regards,
    Rahul