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/TDA3XEVM: Why some algorithms required for building the sdk, even the algorithm is not used in the usescases?

Part Number: TDA3XEVM

Tool/software: TI-RTOS

Hi,

We are in the process of removing the unwanted usecases and alogorithms in the apps project of vision sdk, below we have some questions regarding build system.

1) Is this the right way to remove the unwanted usecases and algorithms from apps folder?

2) We removed some of the algorithms in alg_plugins, but we hope these mentioned alogorithms are required for building the sdk E.g(edgedetection,streo_app,denseopticalflow,surrondview..etc). We looked into the MAKEFILE.MK and the below libraries are included by default in sdk, eventhough ALG_var_name is not set in the usescases. Could we know what is the reason?

DSP_ALG_LIBS += $($(MAKEAPPNAME)_PATH)/src/rtos/alg_plugins/commonutils/lib/commonutils_c66xdsp_$(PROFILE_c66xdsp_1).ae66
DSP_ALG_LIBS += $($(MAKEAPPNAME)_PATH)/src/rtos/alg_plugins/structurefrommotion/lib/structurefrommotion_c66xdsp_$(PROFILE_c66xdsp_1).ae66
DSP_ALG_LIBS += $($(MAKEAPPNAME)_PATH)/src/rtos/alg_plugins/surroundview/lib/surroundview_c66xdsp_$(PROFILE_c66xdsp_1).ae66
DSP_ALG_LIBS += $($(MAKEAPPNAME)_PATH)/src/rtos/alg_plugins/autocalibration/lib/autocalibration_c66xdsp_$(PROFILE_c66xdsp_1).ae66
DSP_ALG_LIBS += $($(MAKEAPPNAME)_PATH)/src/rtos/alg_plugins/autoremap/lib/autoremap_c66xdsp_$(PROFILE_c66xdsp_1).ae66

APP_LIBS_c66xdsp_1 +=$($(MAKEAPPNAME)_PATH)/src/rtos/alg_plugins/rear_view_panorama/lib/rear_view_panorama_c66xdsp_$(PROFILE_c66xdsp_1).ae66
APP_LIBS_c66xdsp_2 +=$($(MAKEAPPNAME)_PATH)/src/rtos/alg_plugins/rear_view_panorama/lib/rear_view_panorama_c66xdsp_$(PROFILE_c66xdsp_2).ae66
APP_LIBS_c66xdsp_1 +=$($(MAKEAPPNAME)_PATH)/src/rtos/alg_plugins/stereo_app/lib/stereo_app_c66xdsp_$(PROFILE_c66xdsp_1).ae66
APP_LIBS_c66xdsp_2 +=$($(MAKEAPPNAME)_PATH)/src/rtos/alg_plugins/stereo_app/lib/stereo_app_c66xdsp_$(PROFILE_c66xdsp_2).ae66

Best Regards

Prakash

  • Hi,

    Please disable the usecase macro from uc_cfg.mk file of the config which you are building.

    Regards,

    Anuj

  • Hi,

    Its been long since any update on this thread.

    I hope the issue is resolved.

    If not the please reply below or create a new thread for different issue.

    Regards,

    Anuj

  • Hi,

    The disabling the usecases is useful, we are expecting the answer for the question 2:

    2) We removed some of the algorithms in alg_plugins, but we hope these mentioned alogorithms are required for building the sdk E.g(edgedetection,streo_app,denseopticalflow,surrondview..etc). We looked into the MAKEFILE.MK and the below libraries are included by default in sdk, eventhough ALG_var_name is not set in the usescases. Could we know what is the reason?

    DSP_ALG_LIBS += $($(MAKEAPPNAME)_PATH)/src/rtos/alg_plugins/commonutils/lib/commonutils_c66xdsp_$(PROFILE_c66xdsp_1).ae66
    DSP_ALG_LIBS += $($(MAKEAPPNAME)_PATH)/src/rtos/alg_plugins/structurefrommotion/lib/structurefrommotion_c66xdsp_$(PROFILE_c66xdsp_1).ae66
    DSP_ALG_LIBS += $($(MAKEAPPNAME)_PATH)/src/rtos/alg_plugins/surroundview/lib/surroundview_c66xdsp_$(PROFILE_c66xdsp_1).ae66
    DSP_ALG_LIBS += $($(MAKEAPPNAME)_PATH)/src/rtos/alg_plugins/autocalibration/lib/autocalibration_c66xdsp_$(PROFILE_c66xdsp_1).ae66
    DSP_ALG_LIBS += $($(MAKEAPPNAME)_PATH)/src/rtos/alg_plugins/autoremap/lib/autoremap_c66xdsp_$(PRO

  • Hi,

    If you are not using any usecase which include any alg link.

    Then you can exclude these library from build.

    Regards,

    Anuj

  • Hi,

    Its been long since any update on this thread.

    I hope the issue is resolved.

    If not the please reply below or create a new thread for different issue.

    Regards,

    Anuj