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.

Where are the USBSTK5505_xyz functions actually defined?

I'm looking at the AIC3204 project. Several functions named "USBSTK5505_..."  (e.g. USBSTK5505_init( ) ) are prototyped in header files but I don't see where the functions are actually defined. The AIC3204 project builds, loads and runs without error.

Anyone know?

  • Tony;

    Where does this AIC3204 project come from? Do you extract from the CSL?

    Regards

    Wen

  • Hi Wen,

    The project comes from the CCS installation. I did not extract from the CSL.

    The second "C5505 ezDSP USB stick" youtube video shows how to create a project. It walks you through "importing" C/C++ projects. There are about 3 or 4 projects that were in the projects directory under the CCS installation directory in program files.

    I think the AIC3204 project at the google.code site is the same thing though.

  • I think I can shed some more light on this after looking into it. These functions are part of the bsl (board support library). I found the source, so I can see what they do. But, they are actually linked to the project through a library file. I haven't found, exactly at least, where libraries are configured in general.

    The makefile (automatically generated) gives the clue:

    ORDERED_OBJS += \
    $(GEN_CMDS_QUOTED) \
    "./main.obj" \
    "./aic3204_tone_headphone.obj" \
    "./aic3204_test.obj" \
    "./aic3204_loop_linein.obj" \
    -l"rts55x.lib" \
    -l"cslVC5505.lib" \
    -l"usbstk5505bsl.lib" \
    "../lnkx.cmd" \

    These functions are in the usbstk5505bsl.lib (again, the source is available as well). But this raises the question where/how these 3 libraries are added to the project?? I found one file in the project, ccsObjs.opt, that has the folllowing:

    "./main.obj" "./aic3204_tone_headphone.obj" "./aic3204_test.obj" "./aic3204_loop_linein.obj" -l"rts55x.lib" -l"cslVC5505.lib" -l"usbstk5505bsl.lib" "../lnkx.cmd"

    so that looks like the file that "defines" it but, I'm not sure if this auto-generated or user created??

    Anybody have any links that explains this library creation/configuration process?