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.

CCS/TDA2SX: add a A15 link

Part Number: TDA2SX

Tool/software: Code Composer Studio

Hi dear Tier,

I am working on tda2sx, vsdk 3.8.

I add a link named "mynull"  which is based on links_a15\null, according to VisionSDK_DevelopmentGuide.pdf.

I did the following steps:

1) I implements mynull link under vision_sdk/links_fw/src/hlos/links_a15 , and

2) add a linkid in links_fw\include\link_api\system_linkid.h

like following:

       SYSTEM_LINK_ID_MYNULL_LINK_0 = 73,
        SYSTEM_LINK_ID_MYNULL_LINK_1 = 74,
        SYSTEM_LINK_ID_MYNULL_LINK_2 = 75,
     SYSTEM_LINK_COMMON_LINKS_MAX_ID = 76

3) I add myNullLink_init and myNullLink_deInit in System_initLinks and System_deInitLinks

4) I add the config in links_fw/src/hlos/linksfw_component.mk, like:

-include $(vision_sdk_PATH)/links_fw/src/hlos/links_a15/mynull/component.mk

I rebuild all,  but finally sample app build failed:  not for the new added nulllink but the original nulllink.

system_common.c:(.text+0x1c4): undefined reference to `NullLink_init'

system_common.c:(.text+0x394): undefined reference to `NullLink_deInit'

Is there any thing wrong with my config?  Thanks for your help!

 

  • Hi Robert,

    can you try clean build:

    make clean

    make -s -j depend

    make -s -j

    Also did you removed the original null link from linksfw_component.mk? In that case can you try to remove the calls of NullLink_init/NullLink_deInit from system_common.c

    Regards,

    Yordan